##// END OF EJS Templates
localrepo: also fastpath `nullrev` in __getitem__...
marmoute -
r44145:099e9610 default draft
parent child Browse files
Show More
@@ -1531,7 +1531,7 b' class localrepository(object):'
1531 1531 ]
1532 1532
1533 1533 # dealing with some special values
1534 if changeid == b'null':
1534 if changeid == b'null' or changeid == nullrev:
1535 1535 return context.changectx(self, nullrev, nullid)
1536 1536 if changeid == b'tip':
1537 1537 node = self.changelog.tip()
General Comments 0
You need to be logged in to leave comments. Login now