mercurial/templatekw.py
changeset 28178 96f2d50fb9f6
parent 28177 ab8107c923b4
child 28239 7279e0132347
--- a/mercurial/templatekw.py	Fri Feb 12 18:08:53 2016 +0900
+++ b/mercurial/templatekw.py	Fri Feb 12 18:39:48 2016 +0900
@@ -490,6 +490,7 @@
     """helper to generate a list of revisions in which a mapped template will
     be evaluated"""
     repo = args['ctx'].repo()
+    revs = [str(r) for r in revs]  # ifcontains() needs a list of str
     f = _showlist(name, revs, **args)
     return _hybrid(f, revs,
                    lambda x: {name: x, 'ctx': repo[int(x)], 'revcache': {}})