Mercurial > hg
diff templates/fileannotate.tmpl @ 1410:17703aa4491e
hgweb: shorten all the URLs in the standard templates
A URL like this:
http://www.selenic.com/hg/?cmd=changeset;node=5010207c35273ac1331cae44c253dd41fa07cb7f
is now presented as:
http://www.selenic.com/hg/?cs=5010207c352
(though the old style still works, of course)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 18 Oct 2005 23:08:35 -0700 |
parents | 710079d2a821 |
children | 19d2776f1725 |
line wrap: on
line diff
--- a/templates/fileannotate.tmpl Tue Oct 18 23:05:30 2005 -0700 +++ b/templates/fileannotate.tmpl Tue Oct 18 23:08:35 2005 -0700 @@ -4,12 +4,12 @@ <body> <div class="buttons"> -<a href="?cmd=changelog;rev=#rev#">changelog</a> -<a href="?cmd=tags">tags</a> -<a href="?cmd=changeset;node=#node#">changeset</a> -<a href="?cmd=manifest;manifest=#manifest#;path=#path#">manifest</a> -<a href="?cmd=file;file=#file#;filenode=#filenode#">file</a> -<a href="?cmd=filelog;file=#file#;filenode=#filenode#">revisions</a> +<a href="?cl=#rev#">changelog</a> +<a href="?tags=">tags</a> +<a href="?cs=#node|short#">changeset</a> +<a href="?mf=#manifest|short#;path=#path#">manifest</a> +<a href="?f=#filenode|short#;file=#file#">file</a> +<a href="?fl=#filenode|short#;file=#file#">revisions</a> </div> <h2>Annotate #file#</h2> @@ -17,7 +17,7 @@ <table> <tr> <td class="metatag">changeset #rev#:</td> - <td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr> + <td><a href="?cs=#node|short#">#node|short#</a></td></tr> #parent# <tr> <td class="metatag">author:</td>