##// END OF EJS Templates
cmdutil: use context instead of lookup
Matt Mackall -
r16380:84ba30e8 default
parent child Browse files
Show More
@@ -1150,7 +1150,7 b' def walkchangerevs(repo, match, opts, pr'
1150 # it might be worthwhile to do this in the iterator if the rev range
1150 # it might be worthwhile to do this in the iterator if the rev range
1151 # is descending and the prune args are all within that range
1151 # is descending and the prune args are all within that range
1152 for rev in opts.get('prune', ()):
1152 for rev in opts.get('prune', ()):
1153 rev = repo.changelog.rev(repo.lookup(rev))
1153 rev = repo[rev].rev()
1154 ff = followfilter()
1154 ff = followfilter()
1155 stop = min(revs[0], revs[-1])
1155 stop = min(revs[0], revs[-1])
1156 for x in xrange(rev, stop - 1, -1):
1156 for x in xrange(rev, stop - 1, -1):
General Comments 0
You need to be logged in to leave comments. Login now