mercurial/localrepo.py
changeset 43757 998dd6a8fd98
parent 43752 657bdb724b47
child 43758 09409a3fc3cc
--- a/mercurial/localrepo.py	Sun Nov 17 07:11:06 2019 +0100
+++ b/mercurial/localrepo.py	Sun Nov 17 06:36:50 2019 +0100
@@ -1531,7 +1531,7 @@
             ]
 
         # dealing with some special values
-        if changeid == b'null':
+        if changeid == b'null' or changeid == nullrev:
             return context.changectx(self, nullrev, nullid)
         if changeid == b'tip':
             node = self.changelog.tip()