[PATCH 3 of 3 V3] hgweb, spartan: add link from manifest title to the corresponding changeset page

Angel Ezquerra angel.ezquerra at gmail.com
Thu Dec 20 19:44:19 CST 2012


# HG changeset patch
# User Angel Ezquerra <angel.ezquerra at gmail.com>
# Date 1356054067 -3600
# Node ID 19c5364e7aab21a0faaf0217f9b82bc0ac325e8f
# Parent  6b19de868eab834c5a2ed282c09f36d83077560e
hgweb, spartan: add link from manifest title to the corresponding changeset page

diff --git a/mercurial/templates/spartan/manifest.tmpl b/mercurial/templates/spartan/manifest.tmpl
--- a/mercurial/templates/spartan/manifest.tmpl
+++ b/mercurial/templates/spartan/manifest.tmpl
@@ -14,7 +14,7 @@
 <a href="{url}help{sessionvars%urlparameter}">help</a>
 </div>
 
-<h2>{pathdef%breadcrumb} / files for changeset {node|short}: {path|escape}</h2>
+<h2>{pathdef%breadcrumb} / files for changeset <a href="{url}rev/{node|short}">{node|short}</a>: {path|escape}</h2>
 
 <table cellpadding="0" cellspacing="0">
 <tr class="parity{upparity}">


More information about the Mercurial-devel mailing list