mercurial/templatefuncs.py
changeset 39367 83f8f7b9fa60
parent 39310 a2a5d4ad5276
child 40189 9458dbfa7f33
--- a/mercurial/templatefuncs.py	Wed Aug 29 18:52:09 2018 +0300
+++ b/mercurial/templatefuncs.py	Sun Aug 05 16:14:18 2018 +0900
@@ -140,7 +140,7 @@
     ctx = context.resource(mapping, 'ctx')
     m = ctx.match([raw])
     files = list(ctx.matches(m))
-    return templateutil.compatlist(context, mapping, "file", files)
+    return templateutil.compatfileslist(context, mapping, "file", files)
 
 @templatefunc('fill(text[, width[, initialident[, hangindent]]])')
 def fill(context, mapping, args):