Mercurial > hg > mercurial-crew-with-dirclash
annotate templates/changeset.tmpl @ 1076:01db658cc78a
tarball support v0.3
Hello,
I'm slowly improving support for tarballs in Mercurial. Attached patch
is made against current tip in Matt's repository - f859e9cba1b9, and
contains everything done so far.
Changes:
- gzip and bzip2 tarballs are sent immediately without writing to
temporary files (I was wrong Matt, it can be done very easy)
- hgrc customization, you can choose which type (if any) you will support
There's no easy way to support compression levels, since TarFile open()
assume that it is 9. I tried to use gzopen(), and bz2open() methods
instead, but it seems that headers of generated archives, are missing or
wrong. We could eventually try to rewrite tarfile.py and include our own
version into Mercurial, but I don't know if it's good idea...
Wojtek
author | Wojciech Milkowski <wmilkowski@interia.pl> |
---|---|
date | Fri, 26 Aug 2005 20:51:34 -0700 |
parents | dbe0ce2ae196 |
children | b87aeccf73d9 |
rev | line source |
---|---|
142 | 1 #header# |
375 | 2 <title>#repo|escape#: changeset #node|short#</title> |
142 | 3 </head> |
4 <body> | |
138 | 5 |
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
153
diff
changeset
|
6 <div class="buttons"> |
153
e8a360cd5a9f
changed pos to rev for changelog cmd, changed & to ;
jake@edge2.net
parents:
142
diff
changeset
|
7 <a href="?cmd=changelog;rev=#rev#">changelog</a> |
168 | 8 <a href="?cmd=tags">tags</a> |
138 | 9 <a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a> |
201
f918a6fa2572
hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
172
diff
changeset
|
10 <a href="?cmd=changeset;node=#node#;style=raw">raw</a> |
1076
01db658cc78a
tarball support v0.3
Wojciech Milkowski <wmilkowski@interia.pl>
parents:
672
diff
changeset
|
11 #tarballbuttons# |
142 | 12 </div> |
138 | 13 |
201
f918a6fa2572
hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
172
diff
changeset
|
14 <h2>changeset: #desc|escape|firstline#</h2> |
138 | 15 |
602 | 16 <table id="changesetEntry"> |
138 | 17 <tr> |
602 | 18 <th class="changeset">changeset #rev#:</th> |
19 <td class="changeset"><a href="?cmd=changeset;node=#node#">#node|short#</a></td> | |
20 </tr> | |
570
2ee819a950aa
[PATCH 2/5]: cleaning the template parent management in hgweb
mpm@selenic.com
parents:
568
diff
changeset
|
21 #parent# |
568 | 22 #changesettag# |
138 | 23 <tr> |
602 | 24 <th class="manifest">manifest:</th> |
25 <td class="manifest"><a href="?cmd=manifest;manifest=#manifest#;path=/">#manifest|short#</a></td> | |
26 </tr> | |
138 | 27 <tr> |
602 | 28 <th class="author">author:</th> |
29 <td class="author">#author|obfuscate#</td> | |
30 </tr> | |
138 | 31 <tr> |
602 | 32 <th class="date">date:</th> |
33 <td class="date">#date|date# (#date|age# ago)</td></tr> | |
138 | 34 <tr> |
602 | 35 <th class="files">files:</th> |
36 <td class="files">#files#</td></tr> | |
138 | 37 <tr> |
602 | 38 <th class="description">description:</th> |
39 <td class="description">#desc|escape|addbreaks#</td> | |
40 </tr> | |
138 | 41 </table> |
42 | |
672
dbe0ce2ae196
More IE friendly diff output related templates.
Edouard Gomez <ed.gomez@free.fr>
parents:
602
diff
changeset
|
43 <div id="changesetDiff"> |
138 | 44 #diff# |
602 | 45 </div> |
138 | 46 |
47 </body> | |
602 | 48 </html> |
138 | 49 |
50 |