##// END OF EJS Templates
incoming: rename variable...
Nicolas Dumazet -
r12729:55f0648c default
parent child Browse files
Show More
@@ -459,12 +459,12 b' def incoming(ui, repo, source, opts):'
459 # use the created uncompressed bundlerepo
459 # use the created uncompressed bundlerepo
460 other = bundlerepo.bundlerepository(ui, repo.root, fname)
460 other = bundlerepo.bundlerepository(ui, repo.root, fname)
461
461
462 o = other.changelog.nodesbetween(incoming, revs)[0]
462 chlist = other.changelog.nodesbetween(incoming, revs)[0]
463 if opts.get('newest_first'):
463 if opts.get('newest_first'):
464 o.reverse()
464 chlist.reverse()
465 displayer = cmdutil.show_changeset(ui, other, opts)
465 displayer = cmdutil.show_changeset(ui, other, opts)
466 count = 0
466 count = 0
467 for n in o:
467 for n in chlist:
468 if limit is not None and count >= limit:
468 if limit is not None and count >= limit:
469 break
469 break
470 parents = [p for p in other.changelog.parents(n) if p != nullid]
470 parents = [p for p in other.changelog.parents(n) if p != nullid]
General Comments 0
You need to be logged in to leave comments. Login now