diff mercurial/logcmdutil.py @ 46714:6f4a481f182a

merge: with stable
author Augie Fackler <augie@google.com>
date Fri, 12 Mar 2021 13:13:13 -0500
parents 3caa3698335e 9842c00f0252
children e2f7b2695ba1
line wrap: on
line diff
--- 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