--- a/hgext/largefiles/overrides.py Thu Jan 30 20:22:43 2014 -0800
+++ b/hgext/largefiles/overrides.py Tue Feb 11 09:00:38 2014 -0800
@@ -12,7 +12,7 @@
import copy
from mercurial import hg, commands, util, cmdutil, scmutil, match as match_, \
- node, archival, error, merge, discovery, pathutil
+ node, archival, error, merge, discovery, pathutil, revset
from mercurial.i18n import _
from mercurial.node import hex
from hgext import rebase
@@ -752,7 +752,7 @@
firstpulled = repo.firstpulled
except AttributeError:
raise util.Abort(_("pulled() only available in --lfrev"))
- return [r for r in subset if r >= firstpulled]
+ return revset.baseset([r for r in subset if r >= firstpulled])
def overrideclone(orig, ui, source, dest=None, **opts):
d = dest
--- a/hgext/mq.py Thu Jan 30 20:22:43 2014 -0800
+++ b/hgext/mq.py Tue Feb 11 09:00:38 2014 -0800
@@ -3409,7 +3409,7 @@
"""
revset.getargs(x, 0, 0, _("mq takes no arguments"))
applied = set([repo[r.node].rev() for r in repo.mq.applied])
- return [r for r in subset if r in applied]
+ return revset.baseset([r for r in subset if r in applied])
# tell hggettext to extract docstrings from these functions:
i18nfunctions = [revsetmq]
--- a/hgext/transplant.py Thu Jan 30 20:22:43 2014 -0800
+++ b/hgext/transplant.py Tue Feb 11 09:00:38 2014 -0800
@@ -670,7 +670,8 @@
s = revset.getset(repo, subset, x)
else:
s = subset
- return [r for r in s if repo[r].extra().get('transplant_source')]
+ return revset.baseset([r for r in s if
+ repo[r].extra().get('transplant_source')])
def kwtransplanted(repo, ctx, **args):
""":transplanted: String. The node identifier of the transplanted