Add parent revision numbers back to hgweb
authormpm@selenic.com
Fri, 01 Jul 2005 14:43:36 -0800
changeset 567 87f37e61d0db
parent 566 b2c9b36bd639
child 568 e8fd41110dce
Add parent revision numbers back to hgweb -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Add parent revision numbers back to hgweb From: Goffredo Baroncelli <kreijack@libero.it> manifest hash: 9f81492df935e94e7c544b071aa9caac3b102190 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCxccYywK+sNU5EO8RAkW7AJ9aXTUZ9JnbZMrxCrcuXozYzkdw/gCfT8IO qnqe966Mvapr2jULeXldQW4= =XiV5 -----END PGP SIGNATURE-----
TODO
templates/map
--- a/TODO	Fri Jul 01 14:34:31 2005 -0800
+++ b/TODO	Fri Jul 01 14:43:36 2005 -0800
@@ -31,7 +31,6 @@
 
 Web:
 - show tags in hgweb
-- show parent changeset number in hgweb
 - optionally only show merges (two parents or parent != changeset-1, etc.)
 - one hgweb with many repos (another script)
 - hgweb tip link too verbose
--- a/templates/map	Fri Jul 01 14:34:31 2005 -0800
+++ b/templates/map	Fri Jul 01 14:43:36 2005 -0800
@@ -23,8 +23,8 @@
 difflineminus = "<span class="minusline">#line|escape#</span>"
 difflineat = "<span class="atline">#line|escape#</span>"
 diffline = "#line|escape#"
-changelogparent = "<tr><td align="right">parent:&nbsp;</td><td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>"
-changesetparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>"
+changelogparent = "<tr><td align="right">parent #rev#:&nbsp;</td><td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>"
+changesetparent = "<tr><td class="metatag">parent #rev#:</td><td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>"
 filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=file;file=#file#;filenode=#node#">#node|short#</a></td></tr>"
 fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=annotate;file=#file#;filenode=#node#">#node|short#</a></td></tr>"
 tags = tags.tmpl