# HG changeset patch # User Nicolas Dumazet # Date 2010-10-14 19:37:00 # Node ID 55f0648c7e2d4da5a0bf91e85cee5f203a4745cb # Parent 80a3d1121c106fd972fa84423f55b2ce2e9407c9 incoming: rename variable Groundwork so that incoming and graphlog.incoming code look the same and get easier to unify. diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -459,12 +459,12 @@ def incoming(ui, repo, source, opts): # 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]