##// 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 # i18n: "author" is a keyword
347 # i18n: "author" is a keyword
348 n = encoding.lower(getstring(x, _("author requires a string")))
348 n = encoding.lower(getstring(x, _("author requires a string")))
349 kind, pattern, matcher = _substringmatcher(n)
349 kind, pattern, matcher = _substringmatcher(n)
350 return baseset([r for r in subset if
350 return lazyset(subset, lambda x: matcher(encoding.lower(repo[x].user())))
351 matcher(encoding.lower(repo[r].user()))])
352
351
353 def bisect(repo, subset, x):
352 def bisect(repo, subset, x):
354 """``bisect(string)``
353 """``bisect(string)``
General Comments 0
You need to be logged in to leave comments. Login now