##// END OF EJS Templates
tarball support v0.3...
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

File last commit:

r981:4f81068e merge default
r1076:01db658c default
Show More
fileannotate.tmpl
42 lines | 1.0 KiB | application/x-cheetah | CheetahLexer
mpm@selenic.com
Prettify the web interface...
r142 #header#
mpm@selenic.com
hgweb: add template filters, template style maps, and raw pages...
r201 <title>#repo|escape#: #file# annotate</title>
mpm@selenic.com
Prettify the web interface...
r142 </head>
mpm@selenic.com
Revamped templated hgweb
r138 <body>
jake@edge2.net
fixed problem with head/body tags, added dtd, fixed table attributes...
r154 <div class="buttons">
jake@edge2.net
changed pos to rev for changelog cmd, changed & to ;
r153 <a href="?cmd=changelog;rev=#rev#">changelog</a>
mpm@selenic.com
hgweb: add tags links and manifest links...
r168 <a href="?cmd=tags">tags</a>
jake@edge2.net
changed pos to rev for changelog cmd, changed & to ;
r153 <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>
mpm@selenic.com
Prettify the web interface...
r142 </div>
mpm@selenic.com
Revamped templated hgweb
r138
mpm@selenic.com
Show nice short hashes in hgweb...
r375 <h2>Annotate #file# (#filenode|short#)</h2>
mpm@selenic.com
Revamped templated hgweb
r138
<table>
<tr>
mpm@selenic.com
Hide most revision numbers in hgweb
r167 <td class="metatag">changeset #rev#:</td>
mpm@selenic.com
Show nice short hashes in hgweb...
r375 <td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>
mpm@selenic.com
[PATCH 2/5]: cleaning the template parent management in hgweb...
r570 #parent#
mpm@selenic.com
Revamped templated hgweb
r138 <tr>
jake@edge2.net
fixed problem with head/body tags, added dtd, fixed table attributes...
r154 <td class="metatag">manifest:</td>
mpm@selenic.com
Show nice short hashes in hgweb...
r375 <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#manifest|short#</a></td></tr>
mpm@selenic.com
Revamped templated hgweb
r138 <tr>
jake@edge2.net
fixed problem with head/body tags, added dtd, fixed table attributes...
r154 <td class="metatag">author:</td>
mpm@selenic.com
hgweb: add template filters, template style maps, and raw pages...
r201 <td>#author|obfuscate#</td></tr>
mpm@selenic.com
Revamped templated hgweb
r138 <tr>
jake@edge2.net
fixed problem with head/body tags, added dtd, fixed table attributes...
r154 <td class="metatag">date:</td>
Thomas Arendsen Hein
Removed extra closing brace from date string.
r236 <td>#date|date# (#date|age# ago)</td></tr>
mpm@selenic.com
hgweb: add file permissions...
r359 <tr>
<td class="metatag">permissions:</td>
<td>#permissions|permissions#</td></tr>
mpm@selenic.com
Revamped templated hgweb
r138 </table>
mpm@selenic.com
Prettify the web interface...
r142 <br/>
mpm@selenic.com
Revamped templated hgweb
r138
jake@edge2.net
fixed problem with head/body tags, added dtd, fixed table attributes...
r154 <table cellspacing="0" cellpadding="0">
Josef "Jeff" Sipek
hgweb: Changed annotate page to list format syntax
r977 #annotate%annotateline#
mpm@selenic.com
Revamped templated hgweb
r138 </table>
mpm@selenic.com
Prettify the web interface...
r142 #footer#