##// END OF EJS Templates
remotefilelog: replace matchandpats() by match()...
Martin von Zweigbergk -
r41783:62bf34f7 default
parent child Browse files
Show More
@@ -902,8 +902,7 b' def log(orig, ui, repo, *pats, **opts):'
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():
General Comments 0
You need to be logged in to leave comments. Login now