revset: added lazyset implementation to converted revset

This commit is contained in:
Lucas Moscovicz 2014-02-06 08:32:40 -08:00
parent a871b2cef1
commit 1d43685667

View File

@ -571,7 +571,7 @@ def converted(repo, subset, x):
source = repo[r].extra().get('convert_revision', None)
return source is not None and (rev is None or source.startswith(rev))
return baseset([r for r in subset if _matchvalue(r)])
return lazyset(subset, lambda r: _matchvalue(r))
def date(repo, subset, x):
"""``date(interval)``