##// END OF EJS Templates
revlog: obtain the first node at the lowest layer while building pure nodemap...
Yuya Nishihara -
r39177:5f924aa0 default
parent child Browse files
Show More
@@ -1109,7 +1109,8 b' class revlog(object):'
1109 def nodemap(self):
1109 def nodemap(self):
1110 if self.index:
1110 if self.index:
1111 # populate mapping down to the initial node
1111 # populate mapping down to the initial node
1112 self.rev(self.node(0))
1112 node0 = self.index[0][7] # get around changelog filtering
1113 self.rev(node0)
1113 return self._nodecache
1114 return self._nodecache
1114
1115
1115 def hasnode(self, node):
1116 def hasnode(self, node):
General Comments 0
You need to be logged in to leave comments. Login now