mercurial/templater.py
changeset 32037 e5eab0fe69ee
parent 31928 277b3e2d711b
child 32154 52e222eef646
equal deleted inserted replaced
32036:8bcc8c9b4e9f 32037:e5eab0fe69ee
   593 
   593 
   594     raw = evalstring(context, mapping, args[0])
   594     raw = evalstring(context, mapping, args[0])
   595     ctx = mapping['ctx']
   595     ctx = mapping['ctx']
   596     m = ctx.match([raw])
   596     m = ctx.match([raw])
   597     files = list(ctx.matches(m))
   597     files = list(ctx.matches(m))
   598     return templatekw.showlist("file", files, **mapping)
   598     return templatekw.showlist("file", files, mapping)
   599 
   599 
   600 @templatefunc('fill(text[, width[, initialident[, hangindent]]])')
   600 @templatefunc('fill(text[, width[, initialident[, hangindent]]])')
   601 def fill(context, mapping, args):
   601 def fill(context, mapping, args):
   602     """Fill many
   602     """Fill many
   603     paragraphs with optional indentation. See the "fill" filter."""
   603     paragraphs with optional indentation. See the "fill" filter."""