changeset 20480:ada89e5b5b0c

revset: added lazyset implementation to converted revset
author Lucas Moscovicz <lmoscovicz@fb.com>
date Thu, 06 Feb 2014 08:32:40 -0800
parents c38e5556d87b
children a5d7081a4c34
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:31:55 2014 -0800
+++ b/mercurial/revset.py	Thu Feb 06 08:32:40 2014 -0800
@@ -571,7 +571,7 @@
         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)``