mercurial/logcmdutil.py
changeset 46675 6f4a481f182a
parent 46498 3caa3698335e
parent 46549 9842c00f0252
child 46794 e2f7b2695ba1
--- a/mercurial/logcmdutil.py	Wed Mar 10 18:24:23 2021 +0100
+++ b/mercurial/logcmdutil.py	Fri Mar 12 13:13:13 2021 -0500
@@ -876,7 +876,7 @@
         # slowpath; otherwise, we can turn off the slowpath
         if slowpath:
             for path in match.files():
-                if path == b'.' or path in repo.store:
+                if not path or path in repo.store:
                     break
             else:
                 slowpath = False