diff mercurial/templates/gitweb/map @ 24128:7ba4d53ed7d8

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.
author Anton Shestakov <engored@ya.ru>
date Sat, 10 Jan 2015 19:43:07 +0800
parents d1933c2e3c8c
children 09ec4220a839
line wrap: on
line diff
--- 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>'