mercurial/revset.py
changeset 20448 92f6f2db3cf4
parent 20447 abb91b74f758
child 20449 ad2f1512eaa6
--- a/mercurial/revset.py	Wed Jan 29 09:04:03 2014 -0800
+++ b/mercurial/revset.py	Wed Jan 29 09:22:31 2014 -0800
@@ -347,8 +347,7 @@
     # i18n: "author" is a keyword
     n = encoding.lower(getstring(x, _("author requires a string")))
     kind, pattern, matcher = _substringmatcher(n)
-    return baseset([r for r in subset if
-        matcher(encoding.lower(repo[r].user()))])
+    return lazyset(subset, lambda x: matcher(encoding.lower(repo[x].user())))
 
 def bisect(repo, subset, x):
     """``bisect(string)``