diff mercurial/commands.py @ 22634:e48a5d3996c2

templater: introduce templatepaths for getting paths searched for templates Avoid function with different return types depending on parameters.
author Mads Kiilerich <madski@unity3d.com>
date Sun, 28 Sep 2014 16:57:37 +0200
parents fb74a5833467
children 79c4178b2169
line wrap: on
line diff
--- a/mercurial/commands.py	Sun Sep 28 16:57:06 2014 +0200
+++ b/mercurial/commands.py	Sun Sep 28 16:57:37 2014 +0200
@@ -2256,7 +2256,7 @@
 
     # templates
     import templater
-    p = templater.templatepath()
+    p = templater.templatepaths()
     ui.status(_("checking templates (%s)...\n") % ' '.join(p))
     if p:
         m = templater.templatepath("map-cmdline.default")