diff mercurial/revset.py @ 20443:b68984d288d4

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.
author Lucas Moscovicz <lmoscovicz@fb.com>
date Tue, 28 Jan 2014 15:19:14 -0800
parents f5b560c60bcd
children 507261c0914f
line wrap: on
line diff
--- 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()