changeset 9372:2484868cffde

templater: remove support for ## template variables
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Thu, 20 Aug 2009 10:41:56 +0200
parents 571a7acb4544
children b34184c046ac
files mercurial/templater.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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