author | Lucas Moscovicz <lmoscovicz@fb.com> |
Tue, 04 Feb 2014 09:29:19 -0800 | |
changeset 20460 | 3a88d0d0c6b6 |
parent 20459 | 51890507c6b3 |
child 20461 | abd8e56a1038 |
--- a/mercurial/revset.py Tue Feb 04 09:14:45 2014 -0800 +++ b/mercurial/revset.py Tue Feb 04 09:29:19 2014 -0800 @@ -1401,7 +1401,7 @@ # i18n: "secret" is a keyword getargs(x, 0, 0, _("secret takes no arguments")) pc = repo._phasecache - return baseset([r for r in subset if pc.phase(repo, r) == phases.secret]) + return lazyset(subset, lambda x: pc.phase(repo, x) == phases.secret) def sort(repo, subset, x): """``sort(set[, [-]key...])``