# HG changeset patch # User Matt Mackall # Date 2011-03-26 22:12:02 # Node ID 10aea25fb519e4b77e5f49620a8ea2890b33aa73 # Parent 0f9282dc87f8e2ac5f0ad988cb556657d65127c1 revlog: change variable name to avoid reuse diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -1087,8 +1087,8 @@ class revlog(object): 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: