equal
deleted
inserted
replaced
843 # of the paths was not a file. Check to see if at least one of them |
843 # of the paths was not a file. Check to see if at least one of them |
844 # existed in history - in that case, we'll continue down the |
844 # existed in history - in that case, we'll continue down the |
845 # slowpath; otherwise, we can turn off the slowpath |
845 # slowpath; otherwise, we can turn off the slowpath |
846 if slowpath: |
846 if slowpath: |
847 for path in match.files(): |
847 for path in match.files(): |
848 if path == b'.' or path in repo.store: |
848 if not path or path in repo.store: |
849 break |
849 break |
850 else: |
850 else: |
851 slowpath = False |
851 slowpath = False |
852 |
852 |
853 return match, pats, slowpath |
853 return match, pats, slowpath |