##// END OF EJS Templates
archive: set date to 1980 for very old zip files...
archive: set date to 1980 for very old zip files The zip file format stores the date using "MS-DOS format" which apparently means that they use 1980 as their epoch. Python's zipfile module emits deprecation warnings of this form /usr/lib/python2.6/zipfile.py:1108: DeprecationWarning: struct integer overflow masking is deprecated self.fp.write(zinfo.FileHeader()) /usr/lib/python2.6/zipfile.py:1108: DeprecationWarning: 'H' format requires 0 <= number <= 65535 self.fp.write(zinfo.FileHeader()) /home/mg/src/mercurial-crew/mercurial/archival.py:169: DeprecationWarning: struct integer overflow masking is deprecated self.z.close() /home/mg/src/mercurial-crew/mercurial/archival.py:169: DeprecationWarning: 'H' format requires 0 <= number <= 65535 self.z.close() when it is given such old timestamps. This fixes this by silently clamping the date to 1980.

File last commit:

r8936:1de6e7e1 default
r12319:381f1312 stable
Show More
test-hgweb-descend-empties.out
110 lines | 2.5 KiB | text/plain | TextLexer
/ tests / test-hgweb-descend-empties.out
Ry4an Brase
hgweb: descend empty directories in web view...
r7305 % Set up the repo
adding a1/a2/a3/a4/foo
adding b1/b2/b3/b4/foo
adding b1/b2/c3/c4/foo
adding d1/d2/d3/d4/foo
adding d1/d2/foo
% manifest with descending
200 Script output follows
Benoit Allard
coal/paper: switch to XHTML 1.1
r7725 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
Ry4an Brase
hgweb: descend empty directories in web view...
r7305 <head>
Benoit Allard
coal/paper: switch to XHTML 1.1
r7725 <link rel="icon" href="/static/hgicon.png" type="image/png" />
Ry4an Brase
hgweb: descend empty directories in web view...
r7305 <meta name="robots" content="index, nofollow" />
Matt Mackall
hgweb: update tests for paper style...
r7339 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
Ry4an Brase
hgweb: descend empty directories in web view...
r7305
Matt Mackall
hgweb: update tests for paper style...
r7339 <title>test: 9087c84a0f5d /</title>
Ry4an Brase
hgweb: descend empty directories in web view...
r7305 </head>
<body>
Matt Mackall
hgweb: update tests for paper style...
r7339 <div class="container">
<div class="menu">
Ry4an Brase
hgweb: descend empty directories in web view...
r7305 <div class="logo">
Dirkjan Ochtman
change wiki/bts URLs to point to new hostname
r8936 <a href="http://mercurial.selenic.com/">
Benoit Allard
coal/paper: switch to XHTML 1.1
r7725 <img src="/static/hglogo.png" alt="mercurial" /></a>
Ry4an Brase
hgweb: descend empty directories in web view...
r7305 </div>
Matt Mackall
hgweb: update tests for paper style...
r7339 <ul>
<li><a href="/shortlog/9087c84a0f5d">log</a></li>
<li><a href="/graph/9087c84a0f5d">graph</a></li>
<li><a href="/tags">tags</a></li>
Sune Foldager
paper/coal: add branches page
r8353 <li><a href="/branches">branches</a></li>
Matt Mackall
hgweb: update tests for paper style...
r7339 </ul>
<ul>
<li><a href="/rev/9087c84a0f5d">changeset</a></li>
<li class="active">browse</li>
</ul>
<ul>
</ul>
</div>
<div class="main">
<h2><a href="/">test</a></h2>
<h3>directory / @ 0:9087c84a0f5d <span class="tag">tip</span> </h3>
<form class="search" action="/log">
Benoit Allard
coal/paper: switch to XHTML 1.1
r7725 <p><input name="rev" id="search1" type="text" size="30" /></p>
<div id="hint">find changesets by author, revision,
files, or words in the commit message</div>
Matt Mackall
hgweb: update tests for paper style...
r7339 </form>
<table class="bigtable">
<tr>
<th class="name">name</th>
<th class="size">size</th>
<th class="permissions">permissions</th>
</tr>
<tr class="fileline parity0">
<td class="name"><a href="/file/9087c84a0f5d/">[up]</a></td>
<td class="size"></td>
<td class="permissions">drwxr-xr-x</td>
</tr>
Martin Geisler
paper: break long lines in map file
r8372
<tr class="fileline parity1">
<td class="name">
<a href="/file/9087c84a0f5d/a1">
<img src="/static/coal-folder.png" alt="dir."/> a1/
</a>
<a href="/file/9087c84a0f5d/a1/a2/a3/a4">
a2/a3/a4
</a>
</td>
<td class="size"></td>
<td class="permissions">drwxr-xr-x</td>
</tr>
<tr class="fileline parity0">
<td class="name">
<a href="/file/9087c84a0f5d/b1">
<img src="/static/coal-folder.png" alt="dir."/> b1/
</a>
<a href="/file/9087c84a0f5d/b1/b2">
b2
</a>
</td>
<td class="size"></td>
<td class="permissions">drwxr-xr-x</td>
</tr>
<tr class="fileline parity1">
<td class="name">
<a href="/file/9087c84a0f5d/d1">
<img src="/static/coal-folder.png" alt="dir."/> d1/
</a>
<a href="/file/9087c84a0f5d/d1/d2">
d2
</a>
</td>
<td class="size"></td>
<td class="permissions">drwxr-xr-x</td>
</tr>
Matt Mackall
hgweb: update tests for paper style...
r7339
</table>
</div>
</div>
Ry4an Brase
hgweb: descend empty directories in web view...
r7305
</body>
</html>
% ERRORS ENCOUNTERED