diff mercurial/dagutil.py @ 15052:06c3667c259c stable

dagutil: fix off-by-one in inverserevlogdag buildup
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Thu, 25 Aug 2011 17:20:00 +0200
parents 1679d73c9464
children e34106fa0dc3
line wrap: on
line diff
--- 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)