mercurial/scmutil.py
changeset 17675 8575f4a2126e
parent 17649 f65c6a5f256c
child 17681 a41fd730f230
--- a/mercurial/scmutil.py	Mon Sep 03 14:19:45 2012 +0200
+++ b/mercurial/scmutil.py	Thu Sep 20 19:01:53 2012 +0200
@@ -631,7 +631,7 @@
 
         # fall through to new-style queries if old-style fails
         m = revset.match(repo.ui, spec)
-        dl = [r for r in m(repo, xrange(len(repo))) if r not in seen]
+        dl = [r for r in m(repo, list(repo)) if r not in seen]
         l.extend(dl)
         seen.update(dl)