equal
deleted
inserted
replaced
219 |
219 |
220 return False |
220 return False |
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]) |
228 for x in range(rev, stop-1, -1): |
228 for x in range(rev, stop-1, -1): |
229 if ff.match(x) and wanted.has_key(x): |
229 if ff.match(x) and wanted.has_key(x): |