mercurial/localrepo.py
changeset 20364 a6cf48b2880d
parent 20345 8567b4ea76ac
child 20380 c697b70f295f
--- a/mercurial/localrepo.py	Mon Feb 03 21:34:13 2014 +0100
+++ b/mercurial/localrepo.py	Tue Jan 21 11:39:26 2014 -0800
@@ -428,7 +428,7 @@
         '''Return a list of revisions matching the given revset'''
         expr = revset.formatspec(expr, *args)
         m = revset.match(None, expr)
-        return [r for r in m(self, list(self))]
+        return revset.baseset([r for r in m(self, revset.baseset(self))])
 
     def set(self, expr, *args):
         '''