equal
deleted
inserted
replaced
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 |