mercurial/revset.py
branchstable
changeset 19706 26ddce1a2a55
parent 18991 c1af1fb314bc
child 19719 2f9d5c5256ea
equal deleted inserted replaced
19648:e90c37d7d48c 19706:26ddce1a2a55
   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])``