revlog: change variable name to avoid reuse
authorMatt Mackall <mpm@selenic.com>
Sat, 26 Mar 2011 17:12:02 -0500
changeset 13768 10aea25fb519
parent 13767 0f9282dc87f8
child 13769 8796fb6af67e
revlog: change variable name to avoid reuse
mercurial/revlog.py
--- a/mercurial/revlog.py	Sat Mar 26 10:59:33 2011 +0100
+++ b/mercurial/revlog.py	Sat Mar 26 17:12:02 2011 -0500
@@ -1087,8 +1087,8 @@
             fullrev = True
 
         # build deltas
-        for d in xrange(len(revs) - 1):
-            a, b = revs[d], revs[d + 1]
+        for r in xrange(len(revs) - 1):
+            a, b = revs[r], revs[r + 1]
             nb = self.node(b)
 
             if infocollect is not None: