changeset 12729:55f0648c7e2d

incoming: rename variable Groundwork so that incoming and graphlog.incoming code look the same and get easier to unify.
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Thu, 14 Oct 2010 21:37:00 +0200
parents 80a3d1121c10
children 33e1fd2aeb3c
files mercurial/hg.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hg.py	Thu Oct 14 01:28:29 2010 +0200
+++ b/mercurial/hg.py	Thu Oct 14 21:37:00 2010 +0200
@@ -459,12 +459,12 @@
                 # use the created uncompressed bundlerepo
                 other = bundlerepo.bundlerepository(ui, repo.root, fname)
 
-        o = other.changelog.nodesbetween(incoming, revs)[0]
+        chlist = other.changelog.nodesbetween(incoming, revs)[0]
         if opts.get('newest_first'):
-            o.reverse()
+            chlist.reverse()
         displayer = cmdutil.show_changeset(ui, other, opts)
         count = 0
-        for n in o:
+        for n in chlist:
             if limit is not None and count >= limit:
                 break
             parents = [p for p in other.changelog.parents(n) if p != nullid]