mercurial/templater.py
changeset 20860 81d6dc8c3c63
parent 20670 0084fcd5d7e2
parent 20857 6eb55310fcbc
child 21540 d8fb835376d1
--- a/mercurial/templater.py	Tue Mar 18 14:29:33 2014 -0700
+++ b/mercurial/templater.py	Mon Mar 31 10:12:07 2014 -0500
@@ -212,6 +212,7 @@
             raise error.ParseError(_("filter %s expects one argument") % n)
         f = context._filters[n]
         return (runfilter, (args[0][0], args[0][1], f))
+    raise error.ParseError(_("unknown function '%s'") % n)
 
 def date(context, mapping, args):
     if not (1 <= len(args) <= 2):