[PATCH 3 of 6 stable] hgweb: fix "branches" links in gitweb template

Ross Lagerwall rosslagerwall at gmail.com
Mon Jul 30 05:09:36 CDT 2012


# HG changeset patch
# User Ross Lagerwall <rosslagerwall at gmail.com>
# Date 1343629105 -7200
# Branch stable
# Node ID dee588066c867ced04e2abf65e15bdd580c67152
# Parent  6c3a9629807983a171e694b3d82bd57329eae7a5
hgweb: fix "branches" links in gitweb template

diff --git a/mercurial/templates/gitweb/summary.tmpl b/mercurial/templates/gitweb/summary.tmpl
--- a/mercurial/templates/gitweb/summary.tmpl
+++ b/mercurial/templates/gitweb/summary.tmpl
@@ -56,11 +56,11 @@
 <tr class="light"><td colspan="3"><a class="list" href="{url}bookmarks{sessionvars%urlparameter}">...</a></td></tr>
 </table>
 
-<div><a class="title" href="#">branches</a></div>
+<div><a class="title" href="{url}branches{sessionvars%urlparameter}">branches</a></div>
 <table cellspacing="0">
 {branches%branchentry}
 <tr class="light">
-  <td colspan="4"><a class="list"  href="#">...</a></td>
+  <td colspan="4"><a class="list"  href="{url}branches{sessionvars%urlparameter}">...</a></td>
 </tr>
 </table>
 {footer}


More information about the Mercurial-devel mailing list