hgext/remotefilelog/__init__.py
changeset 41634 62bf34f70fe8
parent 41248 312afd164009
child 41781 e9b9ee9af4a9
equal deleted inserted replaced
41633:7b1b0415f8e5 41634:62bf34f70fe8
   900             opts[r'removed'] = True
   900             opts[r'removed'] = True
   901 
   901 
   902         # If this is a non-follow log without any revs specified, recommend that
   902         # If this is a non-follow log without any revs specified, recommend that
   903         # the user add -f to speed it up.
   903         # the user add -f to speed it up.
   904         if not follow and not revs:
   904         if not follow and not revs:
   905             match, pats = scmutil.matchandpats(repo['.'], pats,
   905             match = scmutil.match(repo['.'], pats, pycompat.byteskwargs(opts))
   906                                                pycompat.byteskwargs(opts))
       
   907             isfile = not match.anypats()
   906             isfile = not match.anypats()
   908             if isfile:
   907             if isfile:
   909                 for file in match.files():
   908                 for file in match.files():
   910                     if not os.path.isfile(repo.wjoin(file)):
   909                     if not os.path.isfile(repo.wjoin(file)):
   911                         isfile = False
   910                         isfile = False