equal
deleted
inserted
replaced
874 # of the paths was not a file. Check to see if at least one of them |
874 # of the paths was not a file. Check to see if at least one of them |
875 # existed in history - in that case, we'll continue down the |
875 # existed in history - in that case, we'll continue down the |
876 # slowpath; otherwise, we can turn off the slowpath |
876 # slowpath; otherwise, we can turn off the slowpath |
877 if slowpath: |
877 if slowpath: |
878 for path in match.files(): |
878 for path in match.files(): |
879 if path == b'.' or path in repo.store: |
879 if not path or path in repo.store: |
880 break |
880 break |
881 else: |
881 else: |
882 slowpath = False |
882 slowpath = False |
883 |
883 |
884 return match, pats, slowpath |
884 return match, pats, slowpath |