Mercurial > hg > pyhgsh
comparison templates/filediff.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 | dbe0ce2ae196 |
children | 19d2776f1725 |
comparison
equal
deleted
inserted
replaced
1409:964baa35faf8 | 1410:17703aa4491e |
---|---|
2 <title>#repo|escape#: #file# diff</title> | 2 <title>#repo|escape#: #file# diff</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=file;file=#file#;filenode=#filenode#">file</a> | 10 <a href="?f=#filenode|short#;file=#file#">file</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=filediff;file=#file#;node=#node#;style=raw">raw</a> | 13 <a href="?fd=#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 id="filediffEntry"> | 18 <table id="filediffEntry"> |
19 <tr> | 19 <tr> |
20 <th class="revision">revision #rev#:</th> | 20 <th class="revision">revision #rev#:</th> |
21 <td class="revision"><a href="?cmd=changeset;node=#node#">#node|short#</a></td> | 21 <td class="revision"><a href="?cs=#node|short#">#node|short#</a></td> |
22 </tr> | 22 </tr> |
23 #parent# | 23 #parent# |
24 </table> | 24 </table> |
25 | 25 |
26 <div id="fileDiff"> | 26 <div id="fileDiff"> |