--- a/mercurial/dagutil.py Fri Aug 19 10:05:23 2011 -0300
+++ b/mercurial/dagutil.py Thu Aug 25 17:20:00 2011 +0200
@@ -260,7 +260,7 @@
if isroot:
roots.append(rev)
rev -= 1
- self._walkfrom = rev - 1
+ self._walkfrom = rev
def _getheads(self):
self._walkto(nullrev)
--- a/tests/test-setdiscovery.t Fri Aug 19 10:05:23 2011 -0300
+++ b/tests/test-setdiscovery.t Thu Aug 25 17:20:00 2011 +0200
@@ -260,7 +260,7 @@
query 2; still undecided: 1029, sample size is: 11
sampling from both directions
searching: 3 queries
- query 3; still undecided: 16, sample size is: 16
+ query 3; still undecided: 15, sample size is: 15
3 total queries
common heads: 7ead0cba2838