changeset 13768:10aea25fb519

revlog: change variable name to avoid reuse
author Matt Mackall <mpm@selenic.com>
date Sat, 26 Mar 2011 17:12:02 -0500
parents 0f9282dc87f8
children 8796fb6af67e
files mercurial/revlog.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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: