##// 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 1150 # it might be worthwhile to do this in the iterator if the rev range
1151 1151 # is descending and the prune args are all within that range
1152 1152 for rev in opts.get('prune', ()):
1153 rev = repo.changelog.rev(repo.lookup(rev))
1153 rev = repo[rev].rev()
1154 1154 ff = followfilter()
1155 1155 stop = min(revs[0], revs[-1])
1156 1156 for x in xrange(rev, stop - 1, -1):
General Comments 0
You need to be logged in to leave comments. Login now