equal
deleted
inserted
replaced
908 # i18n: "keyword" is a keyword |
908 # i18n: "keyword" is a keyword |
909 kw = encoding.lower(getstring(x, _("keyword requires a string"))) |
909 kw = encoding.lower(getstring(x, _("keyword requires a string"))) |
910 l = [] |
910 l = [] |
911 for r in subset: |
911 for r in subset: |
912 c = repo[r] |
912 c = repo[r] |
913 t = " ".join(c.files() + [c.user(), c.description()]) |
913 if util.any(kw in encoding.lower(t) |
914 if kw in encoding.lower(t): |
914 for t in c.files() + [c.user(), c.description()]): |
915 l.append(r) |
915 l.append(r) |
916 return l |
916 return l |
917 |
917 |
918 def limit(repo, subset, x): |
918 def limit(repo, subset, x): |
919 """``limit(set, [n])`` |
919 """``limit(set, [n])`` |