revset: changed getset so that it can return a lazyset
authorLucas Moscovicz <lmoscovicz@fb.com>
Tue, 28 Jan 2014 15:19:14 -0800
changeset 20443 b68984d288d4
parent 20442 8524cdf66a12
child 20444 1478a9ce6790
revset: changed getset so that it can return a lazyset Not converting it manually to a baseset anymore. At this point every revset method should return a baseset typed structure.
mercurial/revset.py
--- a/mercurial/revset.py	Tue Feb 11 09:00:38 2014 -0800
+++ b/mercurial/revset.py	Tue Jan 28 15:19:14 2014 -0800
@@ -195,7 +195,7 @@
 def getset(repo, subset, x):
     if not x:
         raise error.ParseError(_("missing argument"))
-    return baseset(methods[x[0]](repo, subset, *x[1:]))
+    return methods[x[0]](repo, subset, *x[1:])
 
 def _getrevsource(repo, r):
     extra = repo[r].extra()