##// END OF EJS Templates
revset: added lazyset implementation to author revset...
Lucas Moscovicz -
r20448:92f6f2db default
parent child Browse files
Show More
@@ -347,8 +347,7 b' def author(repo, subset, x):'
347 347 # i18n: "author" is a keyword
348 348 n = encoding.lower(getstring(x, _("author requires a string")))
349 349 kind, pattern, matcher = _substringmatcher(n)
350 return baseset([r for r in subset if
351 matcher(encoding.lower(repo[r].user()))])
350 return lazyset(subset, lambda x: matcher(encoding.lower(repo[x].user())))
352 351
353 352 def bisect(repo, subset, x):
354 353 """``bisect(string)``
General Comments 0
You need to be logged in to leave comments. Login now