##// END OF EJS Templates
changegroup: optimize gennodelist
Matt Mackall -
r16425:70bf4dc5 default
parent child Browse files
Show More
@@ -1944,7 +1944,9 b' class localrepository(repo.repository):'
1944 revset = set([cl.rev(n) for n in nodes])
1944 revset = set([cl.rev(n) for n in nodes])
1945
1945
1946 def gennodelst(log):
1946 def gennodelst(log):
1947 return [log.node(r) for r in log if log.linkrev(r) in revset]
1947 ln, llr = log.node, log.linkrev
1948 return [ln(r) for r in log if llr(r) in revset]
1949
1948 progress = self.ui.progress
1950 progress = self.ui.progress
1949 _bundling = _('bundling')
1951 _bundling = _('bundling')
1950 _changesets = _('changesets')
1952 _changesets = _('changesets')
General Comments 0
You need to be logged in to leave comments. Login now