mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
revset: added lazyset implementation to converted revset
This commit is contained in:
parent
a871b2cef1
commit
1d43685667
@ -571,7 +571,7 @@ def converted(repo, subset, x):
|
|||||||
source = repo[r].extra().get('convert_revision', None)
|
source = repo[r].extra().get('convert_revision', None)
|
||||||
return source is not None and (rev is None or source.startswith(rev))
|
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):
|
def date(repo, subset, x):
|
||||||
"""``date(interval)``
|
"""``date(interval)``
|
||||||
|
Loading…
Reference in New Issue
Block a user