[PATCH 1/2] Permit to hgweb to show the tags: template changes
Goffredo Baroncelli
kreijack at libero.it
Fri Jul 1 16:10:53 CDT 2005
On Friday 01 July 2005 22:02, you (Matt Mackall) wrote:
> On Fri, Jul 01, 2005 at 09:17:15PM +0200, Goffredo Baroncelli wrote:
> > Hi, the patch below permits to hgweb to show tags and the parent changeset numbers in
> > the changelog/changeset page.
>
> You should change this to use repo.nodetags().
>
> And the other piece should be a separate patch.
# HG changeset patch
# User ghigo at therra.bhome
# Node ID 2acce27d21fd38c25ce0b055e7ee62964f4b54f1
# Parent 07973bcaf62785851052248cba2a6ab133a533ee
[PATCH 1/2] Permit to hgweb to show the tags: template changes
diff -r 07973bcaf627 -r 2acce27d21fd templates/changeset.tmpl
--- a/templates/changeset.tmpl Fri Jul 1 20:32:44 2005
+++ b/templates/changeset.tmpl Fri Jul 1 20:47:10 2005
@@ -18,6 +18,7 @@
<td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>
#parent1#
#parent2#
+#changesettag#
<tr>
<td class="metatag">manifest:</td>
<td><a href="?cmd=manifest;manifest=#manifest#;path=/">#manifest|short#</a></td></tr>
diff -r 07973bcaf627 -r 2acce27d21fd templates/map
--- a/templates/map Fri Jul 1 20:32:44 2005
+++ b/templates/map Fri Jul 1 20:47:10 2005
@@ -30,3 +30,5 @@
tags = tags.tmpl
tagentry = "<div class="parity#parity#"><tt>#node#</tt> <a href="?cmd=changeset;node=#node#">#tag#</a><br /></div>"
diffblock = "<div class="parity#parity#">#lines#</div>"
+changelogtag = "<tr><td align="right">tag: </td><td>#tag#</td></tr>"
+changesettag = "<tr><td class="metatag">tag: </td><td>#tag#</td></tr>"
diff -r 07973bcaf627 -r 2acce27d21fd templates/changelogentry.tmpl
--- a/templates/changelogentry.tmpl Fri Jul 1 20:32:44 2005
+++ b/templates/changelogentry.tmpl Fri Jul 1 20:47:10 2005
@@ -8,6 +8,7 @@
<td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>
#parent1#
#parent2#
+#changelogtag#
<tr>
<td align="right">author: </td>
<td>#author|obfuscate#</td></tr>
diff -r 07973bcaf627 -r 2acce27d21fd templates/searchentry.tmpl
--- a/templates/searchentry.tmpl Fri Jul 1 20:32:44 2005
+++ b/templates/searchentry.tmpl Fri Jul 1 20:47:10 2005
@@ -8,6 +8,7 @@
<td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>
#parent1#
#parent2#
+#changelogtag#
<tr>
<td align="right">author: </td>
<td>#author|obfuscate#</td></tr>
--
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack AT inwind DOT it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87 87C0 BB86 505C 6B2A CFF9
More information about the Mercurial
mailing list