branch | stable |
changeset 46549 | 9842c00f0252 |
parent 46042 | 1bf2b44c4007 |
child 46675 | 6f4a481f182a |
child 46682 | 8f8fce2dd594 |
--- a/mercurial/logcmdutil.py Thu Feb 25 15:18:00 2021 +0530 +++ b/mercurial/logcmdutil.py Tue Feb 02 20:20:17 2021 +0900 @@ -845,7 +845,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