##// END OF EJS Templates
dagutil: fix off-by-one in inverserevlogdag buildup
Peter Arrenbrecht -
r15052:06c3667c stable
parent child Browse files
Show More
@@ -260,7 +260,7 b' class inverserevlogdag(revlogbaseddag, g'
260 if isroot:
260 if isroot:
261 roots.append(rev)
261 roots.append(rev)
262 rev -= 1
262 rev -= 1
263 self._walkfrom = rev - 1
263 self._walkfrom = rev
264
264
265 def _getheads(self):
265 def _getheads(self):
266 self._walkto(nullrev)
266 self._walkto(nullrev)
@@ -260,7 +260,7 b' Both many new on top of long history:'
260 query 2; still undecided: 1029, sample size is: 11
260 query 2; still undecided: 1029, sample size is: 11
261 sampling from both directions
261 sampling from both directions
262 searching: 3 queries
262 searching: 3 queries
263 query 3; still undecided: 16, sample size is: 16
263 query 3; still undecided: 15, sample size is: 15
264 3 total queries
264 3 total queries
265 common heads: 7ead0cba2838
265 common heads: 7ead0cba2838
266
266
General Comments 0
You need to be logged in to leave comments. Login now