templater: fix escaping in nested string literals (issue4102)
Before the templater got extended for nested expressions, it made sense to decode string escapes across the whole string. Now we do it on a piece by piece basis.
Showing
- mercurial/cmdutil.py 1 addition, 3 deletionsmercurial/cmdutil.py
- mercurial/templater.py 5 additions, 5 deletionsmercurial/templater.py
- mercurial/templates/paper/shortlog.tmpl 2 additions, 2 deletionsmercurial/templates/paper/shortlog.tmpl
- tests/test-command-template.t 8 additions, 0 deletionstests/test-command-template.t
Loading
Please register or sign in to comment