Mercurial > hg
comparison templates/filerevision.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 | e2ba788545bf |
comparison
equal
deleted
inserted
replaced
1409:964baa35faf8 | 1410:17703aa4491e |
---|---|
2 <title>#repo|escape#:#file#</title> | 2 <title>#repo|escape#:#file#</title> |
3 </head> | 3 </head> |
4 <body> | 4 <body> |
5 | 5 |
6 <div class="buttons"> | 6 <div class="buttons"> |
7 <a href="?cmd=changelog;rev=#rev#">changelog</a> | 7 <a href="?cl=#rev#">changelog</a> |
8 <a href="?cmd=tags">tags</a> | 8 <a href="?tags=">tags</a> |
9 <a href="?cmd=changeset;node=#node#">changeset</a> | 9 <a href="?cs=#node|short#">changeset</a> |
10 <a href="?cmd=manifest;manifest=#manifest#;path=#path#">manifest</a> | 10 <a href="?mf=#manifest|short#;path=#path#">manifest</a> |
11 <a href="?cmd=filelog;file=#file#;filenode=#filenode#">revisions</a> | 11 <a href="?fl=#filenode|short#;file=#file#">revisions</a> |
12 <a href="?cmd=annotate;file=#file#;filenode=#filenode#">annotate</a> | 12 <a href="?fa=#filenode|short#;file=#file#">annotate</a> |
13 <a href="?cmd=file;file=#file#;filenode=#filenode#;style=raw">raw</a> | 13 <a href="?f=#node|short#;file=#file#;style=raw">raw</a> |
14 </div> | 14 </div> |
15 | 15 |
16 <h2>#file#</h2> | 16 <h2>#file#</h2> |
17 | 17 |
18 <table> | 18 <table> |
19 <tr> | 19 <tr> |
20 <td class="metatag">changeset #rev#:</td> | 20 <td class="metatag">changeset #rev#:</td> |
21 <td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr> | 21 <td><a href="?cs=#node|short#">#node|short#</a></td></tr> |
22 #parent# | 22 #parent# |
23 <tr> | 23 <tr> |
24 <td class="metatag">author:</td> | 24 <td class="metatag">author:</td> |
25 <td>#author|obfuscate#</td></tr> | 25 <td>#author|obfuscate#</td></tr> |
26 <tr> | 26 <tr> |