Mercurial > hg > mercurial-crew-with-dirclash
diff templates/changelogentry.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 | 0843e1bf2b97 |
children | 19d2776f1725 |
line wrap: on
line diff
--- a/templates/changelogentry.tmpl +++ b/templates/changelogentry.tmpl @@ -5,7 +5,7 @@ </tr> <tr> <th class="changesetRev">changeset #rev#:</th> - <td class="changesetNode"><a href="?cmd=changeset;node=#node#">#node|short#</a></td> + <td class="changesetNode"><a href="?cs=#node|short#">#node|short#</a></td> </tr> #parent# #changelogtag# @@ -18,7 +18,7 @@ <td class="date">#date|date#</td> </tr> <tr> - <th class="files"><a href="?cmd=manifest;manifest=#manifest#;path=/">files</a>:</th> + <th class="files"><a href="?mf=#manifest|short#;path=/">files</a>:</th> <td class="files">#files#</td> </tr> </table>