templater: remove support for ## template variables
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Thu, 20 Aug 2009 10:41:56 +0200
changeset 9372 2484868cffde
parent 9371 571a7acb4544
child 9373 b34184c046ac
templater: remove support for ## template variables
mercurial/templater.py
--- a/mercurial/templater.py	Thu Aug 20 08:49:01 2009 +0200
+++ b/mercurial/templater.py	Thu Aug 20 10:41:56 2009 +0200
@@ -42,7 +42,7 @@
     filter uses function to transform value. syntax is
     {key|filter1|filter2|...}.'''
 
-    template_re = re.compile(r'{([\w\|%]+)}|#([\w\|%]+)#')
+    template_re = re.compile(r'{([\w\|%]+)}')
 
     def __init__(self, loader, filters={}, defaults={}):
         self.loader = loader