Mercurial > hg
changeset 16425:70bf4dc52c91
changegroup: optimize gennodelist
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 13 Apr 2012 22:55:46 -0500 |
parents | ff63d71ac8ab |
children | b50fee9a2dad |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Fri Apr 13 22:55:46 2012 -0500 +++ b/mercurial/localrepo.py Fri Apr 13 22:55:46 2012 -0500 @@ -1944,7 +1944,9 @@ revset = set([cl.rev(n) for n in nodes]) def gennodelst(log): - return [log.node(r) for r in log if log.linkrev(r) in revset] + ln, llr = log.node, log.linkrev + return [ln(r) for r in log if llr(r) in revset] + progress = self.ui.progress _bundling = _('bundling') _changesets = _('changesets')