mercurial/logcmdutil.py
changeset 46714 6f4a481f182a
parent 46550 3caa3698335e
parent 46378 9842c00f0252
child 46796 e2f7b2695ba1
equal deleted inserted replaced
46713:79cfe18c20b5 46714:6f4a481f182a
   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