Mercurial > hg
diff hgext/mq.py @ 31023:aea06029919e
revset: import set classes directly from smartset module
Follows up 1be65deb3d54.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 19 Feb 2017 18:16:09 +0900 |
parents | 5fbf1da938a6 |
children | 0b8356705de6 |
line wrap: on
line diff
--- a/hgext/mq.py Sat Feb 18 18:00:01 2017 +0900 +++ b/hgext/mq.py Sun Feb 19 18:16:09 2017 +0900 @@ -91,6 +91,7 @@ registrar, revset, scmutil, + smartset, subrepo, util, ) @@ -3569,7 +3570,7 @@ """ revset.getargs(x, 0, 0, _("mq takes no arguments")) applied = set([repo[r.node].rev() for r in repo.mq.applied]) - return revset.baseset([r for r in subset if r in applied]) + return smartset.baseset([r for r in subset if r in applied]) # tell hggettext to extract docstrings from these functions: i18nfunctions = [revsetmq]