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