##// END OF EJS Templates
A fix for --prune.
Brendan Cully -
r2911:02e239bb default
parent child Browse files
Show More
@@ -221,7 +221,7 b' def walkchangerevs(ui, repo, pats, opts)'
221
221
222 # it might be worthwhile to do this in the iterator if the rev range
222 # it might be worthwhile to do this in the iterator if the rev range
223 # is descending and the prune args are all within that range
223 # is descending and the prune args are all within that range
224 for rev in opts.get('prune'):
224 for rev in opts.get('prune', ()):
225 rev = repo.changelog.rev(repo.lookup(rev))
225 rev = repo.changelog.rev(repo.lookup(rev))
226 ff = followfilter()
226 ff = followfilter()
227 stop = min(revs[0], revs[-1])
227 stop = min(revs[0], revs[-1])
General Comments 0
You need to be logged in to leave comments. Login now