mercurial/localrepo.py
changeset 43758 09409a3fc3cc
parent 43757 998dd6a8fd98
child 43761 b38cd2e6e12d
--- a/mercurial/localrepo.py	Sun Nov 17 06:36:50 2019 +0100
+++ b/mercurial/localrepo.py	Sun Nov 17 07:25:14 2019 +0100
@@ -1652,6 +1652,8 @@
         definitions overriding user aliases, set ``localalias`` to
         ``{name: definitionstring}``.
         '''
+        if specs == [b'null']:
+            return revset.baseset([nullrev])
         if user:
             m = revset.matchany(
                 self.ui,