mercurial/revset.py
changeset 26778 a95c975f42e3
parent 26716 c027641f8a83
child 27028 f92053df8f0b
--- a/mercurial/revset.py	Thu Oct 15 20:36:12 2015 -0400
+++ b/mercurial/revset.py	Wed Oct 14 22:29:03 2015 -0400
@@ -2643,7 +2643,7 @@
             l = getlist(tree[2])
             if len(l) != len(alias.args):
                 raise error.ParseError(
-                    _('invalid number of arguments: %s') % len(l))
+                    _('invalid number of arguments: %d') % len(l))
             l = [_expandaliases(aliases, a, [], cache) for a in l]
             result = _expandargs(result, dict(zip(alias.args, l)))
     else: