Mercurial > hg
changeset 20481:a5d7081a4c34
revset: added lazyset implementation to extra revset
author | Lucas Moscovicz <lmoscovicz@fb.com> |
---|---|
date | Thu, 06 Feb 2014 08:36:11 -0800 |
parents | ada89e5b5b0c |
children | a979078bd788 |
files | mercurial/revset.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revset.py Thu Feb 06 08:32:40 2014 -0800 +++ b/mercurial/revset.py Thu Feb 06 08:36:11 2014 -0800 @@ -708,7 +708,7 @@ extra = repo[r].extra() return label in extra and (value is None or matcher(extra[label])) - return baseset([r for r in subset if _matchvalue(r)]) + return lazyset(subset, lambda r: _matchvalue(r)) def filelog(repo, subset, x): """``filelog(pattern)``