--- a/mercurial/cmdutil.py Tue Jul 20 15:07:10 2010 -0500
+++ b/mercurial/cmdutil.py Tue Jul 20 14:13:33 2010 +0900
@@ -1106,15 +1106,7 @@
'filenames'))
# The slow path checks files modified in every changeset.
- if opts.get('removed'):
- # --removed wants to yield the changes where the file
- # was removed, this means that we have to explore all
- # changesets, effectively ignoring the revisions that
- # had been passed as arguments
- revlist = xrange(nullrev, len(repo) - 1)
- else:
- revlist = sorted(revs)
- for i in revlist:
+ for i in sorted(revs):
ctx = change(i)
matches = filter(match, ctx.files())
if matches: