[PATCH 2 of 3] hbisect: more consistent variable name

Alexander Krauss krauss at in.tum.de
Sat Jul 16 17:40:41 CDT 2011


# HG changeset patch
# User Alexander Krauss <krauss at in.tum.de>
# Date 1310855731 -7200
# Node ID ea77013085cbf33d8e89e60fdffd5558df714d93
# Parent  ed7dba2c073f790d49079f79a09fc7358a340d29
hbisect: more consistent variable name

diff -r ed7dba2c073f -r ea77013085cb mercurial/hbisect.py
--- a/mercurial/hbisect.py	Sat Jul 16 12:22:40 2011 +0200
+++ b/mercurial/hbisect.py	Sun Jul 17 00:35:31 2011 +0200
@@ -43,8 +43,8 @@
                     ancestors[rev] = []
 
         # clear good revs from array
-        for node in goodrevs:
-            ancestors[node] = None
+        for rev in goodrevs:
+            ancestors[rev] = None
         for rev in xrange(len(changelog), goodrev, -1):
             if ancestors[rev] is None:
                 for prev in clparents(rev):


More information about the Mercurial-devel mailing list