Mercurial > hg
diff mercurial/templater.py @ 9372:2484868cffde
templater: remove support for ## template variables
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Thu, 20 Aug 2009 10:41:56 +0200 |
parents | 110763cc3ab0 |
children | d3dbdca92458 |
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