changeset 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 8524cdf66a12
children 1478a9ce6790
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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()