hgweb: remove unneeded escaping in gitweb/map and monoblue/map
Elements in map files work slightly different from regular python strings, so
escaping single quotes is not necessary. It is also demonstrated by the very
same lines: '(current diff)'.
I should've made this in
9e1f4c65f5f5, but here we go.
--- a/mercurial/templates/gitweb/map Wed Feb 11 13:59:13 2015 +0900
+++ b/mercurial/templates/gitweb/map Sat Jan 10 19:43:07 2015 +0800
@@ -140,7 +140,7 @@
<tr>
<td>parent {rev}</td>
<td style="font-family:monospace">
- {changesetlink} {ifeq(node, basenode, '(current diff)', \'({difffrom})\')}
+ {changesetlink} {ifeq(node, basenode, '(current diff)', '({difffrom})')}
</td>
</tr>'
difffrom = '<a href="{url|urlescape}rev/{node|short}:{originalnode|short}{sessionvars%urlparameter}">diff</a>'
--- a/mercurial/templates/monoblue/map Wed Feb 11 13:59:13 2015 +0900
+++ b/mercurial/templates/monoblue/map Sat Jan 10 19:43:07 2015 +0800
@@ -129,7 +129,7 @@
<dd>{changesetlink}</dd>'
changesetparentdiff = '
<dt>parent {rev}</dt>
- <dd>{changesetlink} {ifeq(node, basenode, '(current diff)', \'({difffrom})\')}</dd>'
+ <dd>{changesetlink} {ifeq(node, basenode, '(current diff)', '({difffrom})')}</dd>'
difffrom = '<a href="{url|urlescape}rev/{node|short}:{originalnode|short}{sessionvars%urlparameter}">diff</a>'
filerevbranch = '<dt>branch</dt><dd>{name|escape}</dd>'
filerevparent = '