##// END OF EJS Templates
coal/paper: switch to XHTML 1.1
Benoit Allard -
r7725:6a888d49 default
parent child Browse files
Show More
@@ -1,7 +1,6 b''
1 <!-- quirksmode -->
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
3 <html>
4 <head>
3 <head>
5 <link rel="icon" href="{staticurl}hgicon.png" type="image/png">
4 <link rel="icon" href="{staticurl}hgicon.png" type="image/png" />
6 <meta name="robots" content="index, nofollow" />
5 <meta name="robots" content="index, nofollow" />
7 <link rel="stylesheet" href="{staticurl}style-coal.css" type="text/css" />
6 <link rel="stylesheet" href="{staticurl}style-coal.css" type="text/css" />
@@ -1,70 +1,70 b''
1 {header}
1 {header}
2 <title>{repo|escape}: {node|short}</title>
2 <title>{repo|escape}: {node|short}</title>
3 </head>
3 </head>
4 <body>
4 <body>
5 <div class="container">
5 <div class="container">
6 <div class="menu">
6 <div class="menu">
7 <div class="logo">
7 <div class="logo">
8 <a href="http://www.selenic.com/mercurial/">
8 <a href="http://www.selenic.com/mercurial/">
9 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
9 <img src="{staticurl}hglogo.png" alt="mercurial" /></a>
10 </div>
10 </div>
11 <ul>
11 <ul>
12 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
12 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
13 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
13 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
14 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
14 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
15 </ul>
15 </ul>
16 <ul>
16 <ul>
17 <li class="active">changeset</li>
17 <li class="active">changeset</li>
18 <li><a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a></li>
18 <li><a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a></li>
19 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">browse</a></li>
19 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">browse</a></li>
20 </ul>
20 </ul>
21 <ul>
21 <ul>
22 {archives%archiveentry}
22 {archives%archiveentry}
23 </ul>
23 </ul>
24 </div>
24 </div>
25
25
26 <div class="main">
26 <div class="main">
27
27
28 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
28 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
29 <h3>changeset {rev}:{node|short} {changesetbranch%changelogbranchname} {changesettag}</h3>
29 <h3>changeset {rev}:{node|short} {changesetbranch%changelogbranchname} {changesettag}</h3>
30
30
31 <form class="search" action="{url}log">
31 <form class="search" action="{url}log">
32 {sessionvars%hiddenformentry}
32 {sessionvars%hiddenformentry}
33 <p><input name="rev" id="search1" type="text" size="30"></p>
33 <p><input name="rev" id="search1" type="text" size="30" /></p>
34 <span>find changesets by author, revision,
34 <div id="hint">find changesets by author, revision,
35 files, or words in the commit message</span>
35 files, or words in the commit message</div>
36 </form>
36 </form>
37
37
38 <div class="description">{desc|strip|escape|addbreaks}</div>
38 <div class="description">{desc|strip|escape|addbreaks}</div>
39
39
40 <table id="changesetEntry">
40 <table id="changesetEntry">
41 <tr>
41 <tr>
42 <th class="author">author</th>
42 <th class="author">author</th>
43 <td class="author">{author|obfuscate}</td>
43 <td class="author">{author|obfuscate}</td>
44 </tr>
44 </tr>
45 <tr>
45 <tr>
46 <th class="date">date</th>
46 <th class="date">date</th>
47 <td class="date">{date|date} ({date|age} ago)</td></tr>
47 <td class="date">{date|date} ({date|age} ago)</td></tr>
48 <tr>
48 <tr>
49 <th class="author">parents</th>
49 <th class="author">parents</th>
50 <td class="author">{parent%changesetparent}</td>
50 <td class="author">{parent%changesetparent}</td>
51 </tr>
51 </tr>
52 <tr>
52 <tr>
53 <th class="author">children</th>
53 <th class="author">children</th>
54 <td class="author">{child%changesetchild}</td>
54 <td class="author">{child%changesetchild}</td>
55 </tr>
55 </tr>
56 <tr>
56 <tr>
57 <th class="files">files</th>
57 <th class="files">files</th>
58 <td class="files">{files}</td>
58 <td class="files">{files}</td>
59 </tr>
59 </tr>
60 </table>
60 </table>
61
61
62 <div class="overflow">
62 <div class="overflow">
63 <div class="sourcefirst"> line diff</div>
63 <div class="sourcefirst"> line diff</div>
64
64
65 {diff}
65 {diff}
66 </div>
66 </div>
67
67
68 </div>
68 </div>
69 </div>
69 </div>
70 {footer}
70 {footer}
@@ -1,42 +1,42 b''
1 {header}
1 {header}
2 <title>{repo|escape}: error</title>
2 <title>{repo|escape}: error</title>
3 </head>
3 </head>
4 <body>
4 <body>
5
5
6 <div class="container">
6 <div class="container">
7 <div class="menu">
7 <div class="menu">
8 <div class="logo">
8 <div class="logo">
9 <a href="http://www.selenic.com/mercurial/">
9 <a href="http://www.selenic.com/mercurial/">
10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
11 </div>
11 </div>
12 <ul>
12 <ul>
13 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
13 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
14 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
14 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
16 </ul>
16 </ul>
17 </div>
17 </div>
18
18
19 <div class="main">
19 <div class="main">
20
20
21 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
21 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
22 <h3>error</h3>
22 <h3>error</h3>
23
23
24 <form class="search" action="{url}log">
24 <form class="search" action="{url}log">
25 {sessionvars%hiddenformentry}
25 {sessionvars%hiddenformentry}
26 <p><input name="rev" id="search1" type="text" size="30"></p>
26 <p><input name="rev" id="search1" type="text" size="30"></p>
27 <span>find changesets by author, revision,
27 <div id="hint">find changesets by author, revision,
28 files, or words in the commit message</span>
28 files, or words in the commit message</div>
29 </form>
29 </form>
30
30
31 <div class="description">
31 <div class="description">
32 <p>
32 <p>
33 An error occurred while processing your request:
33 An error occurred while processing your request:
34 </p>
34 </p>
35 <p>
35 <p>
36 {error|escape}
36 {error|escape}
37 </p>
37 </p>
38 </div>
38 </div>
39 </div>
39 </div>
40 </div>
40 </div>
41
41
42 {footer}
42 {footer}
@@ -1,78 +1,78 b''
1 {header}
1 {header}
2 <title>{repo|escape}: {file|escape} annotate</title>
2 <title>{repo|escape}: {file|escape} annotate</title>
3 </head>
3 </head>
4 <body>
4 <body>
5
5
6 <div class="container">
6 <div class="container">
7 <div class="menu">
7 <div class="menu">
8 <div class="logo">
8 <div class="logo">
9 <a href="http://www.selenic.com/mercurial/">
9 <a href="http://www.selenic.com/mercurial/">
10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
10 <img src="{staticurl}hglogo.png" alt="mercurial" /></a>
11 </div>
11 </div>
12 <ul>
12 <ul>
13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
14 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
14 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
16 </ul>
16 </ul>
17
17
18 <ul>
18 <ul>
19 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
19 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
20 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
20 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
21 </ul>
21 </ul>
22 <ul>
22 <ul>
23 <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
23 <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
24 <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
24 <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
25 <li class="active">annotate</li>
25 <li class="active">annotate</li>
26 <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
26 <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
27 <li><a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a></li>
27 <li><a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a></li>
28 </ul>
28 </ul>
29 </div>
29 </div>
30
30
31 <div class="main">
31 <div class="main">
32 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
32 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
33 <h3>annotate {file|escape} @ {rev}:{node|short}</h3>
33 <h3>annotate {file|escape} @ {rev}:{node|short}</h3>
34
34
35 <form class="search" action="{url}log">
35 <form class="search" action="{url}log">
36 {sessionvars%hiddenformentry}
36 {sessionvars%hiddenformentry}
37 <p><input name="rev" id="search1" type="text" size="30"></p>
37 <p><input name="rev" id="search1" type="text" size="30" /></p>
38 <span>find changesets by author, revision,
38 <div id="hint">find changesets by author, revision,
39 files, or words in the commit message</span>
39 files, or words in the commit message</div>
40 </form>
40 </form>
41
41
42 <div class="description">{desc|strip|escape|addbreaks}</div>
42 <div class="description">{desc|strip|escape|addbreaks}</div>
43
43
44 <table id="changesetEntry">
44 <table id="changesetEntry">
45 <tr>
45 <tr>
46 <th class="author">author</th>
46 <th class="author">author</th>
47 <td class="author">{author|obfuscate}</td>
47 <td class="author">{author|obfuscate}</td>
48 </tr>
48 </tr>
49 <tr>
49 <tr>
50 <th class="date">date</th>
50 <th class="date">date</th>
51 <td class="date">{date|date} ({date|age} ago)</td>
51 <td class="date">{date|date} ({date|age} ago)</td>
52 </tr>
52 </tr>
53 <tr>
53 <tr>
54 <th class="author">parents</th>
54 <th class="author">parents</th>
55 <td class="author">{parent%filerevparent}</td>
55 <td class="author">{parent%filerevparent}</td>
56 </tr>
56 </tr>
57 <tr>
57 <tr>
58 <th class="author">children</th>
58 <th class="author">children</th>
59 <td class="author">{child%filerevchild}</td>
59 <td class="author">{child%filerevchild}</td>
60 </tr>
60 </tr>
61 {changesettag}
61 {changesettag}
62 </table>
62 </table>
63
63
64 <br/>
64 <br/>
65
65
66 <div class="overflow">
66 <div class="overflow">
67 <table class="bigtable">
67 <table class="bigtable">
68 <tr>
68 <tr>
69 <th class="annotate">rev</th>
69 <th class="annotate">rev</th>
70 <th class="line">&nbsp;&nbsp;line source</th>
70 <th class="line">&nbsp;&nbsp;line source</th>
71 </tr>
71 </tr>
72 {annotate%annotateline}
72 {annotate%annotateline}
73 </table>
73 </table>
74 </div>
74 </div>
75 </div>
75 </div>
76 </div>
76 </div>
77
77
78 {footer}
78 {footer}
@@ -1,71 +1,71 b''
1 {header}
1 {header}
2 <title>{repo|escape}: {file|escape} diff</title>
2 <title>{repo|escape}: {file|escape} diff</title>
3 </head>
3 </head>
4 <body>
4 <body>
5
5
6 <div class="container">
6 <div class="container">
7 <div class="menu">
7 <div class="menu">
8 <div class="logo">
8 <div class="logo">
9 <a href="http://www.selenic.com/mercurial/">
9 <a href="http://www.selenic.com/mercurial/">
10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
10 <img src="{staticurl}hglogo.png" alt="mercurial" /></a>
11 </div>
11 </div>
12 <ul>
12 <ul>
13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
14 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
14 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
16 </ul>
16 </ul>
17 <ul>
17 <ul>
18 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
18 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
19 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
19 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
20 </ul>
20 </ul>
21 <ul>
21 <ul>
22 <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
22 <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
23 <li class="active">diff</li>
23 <li class="active">diff</li>
24 <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
24 <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
25 <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
25 <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
26 <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
26 <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
27 </ul>
27 </ul>
28 </div>
28 </div>
29
29
30 <div class="main">
30 <div class="main">
31 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
31 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
32 <h3>diff {file|escape} @ {rev}:{node|short}</h3>
32 <h3>diff {file|escape} @ {rev}:{node|short}</h3>
33
33
34 <form class="search" action="{url}log">
34 <form class="search" action="{url}log">
35 {sessionvars%hiddenformentry}
35 <p>{sessionvars%hiddenformentry}</p>
36 <p><input name="rev" id="search1" type="text" size="30"></p>
36 <p><input name="rev" id="search1" type="text" size="30" /></p>
37 <span>find changesets by author, revision,
37 <div id="hint">find changesets by author, revision,
38 files, or words in the commit message</span>
38 files, or words in the commit message</div>
39 </form>
39 </form>
40
40
41 <div class="description">{desc|strip|escape|addbreaks}</div>
41 <div class="description">{desc|strip|escape|addbreaks}</div>
42
42
43 <table id="changesetEntry">
43 <table id="changesetEntry">
44 <tr>
44 <tr>
45 <th>author</th>
45 <th>author</th>
46 <td>{author|obfuscate}</td>
46 <td>{author|obfuscate}</td>
47 </tr>
47 </tr>
48 <tr>
48 <tr>
49 <th>date</th>
49 <th>date</th>
50 <td>{date|date} ({date|age} ago)</td>
50 <td>{date|date} ({date|age} ago)</td>
51 </tr>
51 </tr>
52 <tr>
52 <tr>
53 <th>parents</th>
53 <th>parents</th>
54 <td>{parent%filerevparent}</td>
54 <td>{parent%filerevparent}</td>
55 </tr>
55 </tr>
56 <tr>
56 <tr>
57 <th>children</th>
57 <th>children</th>
58 <td>{child%filerevchild}</td>
58 <td>{child%filerevchild}</td>
59 </tr>
59 </tr>
60 {changesettag}
60 {changesettag}
61 </table>
61 </table>
62
62
63 <div class="overflow">
63 <div class="overflow">
64 <div class="sourcefirst"> line diff</div>
64 <div class="sourcefirst"> line diff</div>
65
65
66 {diff}
66 {diff}
67 </div>
67 </div>
68 </div>
68 </div>
69 </div>
69 </div>
70
70
71 {footer}
71 {footer}
@@ -1,59 +1,59 b''
1 {header}
1 {header}
2 <title>{repo|escape}: {file|escape} history</title>
2 <title>{repo|escape}: {file|escape} history</title>
3 <link rel="alternate" type="application/atom+xml"
3 <link rel="alternate" type="application/atom+xml"
4 href="{url}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}">
4 href="{url}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}" />
5 <link rel="alternate" type="application/rss+xml"
5 <link rel="alternate" type="application/rss+xml"
6 href="{url}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}">
6 href="{url}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}" />
7 </head>
7 </head>
8 <body>
8 <body>
9
9
10 <div class="container">
10 <div class="container">
11 <div class="menu">
11 <div class="menu">
12 <div class="logo">
12 <div class="logo">
13 <a href="http://www.selenic.com/mercurial/">
13 <a href="http://www.selenic.com/mercurial/">
14 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
14 <img src="{staticurl}hglogo.png" alt="mercurial" /></a>
15 </div>
15 </div>
16 <ul>
16 <ul>
17 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
17 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
18 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
18 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
19 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
19 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
20 </ul>
20 </ul>
21 <ul>
21 <ul>
22 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
22 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
23 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
23 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
24 </ul>
24 </ul>
25 <ul>
25 <ul>
26 <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
26 <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
27 <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
27 <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
28 <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
28 <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
29 <li class="active">file log</li>
29 <li class="active">file log</li>
30 <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
30 <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
31 </ul>
31 </ul>
32 </div>
32 </div>
33
33
34 <div class="main">
34 <div class="main">
35 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
35 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
36 <h3>log {file|escape}</h3>
36 <h3>log {file|escape}</h3>
37
37
38 <form class="search" action="{url}log">
38 <form class="search" action="{url}log">
39 {sessionvars%hiddenformentry}
39 {sessionvars%hiddenformentry}
40 <p><input name="rev" id="search1" type="text" size="30"></p>
40 <p><input name="rev" id="search1" type="text" size="30" /></p>
41 <span>find changesets by author, revision,
41 <div id="hint">find changesets by author, revision,
42 files, or words in the commit message</span>
42 files, or words in the commit message</div>
43 </form>
43 </form>
44
44
45 <div class="navigate">{nav%filenaventry}</div>
45 <div class="navigate">{nav%filenaventry}</div>
46
46
47 <table class="bigtable">
47 <table class="bigtable">
48 <tr>
48 <tr>
49 <th class="age">age</th>
49 <th class="age">age</th>
50 <th class="author">author</th>
50 <th class="author">author</th>
51 <th class="description">description</th>
51 <th class="description">description</th>
52 </tr>
52 </tr>
53 {entries%filelogentry}
53 {entries%filelogentry}
54 </table>
54 </table>
55
55
56 </div>
56 </div>
57 </div>
57 </div>
58
58
59 {footer}
59 {footer}
@@ -1,71 +1,71 b''
1 {header}
1 {header}
2 <title>{repo|escape}: {node|short} {file|escape}</title>
2 <title>{repo|escape}: {node|short} {file|escape}</title>
3 </head>
3 </head>
4 <body>
4 <body>
5
5
6 <div class="container">
6 <div class="container">
7 <div class="menu">
7 <div class="menu">
8 <div class="logo">
8 <div class="logo">
9 <a href="http://www.selenic.com/mercurial/">
9 <a href="http://www.selenic.com/mercurial/">
10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
10 <img src="{staticurl}hglogo.png" alt="mercurial" /></a>
11 </div>
11 </div>
12 <ul>
12 <ul>
13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
14 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
14 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
16 </ul>
16 </ul>
17 <ul>
17 <ul>
18 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
18 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
19 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
19 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
20 </ul>
20 </ul>
21 <ul>
21 <ul>
22 <li class="active">file</li>
22 <li class="active">file</li>
23 <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
23 <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
24 <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
24 <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
25 <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
25 <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
26 <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
26 <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
27 </ul>
27 </ul>
28 </div>
28 </div>
29
29
30 <div class="main">
30 <div class="main">
31 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
31 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
32 <h3>view {file|escape} @ {rev}:{node|short}</h3>
32 <h3>view {file|escape} @ {rev}:{node|short}</h3>
33
33
34 <form class="search" action="{url}log">
34 <form class="search" action="{url}log">
35 {sessionvars%hiddenformentry}
35 {sessionvars%hiddenformentry}
36 <p><input name="rev" id="search1" type="text" size="30"></p>
36 <p><input name="rev" id="search1" type="text" size="30" /></p>
37 <span>find changesets by author, revision,
37 <div id="hint">find changesets by author, revision,
38 files, or words in the commit message</span>
38 files, or words in the commit message</div>
39 </form>
39 </form>
40
40
41 <div class="description">{desc|strip|escape|addbreaks}</div>
41 <div class="description">{desc|strip|escape|addbreaks}</div>
42
42
43 <table id="changesetEntry">
43 <table id="changesetEntry">
44 <tr>
44 <tr>
45 <th class="author">author</th>
45 <th class="author">author</th>
46 <td class="author">{author|obfuscate}</td>
46 <td class="author">{author|obfuscate}</td>
47 </tr>
47 </tr>
48 <tr>
48 <tr>
49 <th class="date">date</th>
49 <th class="date">date</th>
50 <td class="date">{date|date} ({date|age} ago)</td>
50 <td class="date">{date|date} ({date|age} ago)</td>
51 </tr>
51 </tr>
52 <tr>
52 <tr>
53 <th class="author">parents</th>
53 <th class="author">parents</th>
54 <td class="author">{parent%filerevparent}</td>
54 <td class="author">{parent%filerevparent}</td>
55 </tr>
55 </tr>
56 <tr>
56 <tr>
57 <th class="author">children</th>
57 <th class="author">children</th>
58 <td class="author">{child%filerevchild}</td>
58 <td class="author">{child%filerevchild}</td>
59 </tr>
59 </tr>
60 {changesettag}
60 {changesettag}
61 </table>
61 </table>
62
62
63 <div class="overflow">
63 <div class="overflow">
64 <div class="sourcefirst"> line source</div>
64 <div class="sourcefirst"> line source</div>
65 {text%fileline}
65 {text%fileline}
66 <div class="sourcelast"></div>
66 <div class="sourcelast"></div>
67 </div>
67 </div>
68 </div>
68 </div>
69 </div>
69 </div>
70
70
71 {footer}
71 {footer}
@@ -1,131 +1,131 b''
1 {header}
1 {header}
2 <title>{repo|escape}: revision graph</title>
2 <title>{repo|escape}: revision graph</title>
3 <link rel="alternate" type="application/atom+xml"
3 <link rel="alternate" type="application/atom+xml"
4 href="{url}atom-log" title="Atom feed for {repo|escape}: log">
4 href="{url}atom-log" title="Atom feed for {repo|escape}: log" />
5 <link rel="alternate" type="application/rss+xml"
5 <link rel="alternate" type="application/rss+xml"
6 href="{url}rss-log" title="RSS feed for {repo|escape}: log">
6 href="{url}rss-log" title="RSS feed for {repo|escape}: log" />
7 <!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]-->
7 <!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]-->
8 </head>
8 </head>
9 <body>
9 <body>
10
10
11 <div class="container">
11 <div class="container">
12 <div class="menu">
12 <div class="menu">
13 <div class="logo">
13 <div class="logo">
14 <a href="http://www.selenic.com/mercurial/">
14 <a href="http://www.selenic.com/mercurial/">
15 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
15 <img src="{staticurl}hglogo.png" alt="mercurial" /></a>
16 </div>
16 </div>
17 <ul>
17 <ul>
18 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
18 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
19 <li class="active">graph</li>
19 <li class="active">graph</li>
20 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
20 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
21 </ul>
21 </ul>
22 <ul>
22 <ul>
23 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
23 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
24 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
24 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
25 </ul>
25 </ul>
26 </div>
26 </div>
27
27
28 <div class="main">
28 <div class="main">
29 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
29 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
30 <h3>graph</h3>
30 <h3>graph</h3>
31
31
32 <form class="search" action="{url}log">
32 <form class="search" action="{url}log">
33 {sessionvars%hiddenformentry}
33 {sessionvars%hiddenformentry}
34 <p><input name="rev" id="search1" type="text" size="30"></p>
34 <p><input name="rev" id="search1" type="text" size="30" /></p>
35 <span>find changesets by author, revision,
35 <div id="hint">find changesets by author, revision,
36 files, or words in the commit message</span>
36 files, or words in the commit message</div>
37 </form>
37 </form>
38
38
39 <div class="navigate">
39 <div class="navigate">
40 <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a>
40 <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a>
41 <a href="{url}graph/{rev}{morevars%urlparameter}">more</a>
41 <a href="{url}graph/{rev}{morevars%urlparameter}">more</a>
42 | rev {rev}: {changenav%navgraphentry}
42 | rev {rev}: {changenav%navgraphentry}
43 </div>
43 </div>
44
44
45 <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript>
45 <noscript><p>The revision graph only works with JavaScript-enabled browsers.</p></noscript>
46
46
47 <div id="wrapper">
47 <div id="wrapper">
48 <ul id="nodebgs"></ul>
48 <ul id="nodebgs"></ul>
49 <canvas id="graph" width="224" height="{canvasheight}"></canvas>
49 <canvas id="graph" width="224" height="{canvasheight}"></canvas>
50 <ul id="graphnodes"></ul>
50 <ul id="graphnodes"></ul>
51 </div>
51 </div>
52
52
53 <script type="text/javascript" src="{staticurl}graph.js"></script>
53 <script type="text/javascript" src="{staticurl}graph.js"></script>
54 <script type="text/javascript">
54 <script type="text/javascript">
55 <!-- hide script content
55 <!-- hide script content
56
56
57 var data = {jsdata|json};
57 var data = {jsdata|json};
58 var graph = new Graph();
58 var graph = new Graph();
59 graph.scale({bg_height});
59 graph.scale({bg_height});
60
60
61 graph.edge = function(x0, y0, x1, y1, color) {
61 graph.edge = function(x0, y0, x1, y1, color) {
62
62
63 this.setColor(color, 0.0, 0.65);
63 this.setColor(color, 0.0, 0.65);
64 this.ctx.beginPath();
64 this.ctx.beginPath();
65 this.ctx.moveTo(x0, y0);
65 this.ctx.moveTo(x0, y0);
66 this.ctx.lineTo(x1, y1);
66 this.ctx.lineTo(x1, y1);
67 this.ctx.stroke();
67 this.ctx.stroke();
68
68
69 }
69 }
70
70
71 var revlink = '<li style="_STYLE"><span class="desc">';
71 var revlink = '<li style="_STYLE"><span class="desc">';
72 revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>';
72 revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>';
73 revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>';
73 revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>';
74
74
75 graph.vertex = function(x, y, color, parity, cur) {
75 graph.vertex = function(x, y, color, parity, cur) {
76
76
77 this.ctx.beginPath();
77 this.ctx.beginPath();
78 color = this.setColor(color, 0.25, 0.75);
78 color = this.setColor(color, 0.25, 0.75);
79 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
79 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
80 this.ctx.fill();
80 this.ctx.fill();
81
81
82 var bg = '<li class="bg parity' + parity + '"></li>';
82 var bg = '<li class="bg parity' + parity + '"></li>';
83 var left = (this.columns + 1) * this.bg_height;
83 var left = (this.columns + 1) * this.bg_height;
84 var nstyle = 'padding-left: ' + left + 'px;';
84 var nstyle = 'padding-left: ' + left + 'px;';
85 var item = revlink.replace(/_STYLE/, nstyle);
85 var item = revlink.replace(/_STYLE/, nstyle);
86 item = item.replace(/_PARITY/, 'parity' + parity);
86 item = item.replace(/_PARITY/, 'parity' + parity);
87 item = item.replace(/_NODEID/, cur[0]);
87 item = item.replace(/_NODEID/, cur[0]);
88 item = item.replace(/_NODEID/, cur[0]);
88 item = item.replace(/_NODEID/, cur[0]);
89 item = item.replace(/_DESC/, cur[3]);
89 item = item.replace(/_DESC/, cur[3]);
90 item = item.replace(/_USER/, cur[4]);
90 item = item.replace(/_USER/, cur[4]);
91 item = item.replace(/_DATE/, cur[5]);
91 item = item.replace(/_DATE/, cur[5]);
92
92
93 var tagspan = '';
93 var tagspan = '';
94 if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) {
94 if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) {
95 tagspan = '<span class="logtags">';
95 tagspan = '<span class="logtags">';
96 if (cur[6][1]) {
96 if (cur[6][1]) {
97 tagspan += '<span class="branchhead" title="' + cur[6][0] + '">';
97 tagspan += '<span class="branchhead" title="' + cur[6][0] + '">';
98 tagspan += cur[6][0] + '</span> ';
98 tagspan += cur[6][0] + '</span> ';
99 } else if (!cur[6][1] && cur[6][0] != 'default') {
99 } else if (!cur[6][1] && cur[6][0] != 'default') {
100 tagspan += '<span class="branchname" title="' + cur[6][0] + '">';
100 tagspan += '<span class="branchname" title="' + cur[6][0] + '">';
101 tagspan += cur[6][0] + '</span> ';
101 tagspan += cur[6][0] + '</span> ';
102 }
102 }
103 if (cur[7].length) {
103 if (cur[7].length) {
104 for (var t in cur[7]) {
104 for (var t in cur[7]) {
105 var tag = cur[7][t];
105 var tag = cur[7][t];
106 tagspan += '<span class="tag">' + tag + '</span> ';
106 tagspan += '<span class="tag">' + tag + '</span> ';
107 }
107 }
108 }
108 }
109 tagspan += '</span>';
109 tagspan += '</span>';
110 }
110 }
111
111
112 item = item.replace(/_TAGS/, tagspan);
112 item = item.replace(/_TAGS/, tagspan);
113 return [bg, item];
113 return [bg, item];
114
114
115 }
115 }
116
116
117 graph.render(data);
117 graph.render(data);
118
118
119 // stop hiding script -->
119 // stop hiding script -->
120 </script>
120 </script>
121
121
122 <div class="navigate">
122 <div class="navigate">
123 <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a>
123 <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a>
124 <a href="{url}graph/{rev}{morevars%urlparameter}">more</a>
124 <a href="{url}graph/{rev}{morevars%urlparameter}">more</a>
125 | rev {rev}: {changenav%navgraphentry}
125 | rev {rev}: {changenav%navgraphentry}
126 </div>
126 </div>
127
127
128 </div>
128 </div>
129 </div>
129 </div>
130
130
131 {footer}
131 {footer}
@@ -1,7 +1,6 b''
1 <!-- quirksmode -->
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
3 <html>
4 <head>
3 <head>
5 <link rel="icon" href="{staticurl}hgicon.png" type="image/png">
4 <link rel="icon" href="{staticurl}hgicon.png" type="image/png" />
6 <meta name="robots" content="index, nofollow" />
5 <meta name="robots" content="index, nofollow" />
7 <link rel="stylesheet" href="{staticurl}style-paper.css" type="text/css" />
6 <link rel="stylesheet" href="{staticurl}style-paper.css" type="text/css" />
@@ -1,53 +1,53 b''
1 {header}
1 {header}
2 <title>{repo|escape}: {node|short} {path|escape}</title>
2 <title>{repo|escape}: {node|short} {path|escape}</title>
3 </head>
3 </head>
4 <body>
4 <body>
5
5
6 <div class="container">
6 <div class="container">
7 <div class="menu">
7 <div class="menu">
8 <div class="logo">
8 <div class="logo">
9 <a href="http://www.selenic.com/mercurial/">
9 <a href="http://www.selenic.com/mercurial/">
10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
10 <img src="{staticurl}hglogo.png" alt="mercurial" /></a>
11 </div>
11 </div>
12 <ul>
12 <ul>
13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
14 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
14 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
16 </ul>
16 </ul>
17 <ul>
17 <ul>
18 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
18 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
19 <li class="active">browse</li>
19 <li class="active">browse</li>
20 </ul>
20 </ul>
21 <ul>
21 <ul>
22 {archives%archiveentry}
22 {archives%archiveentry}
23 </ul>
23 </ul>
24 </div>
24 </div>
25
25
26 <div class="main">
26 <div class="main">
27 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
27 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
28 <h3>directory {path|escape} @ {rev}:{node|short} {tags%changelogtag}</h3>
28 <h3>directory {path|escape} @ {rev}:{node|short} {tags%changelogtag}</h3>
29
29
30 <form class="search" action="{url}log">
30 <form class="search" action="{url}log">
31 {sessionvars%hiddenformentry}
31 {sessionvars%hiddenformentry}
32 <p><input name="rev" id="search1" type="text" size="30"></p>
32 <p><input name="rev" id="search1" type="text" size="30" /></p>
33 <span>find changesets by author, revision,
33 <div id="hint">find changesets by author, revision,
34 files, or words in the commit message</span>
34 files, or words in the commit message</div>
35 </form>
35 </form>
36
36
37 <table class="bigtable">
37 <table class="bigtable">
38 <tr>
38 <tr>
39 <th class="name">name</th>
39 <th class="name">name</th>
40 <th class="size">size</th>
40 <th class="size">size</th>
41 <th class="permissions">permissions</th>
41 <th class="permissions">permissions</th>
42 </tr>
42 </tr>
43 <tr class="fileline parity{upparity}">
43 <tr class="fileline parity{upparity}">
44 <td class="name"><a href="{url}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td>
44 <td class="name"><a href="{url}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td>
45 <td class="size"></td>
45 <td class="size"></td>
46 <td class="permissions">drwxr-xr-x</td>
46 <td class="permissions">drwxr-xr-x</td>
47 </tr>
47 </tr>
48 {dentries%direntry}
48 {dentries%direntry}
49 {fentries%fileentry}
49 {fentries%fileentry}
50 </table>
50 </table>
51 </div>
51 </div>
52 </div>
52 </div>
53 {footer}
53 {footer}
@@ -1,74 +1,74 b''
1 default = 'shortlog'
1 default = 'shortlog'
2
2
3 mimetype = 'text/html; charset={encoding}'
3 mimetype = 'text/html; charset={encoding}'
4 header = header.tmpl
4 header = header.tmpl
5 footer = footer.tmpl
5 footer = footer.tmpl
6 search = search.tmpl
6 search = search.tmpl
7
7
8 changelog = shortlog.tmpl
8 changelog = shortlog.tmpl
9 shortlog = shortlog.tmpl
9 shortlog = shortlog.tmpl
10 shortlogentry = shortlogentry.tmpl
10 shortlogentry = shortlogentry.tmpl
11 graph = graph.tmpl
11 graph = graph.tmpl
12
12
13 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
13 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
14 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
14 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
15 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
15 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
16 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
16 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
17 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
17 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
18 filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
18 filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
19 filenolink = '{file|escape} '
19 filenolink = '{file|escape} '
20 fileellipses = '...'
20 fileellipses = '...'
21 changelogentry = shortlogentry.tmpl
21 changelogentry = shortlogentry.tmpl
22 searchentry = shortlogentry.tmpl
22 searchentry = shortlogentry.tmpl
23 changeset = changeset.tmpl
23 changeset = changeset.tmpl
24 manifest = manifest.tmpl
24 manifest = manifest.tmpl
25
25
26 direntry = '<tr class="fileline parity{parity}"><td class="name"><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-folder.png"> {basename|escape}/</a> <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
26 direntry = '<tr class="fileline parity{parity}"><td class="name"><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-folder.png" alt="dir."/> {basename|escape}/</a> <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a></td><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
27 fileentry = '<tr class="fileline parity{parity}"><td class="filename"><a href="{url}file/{node|short}/{file|urlescape}#l1{sessionvars%urlparameter}"><img src="{staticurl}coal-file.png"> {basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
27 fileentry = '<tr class="fileline parity{parity}"><td class="filename"><a href="{url}file/{node|short}/{file|urlescape}#l1{sessionvars%urlparameter}"><img src="{staticurl}coal-file.png" alt="file"/> {basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
28
28
29 filerevision = filerevision.tmpl
29 filerevision = filerevision.tmpl
30 fileannotate = fileannotate.tmpl
30 fileannotate = fileannotate.tmpl
31 filediff = filediff.tmpl
31 filediff = filediff.tmpl
32 filelog = filelog.tmpl
32 filelog = filelog.tmpl
33 fileline = '<div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
33 fileline = '<div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
34 filelogentry = filelogentry.tmpl
34 filelogentry = filelogentry.tmpl
35
35
36 annotateline = '<tr class="parity{parity}"><td class="annotate"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a></td><td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td></tr>'
36 annotateline = '<tr class="parity{parity}"><td class="annotate"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a></td><td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td></tr>'
37
37
38 diffblock = '<div class="source bottomline parity{parity}">{lines}</div>'
38 diffblock = '<div class="source bottomline parity{parity}">{lines}</div>'
39 difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
39 difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
40 difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
40 difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
41 difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
41 difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
42 diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
42 diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
43
43
44 changelogparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
44 changelogparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
45
45
46 changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
46 changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
47
47
48 filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
48 filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
49 filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
49 filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
50
50
51 filerename = '{file|escape}@'
51 filerename = '{file|escape}@'
52 filelogrename = '<tr><th>base:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}@{node|short}</a></td></tr>'
52 filelogrename = '<tr><th>base:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}@{node|short}</a></td></tr>'
53 fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'
53 fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'
54 changesetchild = ' <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
54 changesetchild = ' <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
55 changelogchild = '<tr><th class="child">child</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
55 changelogchild = '<tr><th class="child">child</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
56 fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
56 fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
57 tags = tags.tmpl
57 tags = tags.tmpl
58 tagentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td><td class="node">{node|short}</td></tr>'
58 tagentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td><td class="node">{node|short}</td></tr>'
59 changelogtag = '<span class="tag">{name|escape}</span> '
59 changelogtag = '<span class="tag">{name|escape}</span> '
60 changesettag = '<span class="tag">{tag|escape}</span> '
60 changesettag = '<span class="tag">{tag|escape}</span> '
61 changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
61 changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
62 changelogbranchname = '<span class="branchname">{name|escape}</span> '
62 changelogbranchname = '<span class="branchname">{name|escape}</span> '
63 filediffparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
63 filediffparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
64 filelogparent = '<tr><th>parent {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
64 filelogparent = '<tr><th>parent {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
65 filediffchild = '<tr><th class="child">child {rev}:</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
65 filediffchild = '<tr><th class="child">child {rev}:</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
66 filelogchild = '<tr><th>child {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
66 filelogchild = '<tr><th>child {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
67 indexentry = '<tr class="parity{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td class="age">{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td></tr>\n'
67 indexentry = '<tr class="parity{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td class="age">{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td></tr>\n'
68 indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
68 indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
69 index = index.tmpl
69 index = index.tmpl
70 archiveentry = '<li><a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a></li>'
70 archiveentry = '<li><a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a></li>'
71 notfound = notfound.tmpl
71 notfound = notfound.tmpl
72 error = error.tmpl
72 error = error.tmpl
73 urlparameter = '{separator}{name}={value|urlescape}'
73 urlparameter = '{separator}{name}={value|urlescape}'
74 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
74 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
@@ -1,42 +1,42 b''
1 {header}
1 {header}
2 <title>{repo|escape}: searching for {query|escape}</title>
2 <title>{repo|escape}: searching for {query|escape}</title>
3 </head>
3 </head>
4 <body>
4 <body>
5
5
6 <div class="container">
6 <div class="container">
7 <div class="menu">
7 <div class="menu">
8 <div class="logo">
8 <div class="logo">
9 <a href="http://www.selenic.com/mercurial/">
9 <a href="http://www.selenic.com/mercurial/">
10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
11 </div>
11 </div>
12 <ul>
12 <ul>
13 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
13 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
14 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
14 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
16 </ul>
16 </ul>
17 </div>
17 </div>
18
18
19 <div class="main">
19 <div class="main">
20 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
20 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
21 <h3>searching for '{query|escape}'</h3>
21 <h3>searching for '{query|escape}'</h3>
22
22
23 <form class="search" action="{url}log">
23 <form class="search" action="{url}log">
24 {sessionvars%hiddenformentry}
24 {sessionvars%hiddenformentry}
25 <p><input name="rev" id="search1" type="text" size="30"></p>
25 <p><input name="rev" id="search1" type="text" size="30"></p>
26 <span>find changesets by author, revision,
26 <div id="hint">find changesets by author, revision,
27 files, or words in the commit message</span>
27 files, or words in the commit message</div>
28 </form>
28 </form>
29
29
30 <table class="bigtable">
30 <table class="bigtable">
31 <tr>
31 <tr>
32 <th class="age">age</th>
32 <th class="age">age</th>
33 <th class="author">author</th>
33 <th class="author">author</th>
34 <th class="description">description</th>
34 <th class="description">description</th>
35 </tr>
35 </tr>
36 {entries}
36 {entries}
37 </table>
37 </table>
38
38
39 </div>
39 </div>
40 </div>
40 </div>
41
41
42 {footer}
42 {footer}
@@ -1,56 +1,56 b''
1 {header}
1 {header}
2 <title>{repo|escape}: log</title>
2 <title>{repo|escape}: log</title>
3 <link rel="alternate" type="application/atom+xml"
3 <link rel="alternate" type="application/atom+xml"
4 href="{url}atom-log" title="Atom feed for {repo|escape}">
4 href="{url}atom-log" title="Atom feed for {repo|escape}" />
5 <link rel="alternate" type="application/rss+xml"
5 <link rel="alternate" type="application/rss+xml"
6 href="{url}rss-log" title="RSS feed for {repo|escape}">
6 href="{url}rss-log" title="RSS feed for {repo|escape}" />
7 </head>
7 </head>
8 <body>
8 <body>
9
9
10 <div class="container">
10 <div class="container">
11 <div class="menu">
11 <div class="menu">
12 <div class="logo">
12 <div class="logo">
13 <a href="http://www.selenic.com/mercurial/">
13 <a href="http://www.selenic.com/mercurial/">
14 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
14 <img src="{staticurl}hglogo.png" alt="mercurial" /></a>
15 </div>
15 </div>
16 <ul>
16 <ul>
17 <li class="active">log</li>
17 <li class="active">log</li>
18 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
18 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
19 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
19 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
20 </ul>
20 </ul>
21 <ul>
21 <ul>
22 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
22 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
23 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
23 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
24 </ul>
24 </ul>
25 <ul>
25 <ul>
26 {archives%archiveentry}
26 {archives%archiveentry}
27 </ul>
27 </ul>
28 </div>
28 </div>
29
29
30 <div class="main">
30 <div class="main">
31 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
31 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
32 <h3>log</h3>
32 <h3>log</h3>
33
33
34 <form class="search" action="{url}log">
34 <form class="search" action="{url}log">
35 {sessionvars%hiddenformentry}
35 {sessionvars%hiddenformentry}
36 <p><input name="rev" id="search1" type="text" size="30"></p>
36 <p><input name="rev" id="search1" type="text" size="30" /></p>
37 <span>find changesets by author, revision,
37 <div id="hint">find changesets by author, revision,
38 files, or words in the commit message</span>
38 files, or words in the commit message</div>
39 </form>
39 </form>
40
40
41 <div class="navigate">rev {rev}: {changenav%navshortentry}</div>
41 <div class="navigate">rev {rev}: {changenav%navshortentry}</div>
42
42
43 <table class="bigtable">
43 <table class="bigtable">
44 <tr>
44 <tr>
45 <th class="age">age</th>
45 <th class="age">age</th>
46 <th class="author">author</th>
46 <th class="author">author</th>
47 <th class="description">description</th>
47 <th class="description">description</th>
48 </tr>
48 </tr>
49 {entries%shortlogentry}
49 {entries%shortlogentry}
50 </table>
50 </table>
51
51
52 <div class="navigate">rev {rev}: {changenav%navshortentry}</div>
52 <div class="navigate">rev {rev}: {changenav%navshortentry}</div>
53 </div>
53 </div>
54 </div>
54 </div>
55
55
56 {footer}
56 {footer}
@@ -1,44 +1,44 b''
1 {header}
1 {header}
2 <title>{repo|escape}: tags</title>
2 <title>{repo|escape}: tags</title>
3 <link rel="alternate" type="application/atom+xml"
3 <link rel="alternate" type="application/atom+xml"
4 href="{url}atom-tags" title="Atom feed for {repo|escape}: tags">
4 href="{url}atom-tags" title="Atom feed for {repo|escape}: tags" />
5 <link rel="alternate" type="application/rss+xml"
5 <link rel="alternate" type="application/rss+xml"
6 href="{url}rss-tags" title="RSS feed for {repo|escape}: tags">
6 href="{url}rss-tags" title="RSS feed for {repo|escape}: tags" />
7 </head>
7 </head>
8 <body>
8 <body>
9
9
10 <div class="container">
10 <div class="container">
11 <div class="menu">
11 <div class="menu">
12 <div class="logo">
12 <div class="logo">
13 <a href="http://www.selenic.com/mercurial/">
13 <a href="http://www.selenic.com/mercurial/">
14 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
14 <img src="{staticurl}hglogo.png" alt="mercurial" /></a>
15 </div>
15 </div>
16 <ul>
16 <ul>
17 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
17 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
18 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
18 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
19 <li class="active">tags</li>
19 <li class="active">tags</li>
20 </ul>
20 </ul>
21 </div>
21 </div>
22
22
23 <div class="main">
23 <div class="main">
24 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
24 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
25 <h3>tags</h3>
25 <h3>tags</h3>
26
26
27 <form class="search" action="{url}log">
27 <form class="search" action="{url}log">
28 {sessionvars%hiddenformentry}
28 {sessionvars%hiddenformentry}
29 <p><input name="rev" id="search1" type="text" size="30"></p>
29 <p><input name="rev" id="search1" type="text" size="30" /></p>
30 <span>find changesets by author, revision,
30 <div id="hint">find changesets by author, revision,
31 files, or words in the commit message</span>
31 files, or words in the commit message</div>
32 </form>
32 </form>
33
33
34 <table class="bigtable">
34 <table class="bigtable">
35 <tr>
35 <tr>
36 <th>tag</th>
36 <th>tag</th>
37 <th>node</th>
37 <th>node</th>
38 </tr>
38 </tr>
39 {entries%tagentry}
39 {entries%tagentry}
40 </table>
40 </table>
41 </div>
41 </div>
42 </div>
42 </div>
43
43
44 {footer}
44 {footer}
@@ -1,257 +1,263 b''
1 body {
1 body {
2 margin: 0;
2 margin: 0;
3 padding: 0;
3 padding: 0;
4 background: black url(background.png) repeat-x;
4 background: black url(background.png) repeat-x;
5 font-family: sans-serif;
5 font-family: sans-serif;
6 }
6 }
7
7
8 .container {
8 .container {
9 padding-right: 150px;
9 padding-right: 150px;
10 }
10 }
11
11
12 .main {
12 .main {
13 position: relative;
13 position: relative;
14 background: white;
14 background: white;
15 padding: 2em;
15 padding: 2em;
16 border-right: 15px solid black;
16 border-right: 15px solid black;
17 border-bottom: 15px solid black;
17 border-bottom: 15px solid black;
18 }
18 }
19
19
20 #.main {
20 #.main {
21 width:98%;
21 width:98%;
22 }
22 }
23
23
24 .overflow {
24 .overflow {
25 width: 100%;
25 width: 100%;
26 overflow: auto;
26 overflow: auto;
27 }
27 }
28
28
29 .menu {
29 .menu {
30 background: #999;
30 background: #999;
31 padding: 10px;
31 padding: 10px;
32 width: 75px;
32 width: 75px;
33 margin: 0;
33 margin: 0;
34 font-size: 80%;
34 font-size: 80%;
35 text-align: left;
35 text-align: left;
36 position: fixed;
36 position: fixed;
37 top: 27px;
37 top: 27px;
38 left: auto;
38 left: auto;
39 right: 27px;
39 right: 27px;
40 }
40 }
41
41
42 #.menu {
42 #.menu {
43 position: absolute !important;
43 position: absolute !important;
44 top:expression(eval(document.body.scrollTop + 27));
44 top:expression(eval(document.body.scrollTop + 27));
45 }
45 }
46
46
47 .menu ul {
47 .menu ul {
48 list-style: none;
48 list-style: none;
49 padding: 0;
49 padding: 0;
50 margin: 10px 0 0 0;
50 margin: 10px 0 0 0;
51 }
51 }
52
52
53 .menu li {
53 .menu li {
54 margin-bottom: 3px;
54 margin-bottom: 3px;
55 padding: 2px 4px;
55 padding: 2px 4px;
56 background: white;
56 background: white;
57 color: black;
57 color: black;
58 font-weight: normal;
58 font-weight: normal;
59 }
59 }
60
60
61 .menu li.active {
61 .menu li.active {
62 background: black;
62 background: black;
63 color: white;
63 color: white;
64 }
64 }
65
65
66 .menu img {
67 width: 75px;
68 height: 90px;
69 border: 0;
70 }
71
66 .menu a { color: black; display: block; }
72 .menu a { color: black; display: block; }
67
73
68 .search {
74 .search {
69 position: absolute;
75 position: absolute;
70 top: .7em;
76 top: .7em;
71 right: 2em;
77 right: 2em;
72 }
78 }
73
79
74 form.search span {
80 form.search div#hint {
75 display: none;
81 display: none;
76 position: absolute;
82 position: absolute;
77 top: 40px;
83 top: 40px;
78 right: 0px;
84 right: 0px;
79 width: 190px;
85 width: 190px;
80 padding: 5px;
86 padding: 5px;
81 background: #ffc;
87 background: #ffc;
82 font-size: 70%;
88 font-size: 70%;
83 border: 1px solid yellow;
89 border: 1px solid yellow;
84 -moz-border-radius: 5px; /* this works only in camino/firefox */
90 -moz-border-radius: 5px; /* this works only in camino/firefox */
85 -webkit-border-radius: 5px; /* this is just for Safari */
91 -webkit-border-radius: 5px; /* this is just for Safari */
86 }
92 }
87
93
88 form.search:hover span { display: block; }
94 form.search:hover div#hint { display: block; }
89
95
90 a { text-decoration:none; }
96 a { text-decoration:none; }
91 .age { white-space:nowrap; }
97 .age { white-space:nowrap; }
92 .date { white-space:nowrap; }
98 .date { white-space:nowrap; }
93 .indexlinks { white-space:nowrap; }
99 .indexlinks { white-space:nowrap; }
94 .parity0 { background-color: #f0f0f0; }
100 .parity0 { background-color: #f0f0f0; }
95 .parity1 { background-color: white; }
101 .parity1 { background-color: white; }
96 .plusline { color: green; }
102 .plusline { color: green; }
97 .minusline { color: #dc143c; } /* crimson */
103 .minusline { color: #dc143c; } /* crimson */
98 .atline { color: purple; }
104 .atline { color: purple; }
99
105
100 .navigate {
106 .navigate {
101 text-align: right;
107 text-align: right;
102 font-size: 60%;
108 font-size: 60%;
103 margin: 1em 0 1em 0;
109 margin: 1em 0 1em 0;
104 }
110 }
105
111
106 .tag {
112 .tag {
107 color: #999;
113 color: #999;
108 font-size: 70%;
114 font-size: 70%;
109 font-weight: normal;
115 font-weight: normal;
110 margin-left: .5em;
116 margin-left: .5em;
111 vertical-align: baseline;
117 vertical-align: baseline;
112 }
118 }
113
119
114 .branchhead {
120 .branchhead {
115 color: #000;
121 color: #000;
116 font-size: 80%;
122 font-size: 80%;
117 font-weight: normal;
123 font-weight: normal;
118 margin-left: .5em;
124 margin-left: .5em;
119 vertical-align: baseline;
125 vertical-align: baseline;
120 }
126 }
121
127
122 ul#graphnodes .branchhead {
128 ul#graphnodes .branchhead {
123 font-size: 75%;
129 font-size: 75%;
124 }
130 }
125
131
126 .branchname {
132 .branchname {
127 color: #000;
133 color: #000;
128 font-size: 60%;
134 font-size: 60%;
129 font-weight: normal;
135 font-weight: normal;
130 margin-left: .5em;
136 margin-left: .5em;
131 vertical-align: baseline;
137 vertical-align: baseline;
132 }
138 }
133
139
134 h3 .branchname {
140 h3 .branchname {
135 font-size: 80%;
141 font-size: 80%;
136 }
142 }
137
143
138 /* Common */
144 /* Common */
139 pre { margin: 0; }
145 pre { margin: 0; }
140
146
141 h2 { font-size: 120%; border-bottom: 1px solid #999; }
147 h2 { font-size: 120%; border-bottom: 1px solid #999; }
142 h2 a { color: #000; }
148 h2 a { color: #000; }
143 h3 {
149 h3 {
144 margin-top: -.7em;
150 margin-top: -.7em;
145 font-size: 100%;
151 font-size: 100%;
146 }
152 }
147
153
148 /* log and tags tables */
154 /* log and tags tables */
149 .bigtable {
155 .bigtable {
150 border-bottom: 1px solid #999;
156 border-bottom: 1px solid #999;
151 border-collapse: collapse;
157 border-collapse: collapse;
152 font-size: 90%;
158 font-size: 90%;
153 width: 100%;
159 width: 100%;
154 font-weight: normal;
160 font-weight: normal;
155 text-align: left;
161 text-align: left;
156 }
162 }
157
163
158 .bigtable td {
164 .bigtable td {
159 padding: 1px 4px 1px 4px;
165 padding: 1px 4px 1px 4px;
160 vertical-align: top;
166 vertical-align: top;
161 }
167 }
162
168
163 .bigtable th {
169 .bigtable th {
164 padding: 1px 4px 1px 4px;
170 padding: 1px 4px 1px 4px;
165 border-bottom: 1px solid #999;
171 border-bottom: 1px solid #999;
166 font-size: smaller;
172 font-size: smaller;
167 }
173 }
168 .bigtable tr { border: none; }
174 .bigtable tr { border: none; }
169 .bigtable .age { width: 6em; }
175 .bigtable .age { width: 6em; }
170 .bigtable .author { width: 12em; }
176 .bigtable .author { width: 12em; }
171 .bigtable .description { }
177 .bigtable .description { }
172 .bigtable .node { width: 5em; font-family: monospace;}
178 .bigtable .node { width: 5em; font-family: monospace;}
173 .bigtable .lineno { width: 2em; text-align: right;}
179 .bigtable .lineno { width: 2em; text-align: right;}
174 .bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;}
180 .bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;}
175 .bigtable .permissions { width: 8em; text-align: left;}
181 .bigtable .permissions { width: 8em; text-align: left;}
176 .bigtable .size { width: 5em; text-align: right; }
182 .bigtable .size { width: 5em; text-align: right; }
177 .bigtable .annotate { text-align: right; }
183 .bigtable .annotate { text-align: right; }
178 .bigtable td.annotate { font-size: smaller; }
184 .bigtable td.annotate { font-size: smaller; }
179 .bigtable td.source { font-size: inherit; }
185 .bigtable td.source { font-size: inherit; }
180
186
181 .source, .sourcefirst, .sourcelast {
187 .source, .sourcefirst, .sourcelast {
182 font-family: monospace;
188 font-family: monospace;
183 white-space: pre;
189 white-space: pre;
184 font-size: 90%;
190 font-size: 90%;
185 }
191 }
186 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; font-size: smaller; }
192 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; font-size: smaller; }
187 .sourcelast { border-top: 1px solid #999; }
193 .sourcelast { border-top: 1px solid #999; }
188 .source a { color: #999; font-size: smaller; font-family: monospace;}
194 .source a { color: #999; font-size: smaller; font-family: monospace;}
189 .bottomline { border-bottom: 1px solid #999; }
195 .bottomline { border-bottom: 1px solid #999; }
190
196
191 .fileline { font-family: monospace; }
197 .fileline { font-family: monospace; }
192 .fileline img { border: 0; }
198 .fileline img { border: 0; }
193
199
194 /* Changeset entry */
200 /* Changeset entry */
195 #changesetEntry {
201 #changesetEntry {
196 border-collapse: collapse;
202 border-collapse: collapse;
197 font-size: 90%;
203 font-size: 90%;
198 width: 100%;
204 width: 100%;
199 margin-bottom: 1em;
205 margin-bottom: 1em;
200 }
206 }
201
207
202 #changesetEntry th {
208 #changesetEntry th {
203 padding: 1px 4px 1px 4px;
209 padding: 1px 4px 1px 4px;
204 width: 4em;
210 width: 4em;
205 text-align: right;
211 text-align: right;
206 font-weight: normal;
212 font-weight: normal;
207 color: #999;
213 color: #999;
208 margin-right: .5em;
214 margin-right: .5em;
209 vertical-align: top;
215 vertical-align: top;
210 }
216 }
211
217
212 div.description {
218 div.description {
213 border-left: 3px solid #999;
219 border-left: 3px solid #999;
214 margin: 1em 0 1em 0;
220 margin: 1em 0 1em 0;
215 padding: .3em;
221 padding: .3em;
216 }
222 }
217
223
218 div#wrapper {
224 div#wrapper {
219 position: relative;
225 position: relative;
220 border-top: 1px solid black;
226 border-top: 1px solid black;
221 border-bottom: 1px solid black;
227 border-bottom: 1px solid black;
222 margin: 0;
228 margin: 0;
223 padding: 0;
229 padding: 0;
224 }
230 }
225
231
226 canvas {
232 canvas {
227 position: absolute;
233 position: absolute;
228 z-index: 5;
234 z-index: 5;
229 top: -0.7em;
235 top: -0.7em;
230 margin: 0;
236 margin: 0;
231 }
237 }
232
238
233 ul#graphnodes {
239 ul#graphnodes {
234 position: absolute;
240 position: absolute;
235 z-index: 10;
241 z-index: 10;
236 top: -1.0em;
242 top: -1.0em;
237 list-style: none inside none;
243 list-style: none inside none;
238 padding: 0;
244 padding: 0;
239 }
245 }
240
246
241 ul#nodebgs {
247 ul#nodebgs {
242 list-style: none inside none;
248 list-style: none inside none;
243 padding: 0;
249 padding: 0;
244 margin: 0;
250 margin: 0;
245 top: -0.7em;
251 top: -0.7em;
246 }
252 }
247
253
248 ul#graphnodes li, ul#nodebgs li {
254 ul#graphnodes li, ul#nodebgs li {
249 height: 39px;
255 height: 39px;
250 }
256 }
251
257
252 ul#graphnodes li .info {
258 ul#graphnodes li .info {
253 display: block;
259 display: block;
254 font-size: 70%;
260 font-size: 70%;
255 position: relative;
261 position: relative;
256 top: -3px;
262 top: -3px;
257 }
263 }
@@ -1,247 +1,253 b''
1 body {
1 body {
2 margin: 0;
2 margin: 0;
3 padding: 0;
3 padding: 0;
4 background: white;
4 background: white;
5 font-family: sans-serif;
5 font-family: sans-serif;
6 }
6 }
7
7
8 .container {
8 .container {
9 padding-left: 115px;
9 padding-left: 115px;
10 }
10 }
11
11
12 .main {
12 .main {
13 position: relative;
13 position: relative;
14 background: white;
14 background: white;
15 padding: 2em 2em 2em 0;
15 padding: 2em 2em 2em 0;
16 }
16 }
17
17
18 #.main {
18 #.main {
19 width: 98%;
19 width: 98%;
20 }
20 }
21
21
22 .overflow {
22 .overflow {
23 width: 100%;
23 width: 100%;
24 overflow: auto;
24 overflow: auto;
25 }
25 }
26
26
27 .menu {
27 .menu {
28 width: 90px;
28 width: 90px;
29 margin: 0;
29 margin: 0;
30 font-size: 80%;
30 font-size: 80%;
31 text-align: left;
31 text-align: left;
32 position: absolute;
32 position: absolute;
33 top: 20px;
33 top: 20px;
34 left: 20px;
34 left: 20px;
35 right: auto;
35 right: auto;
36 }
36 }
37
37
38 .menu ul {
38 .menu ul {
39 list-style: none;
39 list-style: none;
40 padding: 0;
40 padding: 0;
41 margin: 10px 0 0 0;
41 margin: 10px 0 0 0;
42 border-left: 2px solid #999;
42 border-left: 2px solid #999;
43 }
43 }
44
44
45 .menu li {
45 .menu li {
46 margin-bottom: 3px;
46 margin-bottom: 3px;
47 padding: 2px 4px;
47 padding: 2px 4px;
48 background: white;
48 background: white;
49 color: black;
49 color: black;
50 font-weight: normal;
50 font-weight: normal;
51 }
51 }
52
52
53 .menu li.active {
53 .menu li.active {
54 font-weight: bold;
54 font-weight: bold;
55 }
55 }
56
56
57 .menu img {
58 width: 75px;
59 height: 90px;
60 border: 0;
61 }
62
57 .menu a { color: black; display: block; }
63 .menu a { color: black; display: block; }
58
64
59 .search {
65 .search {
60 position: absolute;
66 position: absolute;
61 top: .7em;
67 top: .7em;
62 right: 2em;
68 right: 2em;
63 }
69 }
64
70
65 form.search span {
71 form.search div#hint {
66 display: none;
72 display: none;
67 position: absolute;
73 position: absolute;
68 top: 40px;
74 top: 40px;
69 right: 0px;
75 right: 0px;
70 width: 190px;
76 width: 190px;
71 padding: 5px;
77 padding: 5px;
72 background: #ffc;
78 background: #ffc;
73 font-size: 70%;
79 font-size: 70%;
74 border: 1px solid yellow;
80 border: 1px solid yellow;
75 -moz-border-radius: 5px; /* this works only in camino/firefox */
81 -moz-border-radius: 5px; /* this works only in camino/firefox */
76 -webkit-border-radius: 5px; /* this is just for Safari */
82 -webkit-border-radius: 5px; /* this is just for Safari */
77 }
83 }
78
84
79 form.search:hover span { display: block; }
85 form.search:hover div#hint { display: block; }
80
86
81 a { text-decoration:none; }
87 a { text-decoration:none; }
82 .age { white-space:nowrap; }
88 .age { white-space:nowrap; }
83 .date { white-space:nowrap; }
89 .date { white-space:nowrap; }
84 .indexlinks { white-space:nowrap; }
90 .indexlinks { white-space:nowrap; }
85 .parity0 { background-color: #f0f0f0; }
91 .parity0 { background-color: #f0f0f0; }
86 .parity1 { background-color: white; }
92 .parity1 { background-color: white; }
87 .plusline { color: green; }
93 .plusline { color: green; }
88 .minusline { color: #dc143c; } /* crimson */
94 .minusline { color: #dc143c; } /* crimson */
89 .atline { color: purple; }
95 .atline { color: purple; }
90
96
91 .navigate {
97 .navigate {
92 text-align: right;
98 text-align: right;
93 font-size: 60%;
99 font-size: 60%;
94 margin: 1em 0 1em 0;
100 margin: 1em 0 1em 0;
95 }
101 }
96
102
97 .tag {
103 .tag {
98 color: #999;
104 color: #999;
99 font-size: 70%;
105 font-size: 70%;
100 font-weight: normal;
106 font-weight: normal;
101 margin-left: .5em;
107 margin-left: .5em;
102 vertical-align: baseline;
108 vertical-align: baseline;
103 }
109 }
104
110
105 .branchhead {
111 .branchhead {
106 color: #000;
112 color: #000;
107 font-size: 80%;
113 font-size: 80%;
108 font-weight: normal;
114 font-weight: normal;
109 margin-left: .5em;
115 margin-left: .5em;
110 vertical-align: baseline;
116 vertical-align: baseline;
111 }
117 }
112
118
113 ul#graphnodes .branchhead {
119 ul#graphnodes .branchhead {
114 font-size: 75%;
120 font-size: 75%;
115 }
121 }
116
122
117 .branchname {
123 .branchname {
118 color: #000;
124 color: #000;
119 font-size: 60%;
125 font-size: 60%;
120 font-weight: normal;
126 font-weight: normal;
121 margin-left: .5em;
127 margin-left: .5em;
122 vertical-align: baseline;
128 vertical-align: baseline;
123 }
129 }
124
130
125 h3 .branchname {
131 h3 .branchname {
126 font-size: 80%;
132 font-size: 80%;
127 }
133 }
128
134
129 /* Common */
135 /* Common */
130 pre { margin: 0; }
136 pre { margin: 0; }
131
137
132 h2 { font-size: 120%; border-bottom: 1px solid #999; }
138 h2 { font-size: 120%; border-bottom: 1px solid #999; }
133 h2 a { color: #000; }
139 h2 a { color: #000; }
134 h3 {
140 h3 {
135 margin-top: -.7em;
141 margin-top: -.7em;
136 font-size: 100%;
142 font-size: 100%;
137 }
143 }
138
144
139 /* log and tags tables */
145 /* log and tags tables */
140 .bigtable {
146 .bigtable {
141 border-bottom: 1px solid #999;
147 border-bottom: 1px solid #999;
142 border-collapse: collapse;
148 border-collapse: collapse;
143 font-size: 90%;
149 font-size: 90%;
144 width: 100%;
150 width: 100%;
145 font-weight: normal;
151 font-weight: normal;
146 text-align: left;
152 text-align: left;
147 }
153 }
148
154
149 .bigtable td {
155 .bigtable td {
150 padding: 1px 4px 1px 4px;
156 padding: 1px 4px 1px 4px;
151 vertical-align: top;
157 vertical-align: top;
152 }
158 }
153
159
154 .bigtable th {
160 .bigtable th {
155 padding: 1px 4px 1px 4px;
161 padding: 1px 4px 1px 4px;
156 border-bottom: 1px solid #999;
162 border-bottom: 1px solid #999;
157 font-size: smaller;
163 font-size: smaller;
158 }
164 }
159 .bigtable tr { border: none; }
165 .bigtable tr { border: none; }
160 .bigtable .age { width: 6em; }
166 .bigtable .age { width: 6em; }
161 .bigtable .author { width: 12em; }
167 .bigtable .author { width: 12em; }
162 .bigtable .description { }
168 .bigtable .description { }
163 .bigtable .node { width: 5em; font-family: monospace;}
169 .bigtable .node { width: 5em; font-family: monospace;}
164 .bigtable .permissions { width: 8em; text-align: left;}
170 .bigtable .permissions { width: 8em; text-align: left;}
165 .bigtable .size { width: 5em; text-align: right; }
171 .bigtable .size { width: 5em; text-align: right; }
166 .bigtable .annotate { text-align: right; }
172 .bigtable .annotate { text-align: right; }
167 .bigtable td.annotate { font-size: smaller; }
173 .bigtable td.annotate { font-size: smaller; }
168 .bigtable td.source { font-size: inherit; }
174 .bigtable td.source { font-size: inherit; }
169
175
170 .source, .sourcefirst, .sourcelast {
176 .source, .sourcefirst, .sourcelast {
171 font-family: monospace;
177 font-family: monospace;
172 white-space: pre;
178 white-space: pre;
173 font-size: 90%;
179 font-size: 90%;
174 }
180 }
175 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; font-size: smaller; }
181 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; font-size: smaller; }
176 .sourcelast { border-top: 1px solid #999; }
182 .sourcelast { border-top: 1px solid #999; }
177 .source a { color: #999; font-size: smaller; font-family: monospace;}
183 .source a { color: #999; font-size: smaller; font-family: monospace;}
178 .bottomline { border-bottom: 1px solid #999; }
184 .bottomline { border-bottom: 1px solid #999; }
179
185
180 .fileline { font-family: monospace; }
186 .fileline { font-family: monospace; }
181 .fileline img { border: 0; }
187 .fileline img { border: 0; }
182
188
183 /* Changeset entry */
189 /* Changeset entry */
184 #changesetEntry {
190 #changesetEntry {
185 border-collapse: collapse;
191 border-collapse: collapse;
186 font-size: 90%;
192 font-size: 90%;
187 width: 100%;
193 width: 100%;
188 margin-bottom: 1em;
194 margin-bottom: 1em;
189 }
195 }
190
196
191 #changesetEntry th {
197 #changesetEntry th {
192 padding: 1px 4px 1px 4px;
198 padding: 1px 4px 1px 4px;
193 width: 4em;
199 width: 4em;
194 text-align: right;
200 text-align: right;
195 font-weight: normal;
201 font-weight: normal;
196 color: #999;
202 color: #999;
197 margin-right: .5em;
203 margin-right: .5em;
198 vertical-align: top;
204 vertical-align: top;
199 }
205 }
200
206
201 div.description {
207 div.description {
202 border-left: 2px solid #999;
208 border-left: 2px solid #999;
203 margin: 1em 0 1em 0;
209 margin: 1em 0 1em 0;
204 padding: .3em;
210 padding: .3em;
205 }
211 }
206
212
207 /* Graph */
213 /* Graph */
208 div#wrapper {
214 div#wrapper {
209 position: relative;
215 position: relative;
210 border-top: 1px solid black;
216 border-top: 1px solid black;
211 border-bottom: 1px solid black;
217 border-bottom: 1px solid black;
212 margin: 0;
218 margin: 0;
213 padding: 0;
219 padding: 0;
214 }
220 }
215
221
216 canvas {
222 canvas {
217 position: absolute;
223 position: absolute;
218 z-index: 5;
224 z-index: 5;
219 top: -0.7em;
225 top: -0.7em;
220 margin: 0;
226 margin: 0;
221 }
227 }
222
228
223 ul#nodebgs {
229 ul#nodebgs {
224 list-style: none inside none;
230 list-style: none inside none;
225 padding: 0;
231 padding: 0;
226 margin: 0;
232 margin: 0;
227 top: -0.7em;
233 top: -0.7em;
228 }
234 }
229
235
230 ul#graphnodes li, ul#nodebgs li {
236 ul#graphnodes li, ul#nodebgs li {
231 height: 39px;
237 height: 39px;
232 }
238 }
233
239
234 ul#graphnodes {
240 ul#graphnodes {
235 position: absolute;
241 position: absolute;
236 z-index: 10;
242 z-index: 10;
237 top: -1.0em;
243 top: -1.0em;
238 list-style: none inside none;
244 list-style: none inside none;
239 padding: 0;
245 padding: 0;
240 }
246 }
241
247
242 ul#graphnodes li .info {
248 ul#graphnodes li .info {
243 display: block;
249 display: block;
244 font-size: 70%;
250 font-size: 70%;
245 position: relative;
251 position: relative;
246 top: -3px;
252 top: -3px;
247 }
253 }
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -1,74 +1,73 b''
1 % Set up the repo
1 % Set up the repo
2 adding a1/a2/a3/a4/foo
2 adding a1/a2/a3/a4/foo
3 adding b1/b2/b3/b4/foo
3 adding b1/b2/b3/b4/foo
4 adding b1/b2/c3/c4/foo
4 adding b1/b2/c3/c4/foo
5 adding d1/d2/d3/d4/foo
5 adding d1/d2/d3/d4/foo
6 adding d1/d2/foo
6 adding d1/d2/foo
7 % manifest with descending
7 % manifest with descending
8 200 Script output follows
8 200 Script output follows
9
9
10 <!-- quirksmode -->
10 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
11 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
11 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
12 <html>
13 <head>
12 <head>
14 <link rel="icon" href="/static/hgicon.png" type="image/png">
13 <link rel="icon" href="/static/hgicon.png" type="image/png" />
15 <meta name="robots" content="index, nofollow" />
14 <meta name="robots" content="index, nofollow" />
16 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
15 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
17
16
18 <title>test: 9087c84a0f5d /</title>
17 <title>test: 9087c84a0f5d /</title>
19 </head>
18 </head>
20 <body>
19 <body>
21
20
22 <div class="container">
21 <div class="container">
23 <div class="menu">
22 <div class="menu">
24 <div class="logo">
23 <div class="logo">
25 <a href="http://www.selenic.com/mercurial/">
24 <a href="http://www.selenic.com/mercurial/">
26 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
25 <img src="/static/hglogo.png" alt="mercurial" /></a>
27 </div>
26 </div>
28 <ul>
27 <ul>
29 <li><a href="/shortlog/9087c84a0f5d">log</a></li>
28 <li><a href="/shortlog/9087c84a0f5d">log</a></li>
30 <li><a href="/graph/9087c84a0f5d">graph</a></li>
29 <li><a href="/graph/9087c84a0f5d">graph</a></li>
31 <li><a href="/tags">tags</a></li>
30 <li><a href="/tags">tags</a></li>
32 </ul>
31 </ul>
33 <ul>
32 <ul>
34 <li><a href="/rev/9087c84a0f5d">changeset</a></li>
33 <li><a href="/rev/9087c84a0f5d">changeset</a></li>
35 <li class="active">browse</li>
34 <li class="active">browse</li>
36 </ul>
35 </ul>
37 <ul>
36 <ul>
38
37
39 </ul>
38 </ul>
40 </div>
39 </div>
41
40
42 <div class="main">
41 <div class="main">
43 <h2><a href="/">test</a></h2>
42 <h2><a href="/">test</a></h2>
44 <h3>directory / @ 0:9087c84a0f5d <span class="tag">tip</span> </h3>
43 <h3>directory / @ 0:9087c84a0f5d <span class="tag">tip</span> </h3>
45
44
46 <form class="search" action="/log">
45 <form class="search" action="/log">
47
46
48 <p><input name="rev" id="search1" type="text" size="30"></p>
47 <p><input name="rev" id="search1" type="text" size="30" /></p>
49 <span>find changesets by author, revision,
48 <div id="hint">find changesets by author, revision,
50 files, or words in the commit message</span>
49 files, or words in the commit message</div>
51 </form>
50 </form>
52
51
53 <table class="bigtable">
52 <table class="bigtable">
54 <tr>
53 <tr>
55 <th class="name">name</th>
54 <th class="name">name</th>
56 <th class="size">size</th>
55 <th class="size">size</th>
57 <th class="permissions">permissions</th>
56 <th class="permissions">permissions</th>
58 </tr>
57 </tr>
59 <tr class="fileline parity0">
58 <tr class="fileline parity0">
60 <td class="name"><a href="/file/9087c84a0f5d/">[up]</a></td>
59 <td class="name"><a href="/file/9087c84a0f5d/">[up]</a></td>
61 <td class="size"></td>
60 <td class="size"></td>
62 <td class="permissions">drwxr-xr-x</td>
61 <td class="permissions">drwxr-xr-x</td>
63 </tr>
62 </tr>
64 <tr class="fileline parity1"><td class="name"><a href="/file/9087c84a0f5d/a1"><img src="/static/coal-folder.png"> a1/</a> <a href="/file/9087c84a0f5d/a1/a2/a3/a4">a2/a3/a4</a><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"> b1/</a> <a href="/file/9087c84a0f5d/b1/b2">b2</a><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"> d1/</a> <a href="/file/9087c84a0f5d/d1/d2">d2</a><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>
63 <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>
65
64
66 </table>
65 </table>
67 </div>
66 </div>
68 </div>
67 </div>
69
68
70
69
71 </body>
70 </body>
72 </html>
71 </html>
73
72
74 % ERRORS ENCOUNTERED
73 % ERRORS ENCOUNTERED
@@ -1,372 +1,368 b''
1 % setting up repo
1 % setting up repo
2 adding a
2 adding a
3 adding b
3 adding b
4 % change permissions for git diffs
4 % change permissions for git diffs
5 % set up hgweb
5 % set up hgweb
6 % revision
6 % revision
7 200 Script output follows
7 200 Script output follows
8
8
9 <!-- quirksmode -->
9 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
10 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
10 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
11 <html>
12 <head>
11 <head>
13 <link rel="icon" href="/static/hgicon.png" type="image/png">
12 <link rel="icon" href="/static/hgicon.png" type="image/png" />
14 <meta name="robots" content="index, nofollow" />
13 <meta name="robots" content="index, nofollow" />
15 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
16
15
17 <title>test: 0cd96de13884</title>
16 <title>test: 0cd96de13884</title>
18 </head>
17 </head>
19 <body>
18 <body>
20 <div class="container">
19 <div class="container">
21 <div class="menu">
20 <div class="menu">
22 <div class="logo">
21 <div class="logo">
23 <a href="http://www.selenic.com/mercurial/">
22 <a href="http://www.selenic.com/mercurial/">
24 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
23 <img src="/static/hglogo.png" alt="mercurial" /></a>
25 </div>
24 </div>
26 <ul>
25 <ul>
27 <li><a href="/shortlog/0cd96de13884">log</a></li>
26 <li><a href="/shortlog/0cd96de13884">log</a></li>
28 <li><a href="/graph/0cd96de13884">graph</a></li>
27 <li><a href="/graph/0cd96de13884">graph</a></li>
29 <li><a href="/tags">tags</a></li>
28 <li><a href="/tags">tags</a></li>
30 </ul>
29 </ul>
31 <ul>
30 <ul>
32 <li class="active">changeset</li>
31 <li class="active">changeset</li>
33 <li><a href="/raw-rev/0cd96de13884">raw</a></li>
32 <li><a href="/raw-rev/0cd96de13884">raw</a></li>
34 <li><a href="/file/0cd96de13884">browse</a></li>
33 <li><a href="/file/0cd96de13884">browse</a></li>
35 </ul>
34 </ul>
36 <ul>
35 <ul>
37
36
38 </ul>
37 </ul>
39 </div>
38 </div>
40
39
41 <div class="main">
40 <div class="main">
42
41
43 <h2><a href="/">test</a></h2>
42 <h2><a href="/">test</a></h2>
44 <h3>changeset 0:0cd96de13884 </h3>
43 <h3>changeset 0:0cd96de13884 </h3>
45
44
46 <form class="search" action="/log">
45 <form class="search" action="/log">
47
46
48 <p><input name="rev" id="search1" type="text" size="30"></p>
47 <p><input name="rev" id="search1" type="text" size="30" /></p>
49 <span>find changesets by author, revision,
48 <div id="hint">find changesets by author, revision,
50 files, or words in the commit message</span>
49 files, or words in the commit message</div>
51 </form>
50 </form>
52
51
53 <div class="description">a</div>
52 <div class="description">a</div>
54
53
55 <table id="changesetEntry">
54 <table id="changesetEntry">
56 <tr>
55 <tr>
57 <th class="author">author</th>
56 <th class="author">author</th>
58 <td class="author">&#116;&#101;&#115;&#116;</td>
57 <td class="author">&#116;&#101;&#115;&#116;</td>
59 </tr>
58 </tr>
60 <tr>
59 <tr>
61 <th class="date">date</th>
60 <th class="date">date</th>
62 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td></tr>
61 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td></tr>
63 <tr>
62 <tr>
64 <th class="author">parents</th>
63 <th class="author">parents</th>
65 <td class="author"></td>
64 <td class="author"></td>
66 </tr>
65 </tr>
67 <tr>
66 <tr>
68 <th class="author">children</th>
67 <th class="author">children</th>
69 <td class="author"> <a href="/rev/78e4ebad7cdf">78e4ebad7cdf</a></td>
68 <td class="author"> <a href="/rev/78e4ebad7cdf">78e4ebad7cdf</a></td>
70 </tr>
69 </tr>
71 <tr>
70 <tr>
72 <th class="files">files</th>
71 <th class="files">files</th>
73 <td class="files"><a href="/file/0cd96de13884/a">a</a> <a href="/file/0cd96de13884/b">b</a> </td>
72 <td class="files"><a href="/file/0cd96de13884/a">a</a> <a href="/file/0cd96de13884/b">b</a> </td>
74 </tr>
73 </tr>
75 </table>
74 </table>
76
75
77 <div class="overflow">
76 <div class="overflow">
78 <div class="sourcefirst"> line diff</div>
77 <div class="sourcefirst"> line diff</div>
79
78
80 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000
79 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000
81 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ b/a Thu Jan 01 00:00:00 1970 +0000
80 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ b/a Thu Jan 01 00:00:00 1970 +0000
82 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -0,0 +1,1 @@
81 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -0,0 +1,1 @@
83 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="plusline">+a
82 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="plusline">+a
84 </span></div><div class="source bottomline parity1"><a href="#l2.1" id="l2.1"> 2.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000
83 </span></div><div class="source bottomline parity1"><a href="#l2.1" id="l2.1"> 2.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000
85 </span><a href="#l2.2" id="l2.2"> 2.2</a> <span class="plusline">+++ b/b Thu Jan 01 00:00:00 1970 +0000
84 </span><a href="#l2.2" id="l2.2"> 2.2</a> <span class="plusline">+++ b/b Thu Jan 01 00:00:00 1970 +0000
86 </span><a href="#l2.3" id="l2.3"> 2.3</a> <span class="atline">@@ -0,0 +1,1 @@
85 </span><a href="#l2.3" id="l2.3"> 2.3</a> <span class="atline">@@ -0,0 +1,1 @@
87 </span><a href="#l2.4" id="l2.4"> 2.4</a> <span class="plusline">+b
86 </span><a href="#l2.4" id="l2.4"> 2.4</a> <span class="plusline">+b
88 </span></div>
87 </span></div>
89 </div>
88 </div>
90
89
91 </div>
90 </div>
92 </div>
91 </div>
93
92
94
93
95 </body>
94 </body>
96 </html>
95 </html>
97
96
98 % diff removed file
97 % diff removed file
99 200 Script output follows
98 200 Script output follows
100
99
101 <!-- quirksmode -->
100 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
102 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
101 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
103 <html>
104 <head>
102 <head>
105 <link rel="icon" href="/static/hgicon.png" type="image/png">
103 <link rel="icon" href="/static/hgicon.png" type="image/png" />
106 <meta name="robots" content="index, nofollow" />
104 <meta name="robots" content="index, nofollow" />
107 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
105 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
108
106
109 <title>test: a diff</title>
107 <title>test: a diff</title>
110 </head>
108 </head>
111 <body>
109 <body>
112
110
113 <div class="container">
111 <div class="container">
114 <div class="menu">
112 <div class="menu">
115 <div class="logo">
113 <div class="logo">
116 <a href="http://www.selenic.com/mercurial/">
114 <a href="http://www.selenic.com/mercurial/">
117 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
115 <img src="/static/hglogo.png" alt="mercurial" /></a>
118 </div>
116 </div>
119 <ul>
117 <ul>
120 <li><a href="/shortlog/78e4ebad7cdf">log</a></li>
118 <li><a href="/shortlog/78e4ebad7cdf">log</a></li>
121 <li><a href="/graph/78e4ebad7cdf">graph</a></li>
119 <li><a href="/graph/78e4ebad7cdf">graph</a></li>
122 <li><a href="/tags">tags</a></li>
120 <li><a href="/tags">tags</a></li>
123 </ul>
121 </ul>
124 <ul>
122 <ul>
125 <li><a href="/rev/78e4ebad7cdf">changeset</a></li>
123 <li><a href="/rev/78e4ebad7cdf">changeset</a></li>
126 <li><a href="/file/78e4ebad7cdf">browse</a></li>
124 <li><a href="/file/78e4ebad7cdf">browse</a></li>
127 </ul>
125 </ul>
128 <ul>
126 <ul>
129 <li><a href="/file/78e4ebad7cdf/a">file</a></li>
127 <li><a href="/file/78e4ebad7cdf/a">file</a></li>
130 <li class="active">diff</li>
128 <li class="active">diff</li>
131 <li><a href="/annotate/78e4ebad7cdf/a">annotate</a></li>
129 <li><a href="/annotate/78e4ebad7cdf/a">annotate</a></li>
132 <li><a href="/log/78e4ebad7cdf/a">file log</a></li>
130 <li><a href="/log/78e4ebad7cdf/a">file log</a></li>
133 <li><a href="/raw-file/78e4ebad7cdf/a">raw</a></li>
131 <li><a href="/raw-file/78e4ebad7cdf/a">raw</a></li>
134 </ul>
132 </ul>
135 </div>
133 </div>
136
134
137 <div class="main">
135 <div class="main">
138 <h2><a href="/">test</a></h2>
136 <h2><a href="/">test</a></h2>
139 <h3>diff a @ 1:78e4ebad7cdf</h3>
137 <h3>diff a @ 1:78e4ebad7cdf</h3>
140
138
141 <form class="search" action="/log">
139 <form class="search" action="/log">
142
140 <p></p>
143 <p><input name="rev" id="search1" type="text" size="30"></p>
141 <p><input name="rev" id="search1" type="text" size="30" /></p>
144 <span>find changesets by author, revision,
142 <div id="hint">find changesets by author, revision,
145 files, or words in the commit message</span>
143 files, or words in the commit message</div>
146 </form>
144 </form>
147
145
148 <div class="description">b</div>
146 <div class="description">b</div>
149
147
150 <table id="changesetEntry">
148 <table id="changesetEntry">
151 <tr>
149 <tr>
152 <th>author</th>
150 <th>author</th>
153 <td>&#116;&#101;&#115;&#116;</td>
151 <td>&#116;&#101;&#115;&#116;</td>
154 </tr>
152 </tr>
155 <tr>
153 <tr>
156 <th>date</th>
154 <th>date</th>
157 <td>Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
155 <td>Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
158 </tr>
156 </tr>
159 <tr>
157 <tr>
160 <th>parents</th>
158 <th>parents</th>
161 <td></td>
159 <td></td>
162 </tr>
160 </tr>
163 <tr>
161 <tr>
164 <th>children</th>
162 <th>children</th>
165 <td></td>
163 <td></td>
166 </tr>
164 </tr>
167
165
168 </table>
166 </table>
169
167
170 <div class="overflow">
168 <div class="overflow">
171 <div class="sourcefirst"> line diff</div>
169 <div class="sourcefirst"> line diff</div>
172
170
173 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000
171 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000
174 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ b/a Thu Jan 01 00:00:00 1970 +0000
172 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ b/a Thu Jan 01 00:00:00 1970 +0000
175 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -0,0 +1,1 @@
173 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -0,0 +1,1 @@
176 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="plusline">+a
174 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="plusline">+a
177 </span></div>
175 </span></div>
178 </div>
176 </div>
179 </div>
177 </div>
180 </div>
178 </div>
181
179
182
180
183
181
184 </body>
182 </body>
185 </html>
183 </html>
186
184
187 % set up hgweb with git diffs
185 % set up hgweb with git diffs
188 % revision
186 % revision
189 200 Script output follows
187 200 Script output follows
190
188
191 <!-- quirksmode -->
189 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
192 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
190 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
193 <html>
194 <head>
191 <head>
195 <link rel="icon" href="/static/hgicon.png" type="image/png">
192 <link rel="icon" href="/static/hgicon.png" type="image/png" />
196 <meta name="robots" content="index, nofollow" />
193 <meta name="robots" content="index, nofollow" />
197 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
194 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
198
195
199 <title>test: 0cd96de13884</title>
196 <title>test: 0cd96de13884</title>
200 </head>
197 </head>
201 <body>
198 <body>
202 <div class="container">
199 <div class="container">
203 <div class="menu">
200 <div class="menu">
204 <div class="logo">
201 <div class="logo">
205 <a href="http://www.selenic.com/mercurial/">
202 <a href="http://www.selenic.com/mercurial/">
206 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
203 <img src="/static/hglogo.png" alt="mercurial" /></a>
207 </div>
204 </div>
208 <ul>
205 <ul>
209 <li><a href="/shortlog/0cd96de13884">log</a></li>
206 <li><a href="/shortlog/0cd96de13884">log</a></li>
210 <li><a href="/graph/0cd96de13884">graph</a></li>
207 <li><a href="/graph/0cd96de13884">graph</a></li>
211 <li><a href="/tags">tags</a></li>
208 <li><a href="/tags">tags</a></li>
212 </ul>
209 </ul>
213 <ul>
210 <ul>
214 <li class="active">changeset</li>
211 <li class="active">changeset</li>
215 <li><a href="/raw-rev/0cd96de13884">raw</a></li>
212 <li><a href="/raw-rev/0cd96de13884">raw</a></li>
216 <li><a href="/file/0cd96de13884">browse</a></li>
213 <li><a href="/file/0cd96de13884">browse</a></li>
217 </ul>
214 </ul>
218 <ul>
215 <ul>
219
216
220 </ul>
217 </ul>
221 </div>
218 </div>
222
219
223 <div class="main">
220 <div class="main">
224
221
225 <h2><a href="/">test</a></h2>
222 <h2><a href="/">test</a></h2>
226 <h3>changeset 0:0cd96de13884 </h3>
223 <h3>changeset 0:0cd96de13884 </h3>
227
224
228 <form class="search" action="/log">
225 <form class="search" action="/log">
229
226
230 <p><input name="rev" id="search1" type="text" size="30"></p>
227 <p><input name="rev" id="search1" type="text" size="30" /></p>
231 <span>find changesets by author, revision,
228 <div id="hint">find changesets by author, revision,
232 files, or words in the commit message</span>
229 files, or words in the commit message</div>
233 </form>
230 </form>
234
231
235 <div class="description">a</div>
232 <div class="description">a</div>
236
233
237 <table id="changesetEntry">
234 <table id="changesetEntry">
238 <tr>
235 <tr>
239 <th class="author">author</th>
236 <th class="author">author</th>
240 <td class="author">&#116;&#101;&#115;&#116;</td>
237 <td class="author">&#116;&#101;&#115;&#116;</td>
241 </tr>
238 </tr>
242 <tr>
239 <tr>
243 <th class="date">date</th>
240 <th class="date">date</th>
244 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td></tr>
241 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td></tr>
245 <tr>
242 <tr>
246 <th class="author">parents</th>
243 <th class="author">parents</th>
247 <td class="author"></td>
244 <td class="author"></td>
248 </tr>
245 </tr>
249 <tr>
246 <tr>
250 <th class="author">children</th>
247 <th class="author">children</th>
251 <td class="author"> <a href="/rev/78e4ebad7cdf">78e4ebad7cdf</a></td>
248 <td class="author"> <a href="/rev/78e4ebad7cdf">78e4ebad7cdf</a></td>
252 </tr>
249 </tr>
253 <tr>
250 <tr>
254 <th class="files">files</th>
251 <th class="files">files</th>
255 <td class="files"><a href="/file/0cd96de13884/a">a</a> <a href="/file/0cd96de13884/b">b</a> </td>
252 <td class="files"><a href="/file/0cd96de13884/a">a</a> <a href="/file/0cd96de13884/b">b</a> </td>
256 </tr>
253 </tr>
257 </table>
254 </table>
258
255
259 <div class="overflow">
256 <div class="overflow">
260 <div class="sourcefirst"> line diff</div>
257 <div class="sourcefirst"> line diff</div>
261
258
262 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> new file mode 100644
259 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> new file mode 100644
263 <a href="#l1.2" id="l1.2"> 1.2</a> <span class="minusline">--- /dev/null
260 <a href="#l1.2" id="l1.2"> 1.2</a> <span class="minusline">--- /dev/null
264 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="plusline">+++ b/a
261 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="plusline">+++ b/a
265 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="atline">@@ -0,0 +1,1 @@
262 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="atline">@@ -0,0 +1,1 @@
266 </span><a href="#l1.5" id="l1.5"> 1.5</a> <span class="plusline">+a
263 </span><a href="#l1.5" id="l1.5"> 1.5</a> <span class="plusline">+a
267 </span></div><div class="source bottomline parity1"><a href="#l2.1" id="l2.1"> 2.1</a> new file mode 100644
264 </span></div><div class="source bottomline parity1"><a href="#l2.1" id="l2.1"> 2.1</a> new file mode 100644
268 <a href="#l2.2" id="l2.2"> 2.2</a> <span class="minusline">--- /dev/null
265 <a href="#l2.2" id="l2.2"> 2.2</a> <span class="minusline">--- /dev/null
269 </span><a href="#l2.3" id="l2.3"> 2.3</a> <span class="plusline">+++ b/b
266 </span><a href="#l2.3" id="l2.3"> 2.3</a> <span class="plusline">+++ b/b
270 </span><a href="#l2.4" id="l2.4"> 2.4</a> <span class="atline">@@ -0,0 +1,1 @@
267 </span><a href="#l2.4" id="l2.4"> 2.4</a> <span class="atline">@@ -0,0 +1,1 @@
271 </span><a href="#l2.5" id="l2.5"> 2.5</a> <span class="plusline">+b
268 </span><a href="#l2.5" id="l2.5"> 2.5</a> <span class="plusline">+b
272 </span></div>
269 </span></div>
273 </div>
270 </div>
274
271
275 </div>
272 </div>
276 </div>
273 </div>
277
274
278
275
279 </body>
276 </body>
280 </html>
277 </html>
281
278
282 % diff removed file
279 % diff removed file
283 200 Script output follows
280 200 Script output follows
284
281
285 <!-- quirksmode -->
282 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
286 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
283 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
287 <html>
288 <head>
284 <head>
289 <link rel="icon" href="/static/hgicon.png" type="image/png">
285 <link rel="icon" href="/static/hgicon.png" type="image/png" />
290 <meta name="robots" content="index, nofollow" />
286 <meta name="robots" content="index, nofollow" />
291 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
287 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
292
288
293 <title>test: a diff</title>
289 <title>test: a diff</title>
294 </head>
290 </head>
295 <body>
291 <body>
296
292
297 <div class="container">
293 <div class="container">
298 <div class="menu">
294 <div class="menu">
299 <div class="logo">
295 <div class="logo">
300 <a href="http://www.selenic.com/mercurial/">
296 <a href="http://www.selenic.com/mercurial/">
301 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
297 <img src="/static/hglogo.png" alt="mercurial" /></a>
302 </div>
298 </div>
303 <ul>
299 <ul>
304 <li><a href="/shortlog/78e4ebad7cdf">log</a></li>
300 <li><a href="/shortlog/78e4ebad7cdf">log</a></li>
305 <li><a href="/graph/78e4ebad7cdf">graph</a></li>
301 <li><a href="/graph/78e4ebad7cdf">graph</a></li>
306 <li><a href="/tags">tags</a></li>
302 <li><a href="/tags">tags</a></li>
307 </ul>
303 </ul>
308 <ul>
304 <ul>
309 <li><a href="/rev/78e4ebad7cdf">changeset</a></li>
305 <li><a href="/rev/78e4ebad7cdf">changeset</a></li>
310 <li><a href="/file/78e4ebad7cdf">browse</a></li>
306 <li><a href="/file/78e4ebad7cdf">browse</a></li>
311 </ul>
307 </ul>
312 <ul>
308 <ul>
313 <li><a href="/file/78e4ebad7cdf/a">file</a></li>
309 <li><a href="/file/78e4ebad7cdf/a">file</a></li>
314 <li class="active">diff</li>
310 <li class="active">diff</li>
315 <li><a href="/annotate/78e4ebad7cdf/a">annotate</a></li>
311 <li><a href="/annotate/78e4ebad7cdf/a">annotate</a></li>
316 <li><a href="/log/78e4ebad7cdf/a">file log</a></li>
312 <li><a href="/log/78e4ebad7cdf/a">file log</a></li>
317 <li><a href="/raw-file/78e4ebad7cdf/a">raw</a></li>
313 <li><a href="/raw-file/78e4ebad7cdf/a">raw</a></li>
318 </ul>
314 </ul>
319 </div>
315 </div>
320
316
321 <div class="main">
317 <div class="main">
322 <h2><a href="/">test</a></h2>
318 <h2><a href="/">test</a></h2>
323 <h3>diff a @ 1:78e4ebad7cdf</h3>
319 <h3>diff a @ 1:78e4ebad7cdf</h3>
324
320
325 <form class="search" action="/log">
321 <form class="search" action="/log">
326
322 <p></p>
327 <p><input name="rev" id="search1" type="text" size="30"></p>
323 <p><input name="rev" id="search1" type="text" size="30" /></p>
328 <span>find changesets by author, revision,
324 <div id="hint">find changesets by author, revision,
329 files, or words in the commit message</span>
325 files, or words in the commit message</div>
330 </form>
326 </form>
331
327
332 <div class="description">b</div>
328 <div class="description">b</div>
333
329
334 <table id="changesetEntry">
330 <table id="changesetEntry">
335 <tr>
331 <tr>
336 <th>author</th>
332 <th>author</th>
337 <td>&#116;&#101;&#115;&#116;</td>
333 <td>&#116;&#101;&#115;&#116;</td>
338 </tr>
334 </tr>
339 <tr>
335 <tr>
340 <th>date</th>
336 <th>date</th>
341 <td>Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
337 <td>Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
342 </tr>
338 </tr>
343 <tr>
339 <tr>
344 <th>parents</th>
340 <th>parents</th>
345 <td></td>
341 <td></td>
346 </tr>
342 </tr>
347 <tr>
343 <tr>
348 <th>children</th>
344 <th>children</th>
349 <td></td>
345 <td></td>
350 </tr>
346 </tr>
351
347
352 </table>
348 </table>
353
349
354 <div class="overflow">
350 <div class="overflow">
355 <div class="sourcefirst"> line diff</div>
351 <div class="sourcefirst"> line diff</div>
356
352
357 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> new file mode 100755
353 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> new file mode 100755
358 <a href="#l1.2" id="l1.2"> 1.2</a> <span class="minusline">--- /dev/null
354 <a href="#l1.2" id="l1.2"> 1.2</a> <span class="minusline">--- /dev/null
359 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="plusline">+++ b/a
355 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="plusline">+++ b/a
360 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="atline">@@ -0,0 +1,1 @@
356 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="atline">@@ -0,0 +1,1 @@
361 </span><a href="#l1.5" id="l1.5"> 1.5</a> <span class="plusline">+a
357 </span><a href="#l1.5" id="l1.5"> 1.5</a> <span class="plusline">+a
362 </span></div>
358 </span></div>
363 </div>
359 </div>
364 </div>
360 </div>
365 </div>
361 </div>
366
362
367
363
368
364
369 </body>
365 </body>
370 </html>
366 </html>
371
367
372 % errors
368 % errors
@@ -1,348 +1,344 b''
1 200 Script output follows
1 200 Script output follows
2
2
3 <!-- quirksmode -->
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
5 <html>
6 <head>
5 <head>
7 <link rel="icon" href="/static/hgicon.png" type="image/png">
6 <link rel="icon" href="/static/hgicon.png" type="image/png" />
8 <meta name="robots" content="index, nofollow" />
7 <meta name="robots" content="index, nofollow" />
9 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
8 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
10
9
11 <title>test: log</title>
10 <title>test: log</title>
12 <link rel="alternate" type="application/atom+xml"
11 <link rel="alternate" type="application/atom+xml"
13 href="/atom-log" title="Atom feed for test">
12 href="/atom-log" title="Atom feed for test" />
14 <link rel="alternate" type="application/rss+xml"
13 <link rel="alternate" type="application/rss+xml"
15 href="/rss-log" title="RSS feed for test">
14 href="/rss-log" title="RSS feed for test" />
16 </head>
15 </head>
17 <body>
16 <body>
18
17
19 <div class="container">
18 <div class="container">
20 <div class="menu">
19 <div class="menu">
21 <div class="logo">
20 <div class="logo">
22 <a href="http://www.selenic.com/mercurial/">
21 <a href="http://www.selenic.com/mercurial/">
23 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
22 <img src="/static/hglogo.png" alt="mercurial" /></a>
24 </div>
23 </div>
25 <ul>
24 <ul>
26 <li class="active">log</li>
25 <li class="active">log</li>
27 <li><a href="/graph/000000000000">graph</a></li>
26 <li><a href="/graph/000000000000">graph</a></li>
28 <li><a href="/tags">tags</a></li>
27 <li><a href="/tags">tags</a></li>
29 </ul>
28 </ul>
30 <ul>
29 <ul>
31 <li><a href="/rev/000000000000">changeset</a></li>
30 <li><a href="/rev/000000000000">changeset</a></li>
32 <li><a href="/file/000000000000">browse</a></li>
31 <li><a href="/file/000000000000">browse</a></li>
33 </ul>
32 </ul>
34 <ul>
33 <ul>
35
34
36 </ul>
35 </ul>
37 </div>
36 </div>
38
37
39 <div class="main">
38 <div class="main">
40 <h2><a href="/">test</a></h2>
39 <h2><a href="/">test</a></h2>
41 <h3>log</h3>
40 <h3>log</h3>
42
41
43 <form class="search" action="/log">
42 <form class="search" action="/log">
44
43
45 <p><input name="rev" id="search1" type="text" size="30"></p>
44 <p><input name="rev" id="search1" type="text" size="30" /></p>
46 <span>find changesets by author, revision,
45 <div id="hint">find changesets by author, revision,
47 files, or words in the commit message</span>
46 files, or words in the commit message</div>
48 </form>
47 </form>
49
48
50 <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div>
49 <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div>
51
50
52 <table class="bigtable">
51 <table class="bigtable">
53 <tr>
52 <tr>
54 <th class="age">age</th>
53 <th class="age">age</th>
55 <th class="author">author</th>
54 <th class="author">author</th>
56 <th class="description">description</th>
55 <th class="description">description</th>
57 </tr>
56 </tr>
58
57
59 </table>
58 </table>
60
59
61 <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div>
60 <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div>
62 </div>
61 </div>
63 </div>
62 </div>
64
63
65
64
66
65
67 </body>
66 </body>
68 </html>
67 </html>
69
68
70 200 Script output follows
69 200 Script output follows
71
70
72 <!-- quirksmode -->
71 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
73 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
72 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
74 <html>
75 <head>
73 <head>
76 <link rel="icon" href="/static/hgicon.png" type="image/png">
74 <link rel="icon" href="/static/hgicon.png" type="image/png" />
77 <meta name="robots" content="index, nofollow" />
75 <meta name="robots" content="index, nofollow" />
78 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
76 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
79
77
80 <title>test: log</title>
78 <title>test: log</title>
81 <link rel="alternate" type="application/atom+xml"
79 <link rel="alternate" type="application/atom+xml"
82 href="/atom-log" title="Atom feed for test">
80 href="/atom-log" title="Atom feed for test" />
83 <link rel="alternate" type="application/rss+xml"
81 <link rel="alternate" type="application/rss+xml"
84 href="/rss-log" title="RSS feed for test">
82 href="/rss-log" title="RSS feed for test" />
85 </head>
83 </head>
86 <body>
84 <body>
87
85
88 <div class="container">
86 <div class="container">
89 <div class="menu">
87 <div class="menu">
90 <div class="logo">
88 <div class="logo">
91 <a href="http://www.selenic.com/mercurial/">
89 <a href="http://www.selenic.com/mercurial/">
92 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
90 <img src="/static/hglogo.png" alt="mercurial" /></a>
93 </div>
91 </div>
94 <ul>
92 <ul>
95 <li class="active">log</li>
93 <li class="active">log</li>
96 <li><a href="/graph/000000000000">graph</a></li>
94 <li><a href="/graph/000000000000">graph</a></li>
97 <li><a href="/tags">tags</a></li>
95 <li><a href="/tags">tags</a></li>
98 </ul>
96 </ul>
99 <ul>
97 <ul>
100 <li><a href="/rev/000000000000">changeset</a></li>
98 <li><a href="/rev/000000000000">changeset</a></li>
101 <li><a href="/file/000000000000">browse</a></li>
99 <li><a href="/file/000000000000">browse</a></li>
102 </ul>
100 </ul>
103 <ul>
101 <ul>
104
102
105 </ul>
103 </ul>
106 </div>
104 </div>
107
105
108 <div class="main">
106 <div class="main">
109 <h2><a href="/">test</a></h2>
107 <h2><a href="/">test</a></h2>
110 <h3>log</h3>
108 <h3>log</h3>
111
109
112 <form class="search" action="/log">
110 <form class="search" action="/log">
113
111
114 <p><input name="rev" id="search1" type="text" size="30"></p>
112 <p><input name="rev" id="search1" type="text" size="30" /></p>
115 <span>find changesets by author, revision,
113 <div id="hint">find changesets by author, revision,
116 files, or words in the commit message</span>
114 files, or words in the commit message</div>
117 </form>
115 </form>
118
116
119 <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div>
117 <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div>
120
118
121 <table class="bigtable">
119 <table class="bigtable">
122 <tr>
120 <tr>
123 <th class="age">age</th>
121 <th class="age">age</th>
124 <th class="author">author</th>
122 <th class="author">author</th>
125 <th class="description">description</th>
123 <th class="description">description</th>
126 </tr>
124 </tr>
127
125
128 </table>
126 </table>
129
127
130 <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div>
128 <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div>
131 </div>
129 </div>
132 </div>
130 </div>
133
131
134
132
135
133
136 </body>
134 </body>
137 </html>
135 </html>
138
136
139 200 Script output follows
137 200 Script output follows
140
138
141 <!-- quirksmode -->
139 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
142 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
140 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
143 <html>
144 <head>
141 <head>
145 <link rel="icon" href="/static/hgicon.png" type="image/png">
142 <link rel="icon" href="/static/hgicon.png" type="image/png" />
146 <meta name="robots" content="index, nofollow" />
143 <meta name="robots" content="index, nofollow" />
147 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
144 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
148
145
149 <title>test: revision graph</title>
146 <title>test: revision graph</title>
150 <link rel="alternate" type="application/atom+xml"
147 <link rel="alternate" type="application/atom+xml"
151 href="/atom-log" title="Atom feed for test: log">
148 href="/atom-log" title="Atom feed for test: log" />
152 <link rel="alternate" type="application/rss+xml"
149 <link rel="alternate" type="application/rss+xml"
153 href="/rss-log" title="RSS feed for test: log">
150 href="/rss-log" title="RSS feed for test: log" />
154 <!--[if IE]><script type="text/javascript" src="/static/excanvas.js"></script><![endif]-->
151 <!--[if IE]><script type="text/javascript" src="/static/excanvas.js"></script><![endif]-->
155 </head>
152 </head>
156 <body>
153 <body>
157
154
158 <div class="container">
155 <div class="container">
159 <div class="menu">
156 <div class="menu">
160 <div class="logo">
157 <div class="logo">
161 <a href="http://www.selenic.com/mercurial/">
158 <a href="http://www.selenic.com/mercurial/">
162 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
159 <img src="/static/hglogo.png" alt="mercurial" /></a>
163 </div>
160 </div>
164 <ul>
161 <ul>
165 <li><a href="/shortlog/000000000000">log</a></li>
162 <li><a href="/shortlog/000000000000">log</a></li>
166 <li class="active">graph</li>
163 <li class="active">graph</li>
167 <li><a href="/tags">tags</a></li>
164 <li><a href="/tags">tags</a></li>
168 </ul>
165 </ul>
169 <ul>
166 <ul>
170 <li><a href="/rev/000000000000">changeset</a></li>
167 <li><a href="/rev/000000000000">changeset</a></li>
171 <li><a href="/file/000000000000">browse</a></li>
168 <li><a href="/file/000000000000">browse</a></li>
172 </ul>
169 </ul>
173 </div>
170 </div>
174
171
175 <div class="main">
172 <div class="main">
176 <h2><a href="/">test</a></h2>
173 <h2><a href="/">test</a></h2>
177 <h3>graph</h3>
174 <h3>graph</h3>
178
175
179 <form class="search" action="/log">
176 <form class="search" action="/log">
180
177
181 <p><input name="rev" id="search1" type="text" size="30"></p>
178 <p><input name="rev" id="search1" type="text" size="30" /></p>
182 <span>find changesets by author, revision,
179 <div id="hint">find changesets by author, revision,
183 files, or words in the commit message</span>
180 files, or words in the commit message</div>
184 </form>
181 </form>
185
182
186 <div class="navigate">
183 <div class="navigate">
187 <a href="/graph/-1?revcount=12">less</a>
184 <a href="/graph/-1?revcount=12">less</a>
188 <a href="/graph/-1?revcount=50">more</a>
185 <a href="/graph/-1?revcount=50">more</a>
189 | rev -1: <a href="/graph/000000000000">(0)</a> <a href="/graph/tip">tip</a>
186 | rev -1: <a href="/graph/000000000000">(0)</a> <a href="/graph/tip">tip</a>
190 </div>
187 </div>
191
188
192 <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript>
189 <noscript><p>The revision graph only works with JavaScript-enabled browsers.</p></noscript>
193
190
194 <div id="wrapper">
191 <div id="wrapper">
195 <ul id="nodebgs"></ul>
192 <ul id="nodebgs"></ul>
196 <canvas id="graph" width="224" height="12"></canvas>
193 <canvas id="graph" width="224" height="12"></canvas>
197 <ul id="graphnodes"></ul>
194 <ul id="graphnodes"></ul>
198 </div>
195 </div>
199
196
200 <script type="text/javascript" src="/static/graph.js"></script>
197 <script type="text/javascript" src="/static/graph.js"></script>
201 <script type="text/javascript">
198 <script type="text/javascript">
202 <!-- hide script content
199 <!-- hide script content
203
200
204 var data = [];
201 var data = [];
205 var graph = new Graph();
202 var graph = new Graph();
206 graph.scale(39);
203 graph.scale(39);
207
204
208 graph.edge = function(x0, y0, x1, y1, color) {
205 graph.edge = function(x0, y0, x1, y1, color) {
209
206
210 this.setColor(color, 0.0, 0.65);
207 this.setColor(color, 0.0, 0.65);
211 this.ctx.beginPath();
208 this.ctx.beginPath();
212 this.ctx.moveTo(x0, y0);
209 this.ctx.moveTo(x0, y0);
213 this.ctx.lineTo(x1, y1);
210 this.ctx.lineTo(x1, y1);
214 this.ctx.stroke();
211 this.ctx.stroke();
215
212
216 }
213 }
217
214
218 var revlink = '<li style="_STYLE"><span class="desc">';
215 var revlink = '<li style="_STYLE"><span class="desc">';
219 revlink += '<a href="/rev/_NODEID" title="_NODEID">_DESC</a>';
216 revlink += '<a href="/rev/_NODEID" title="_NODEID">_DESC</a>';
220 revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>';
217 revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>';
221
218
222 graph.vertex = function(x, y, color, parity, cur) {
219 graph.vertex = function(x, y, color, parity, cur) {
223
220
224 this.ctx.beginPath();
221 this.ctx.beginPath();
225 color = this.setColor(color, 0.25, 0.75);
222 color = this.setColor(color, 0.25, 0.75);
226 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
223 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
227 this.ctx.fill();
224 this.ctx.fill();
228
225
229 var bg = '<li class="bg parity' + parity + '"></li>';
226 var bg = '<li class="bg parity' + parity + '"></li>';
230 var left = (this.columns + 1) * this.bg_height;
227 var left = (this.columns + 1) * this.bg_height;
231 var nstyle = 'padding-left: ' + left + 'px;';
228 var nstyle = 'padding-left: ' + left + 'px;';
232 var item = revlink.replace(/_STYLE/, nstyle);
229 var item = revlink.replace(/_STYLE/, nstyle);
233 item = item.replace(/_PARITY/, 'parity' + parity);
230 item = item.replace(/_PARITY/, 'parity' + parity);
234 item = item.replace(/_NODEID/, cur[0]);
231 item = item.replace(/_NODEID/, cur[0]);
235 item = item.replace(/_NODEID/, cur[0]);
232 item = item.replace(/_NODEID/, cur[0]);
236 item = item.replace(/_DESC/, cur[3]);
233 item = item.replace(/_DESC/, cur[3]);
237 item = item.replace(/_USER/, cur[4]);
234 item = item.replace(/_USER/, cur[4]);
238 item = item.replace(/_DATE/, cur[5]);
235 item = item.replace(/_DATE/, cur[5]);
239
236
240 var tagspan = '';
237 var tagspan = '';
241 if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) {
238 if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) {
242 tagspan = '<span class="logtags">';
239 tagspan = '<span class="logtags">';
243 if (cur[6][1]) {
240 if (cur[6][1]) {
244 tagspan += '<span class="branchhead" title="' + cur[6][0] + '">';
241 tagspan += '<span class="branchhead" title="' + cur[6][0] + '">';
245 tagspan += cur[6][0] + '</span> ';
242 tagspan += cur[6][0] + '</span> ';
246 } else if (!cur[6][1] && cur[6][0] != 'default') {
243 } else if (!cur[6][1] && cur[6][0] != 'default') {
247 tagspan += '<span class="branchname" title="' + cur[6][0] + '">';
244 tagspan += '<span class="branchname" title="' + cur[6][0] + '">';
248 tagspan += cur[6][0] + '</span> ';
245 tagspan += cur[6][0] + '</span> ';
249 }
246 }
250 if (cur[7].length) {
247 if (cur[7].length) {
251 for (var t in cur[7]) {
248 for (var t in cur[7]) {
252 var tag = cur[7][t];
249 var tag = cur[7][t];
253 tagspan += '<span class="tag">' + tag + '</span> ';
250 tagspan += '<span class="tag">' + tag + '</span> ';
254 }
251 }
255 }
252 }
256 tagspan += '</span>';
253 tagspan += '</span>';
257 }
254 }
258
255
259 item = item.replace(/_TAGS/, tagspan);
256 item = item.replace(/_TAGS/, tagspan);
260 return [bg, item];
257 return [bg, item];
261
258
262 }
259 }
263
260
264 graph.render(data);
261 graph.render(data);
265
262
266 // stop hiding script -->
263 // stop hiding script -->
267 </script>
264 </script>
268
265
269 <div class="navigate">
266 <div class="navigate">
270 <a href="/graph/-1?revcount=12">less</a>
267 <a href="/graph/-1?revcount=12">less</a>
271 <a href="/graph/-1?revcount=50">more</a>
268 <a href="/graph/-1?revcount=50">more</a>
272 | rev -1: <a href="/graph/000000000000">(0)</a> <a href="/graph/tip">tip</a>
269 | rev -1: <a href="/graph/000000000000">(0)</a> <a href="/graph/tip">tip</a>
273 </div>
270 </div>
274
271
275 </div>
272 </div>
276 </div>
273 </div>
277
274
278
275
279
276
280 </body>
277 </body>
281 </html>
278 </html>
282
279
283 200 Script output follows
280 200 Script output follows
284
281
285 <!-- quirksmode -->
282 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
286 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
283 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
287 <html>
288 <head>
284 <head>
289 <link rel="icon" href="/static/hgicon.png" type="image/png">
285 <link rel="icon" href="/static/hgicon.png" type="image/png" />
290 <meta name="robots" content="index, nofollow" />
286 <meta name="robots" content="index, nofollow" />
291 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
287 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
292
288
293 <title>test: 000000000000 /</title>
289 <title>test: 000000000000 /</title>
294 </head>
290 </head>
295 <body>
291 <body>
296
292
297 <div class="container">
293 <div class="container">
298 <div class="menu">
294 <div class="menu">
299 <div class="logo">
295 <div class="logo">
300 <a href="http://www.selenic.com/mercurial/">
296 <a href="http://www.selenic.com/mercurial/">
301 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
297 <img src="/static/hglogo.png" alt="mercurial" /></a>
302 </div>
298 </div>
303 <ul>
299 <ul>
304 <li><a href="/shortlog/000000000000">log</a></li>
300 <li><a href="/shortlog/000000000000">log</a></li>
305 <li><a href="/graph/000000000000">graph</a></li>
301 <li><a href="/graph/000000000000">graph</a></li>
306 <li><a href="/tags">tags</a></li>
302 <li><a href="/tags">tags</a></li>
307 </ul>
303 </ul>
308 <ul>
304 <ul>
309 <li><a href="/rev/000000000000">changeset</a></li>
305 <li><a href="/rev/000000000000">changeset</a></li>
310 <li class="active">browse</li>
306 <li class="active">browse</li>
311 </ul>
307 </ul>
312 <ul>
308 <ul>
313
309
314 </ul>
310 </ul>
315 </div>
311 </div>
316
312
317 <div class="main">
313 <div class="main">
318 <h2><a href="/">test</a></h2>
314 <h2><a href="/">test</a></h2>
319 <h3>directory / @ -1:000000000000 <span class="tag">tip</span> </h3>
315 <h3>directory / @ -1:000000000000 <span class="tag">tip</span> </h3>
320
316
321 <form class="search" action="/log">
317 <form class="search" action="/log">
322
318
323 <p><input name="rev" id="search1" type="text" size="30"></p>
319 <p><input name="rev" id="search1" type="text" size="30" /></p>
324 <span>find changesets by author, revision,
320 <div id="hint">find changesets by author, revision,
325 files, or words in the commit message</span>
321 files, or words in the commit message</div>
326 </form>
322 </form>
327
323
328 <table class="bigtable">
324 <table class="bigtable">
329 <tr>
325 <tr>
330 <th class="name">name</th>
326 <th class="name">name</th>
331 <th class="size">size</th>
327 <th class="size">size</th>
332 <th class="permissions">permissions</th>
328 <th class="permissions">permissions</th>
333 </tr>
329 </tr>
334 <tr class="fileline parity0">
330 <tr class="fileline parity0">
335 <td class="name"><a href="/file/000000000000/">[up]</a></td>
331 <td class="name"><a href="/file/000000000000/">[up]</a></td>
336 <td class="size"></td>
332 <td class="size"></td>
337 <td class="permissions">drwxr-xr-x</td>
333 <td class="permissions">drwxr-xr-x</td>
338 </tr>
334 </tr>
339
335
340
336
341 </table>
337 </table>
342 </div>
338 </div>
343 </div>
339 </div>
344
340
345
341
346 </body>
342 </body>
347 </html>
343 </html>
348
344
@@ -1,560 +1,555 b''
1 adding b
1 adding b
2 adding a
2 adding a
3 adding a
3 adding a
4 changeset: 6:38d962e6234d
4 changeset: 6:38d962e6234d
5 tag: tip
5 tag: tip
6 user: test
6 user: test
7 date: Thu Jan 01 00:00:00 1970 +0000
7 date: Thu Jan 01 00:00:00 1970 +0000
8 summary: change c
8 summary: change c
9
9
10 diff -r a3b6a9e4507e -r 38d962e6234d c
10 diff -r a3b6a9e4507e -r 38d962e6234d c
11 --- a/c Thu Jan 01 00:00:00 1970 +0000
11 --- a/c Thu Jan 01 00:00:00 1970 +0000
12 +++ b/c Thu Jan 01 00:00:00 1970 +0000
12 +++ b/c Thu Jan 01 00:00:00 1970 +0000
13 @@ -1,1 +1,2 @@
13 @@ -1,1 +1,2 @@
14 b
14 b
15 +c
15 +c
16
16
17 changeset: 5:a3b6a9e4507e
17 changeset: 5:a3b6a9e4507e
18 user: test
18 user: test
19 date: Thu Jan 01 00:00:00 1970 +0000
19 date: Thu Jan 01 00:00:00 1970 +0000
20 summary: mv b
20 summary: mv b
21
21
22 diff -r 52e848cdcd88 -r a3b6a9e4507e b
22 diff -r 52e848cdcd88 -r a3b6a9e4507e b
23 --- a/b Thu Jan 01 00:00:00 1970 +0000
23 --- a/b Thu Jan 01 00:00:00 1970 +0000
24 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
24 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
25 @@ -1,1 +0,0 @@
25 @@ -1,1 +0,0 @@
26 -b
26 -b
27 diff -r 52e848cdcd88 -r a3b6a9e4507e c
27 diff -r 52e848cdcd88 -r a3b6a9e4507e c
28 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
28 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
29 +++ b/c Thu Jan 01 00:00:00 1970 +0000
29 +++ b/c Thu Jan 01 00:00:00 1970 +0000
30 @@ -0,0 +1,1 @@
30 @@ -0,0 +1,1 @@
31 +b
31 +b
32
32
33 changeset: 4:52e848cdcd88
33 changeset: 4:52e848cdcd88
34 user: test
34 user: test
35 date: Thu Jan 01 00:00:00 1970 +0000
35 date: Thu Jan 01 00:00:00 1970 +0000
36 summary: del2 a
36 summary: del2 a
37
37
38 diff -r 01de2d66a28d -r 52e848cdcd88 a
38 diff -r 01de2d66a28d -r 52e848cdcd88 a
39 --- a/a Thu Jan 01 00:00:00 1970 +0000
39 --- a/a Thu Jan 01 00:00:00 1970 +0000
40 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
40 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
41 @@ -1,1 +0,0 @@
41 @@ -1,1 +0,0 @@
42 -b
42 -b
43
43
44 changeset: 3:01de2d66a28d
44 changeset: 3:01de2d66a28d
45 user: test
45 user: test
46 date: Thu Jan 01 00:00:00 1970 +0000
46 date: Thu Jan 01 00:00:00 1970 +0000
47 summary: second a
47 summary: second a
48
48
49 diff -r be3ebcc91739 -r 01de2d66a28d a
49 diff -r be3ebcc91739 -r 01de2d66a28d a
50 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
50 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
51 +++ b/a Thu Jan 01 00:00:00 1970 +0000
51 +++ b/a Thu Jan 01 00:00:00 1970 +0000
52 @@ -0,0 +1,1 @@
52 @@ -0,0 +1,1 @@
53 +b
53 +b
54
54
55 changeset: 2:be3ebcc91739
55 changeset: 2:be3ebcc91739
56 user: test
56 user: test
57 date: Thu Jan 01 00:00:00 1970 +0000
57 date: Thu Jan 01 00:00:00 1970 +0000
58 summary: del a
58 summary: del a
59
59
60 diff -r 5ed941583260 -r be3ebcc91739 a
60 diff -r 5ed941583260 -r be3ebcc91739 a
61 --- a/a Thu Jan 01 00:00:00 1970 +0000
61 --- a/a Thu Jan 01 00:00:00 1970 +0000
62 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
62 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
63 @@ -1,1 +0,0 @@
63 @@ -1,1 +0,0 @@
64 -a
64 -a
65
65
66 changeset: 1:5ed941583260
66 changeset: 1:5ed941583260
67 user: test
67 user: test
68 date: Thu Jan 01 00:00:00 1970 +0000
68 date: Thu Jan 01 00:00:00 1970 +0000
69 summary: first a
69 summary: first a
70
70
71 diff -r 6563da9dcf87 -r 5ed941583260 a
71 diff -r 6563da9dcf87 -r 5ed941583260 a
72 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
72 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
73 +++ b/a Thu Jan 01 00:00:00 1970 +0000
73 +++ b/a Thu Jan 01 00:00:00 1970 +0000
74 @@ -0,0 +1,1 @@
74 @@ -0,0 +1,1 @@
75 +a
75 +a
76
76
77 changeset: 0:6563da9dcf87
77 changeset: 0:6563da9dcf87
78 user: test
78 user: test
79 date: Thu Jan 01 00:00:00 1970 +0000
79 date: Thu Jan 01 00:00:00 1970 +0000
80 summary: b
80 summary: b
81
81
82 diff -r 000000000000 -r 6563da9dcf87 b
82 diff -r 000000000000 -r 6563da9dcf87 b
83 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
83 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
84 +++ b/b Thu Jan 01 00:00:00 1970 +0000
84 +++ b/b Thu Jan 01 00:00:00 1970 +0000
85 @@ -0,0 +1,1 @@
85 @@ -0,0 +1,1 @@
86 +b
86 +b
87
87
88 % tip - two revisions
88 % tip - two revisions
89 200 Script output follows
89 200 Script output follows
90
90
91 <!-- quirksmode -->
91 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
92 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
92 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
93 <html>
94 <head>
93 <head>
95 <link rel="icon" href="/static/hgicon.png" type="image/png">
94 <link rel="icon" href="/static/hgicon.png" type="image/png" />
96 <meta name="robots" content="index, nofollow" />
95 <meta name="robots" content="index, nofollow" />
97 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
96 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
98
97
99 <title>test: a history</title>
98 <title>test: a history</title>
100 <link rel="alternate" type="application/atom+xml"
99 <link rel="alternate" type="application/atom+xml"
101 href="/atom-log/tip/a" title="Atom feed for test:a">
100 href="/atom-log/tip/a" title="Atom feed for test:a" />
102 <link rel="alternate" type="application/rss+xml"
101 <link rel="alternate" type="application/rss+xml"
103 href="/rss-log/tip/a" title="RSS feed for test:a">
102 href="/rss-log/tip/a" title="RSS feed for test:a" />
104 </head>
103 </head>
105 <body>
104 <body>
106
105
107 <div class="container">
106 <div class="container">
108 <div class="menu">
107 <div class="menu">
109 <div class="logo">
108 <div class="logo">
110 <a href="http://www.selenic.com/mercurial/">
109 <a href="http://www.selenic.com/mercurial/">
111 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
110 <img src="/static/hglogo.png" alt="mercurial" /></a>
112 </div>
111 </div>
113 <ul>
112 <ul>
114 <li><a href="/shortlog/01de2d66a28d">log</a></li>
113 <li><a href="/shortlog/01de2d66a28d">log</a></li>
115 <li><a href="/graph/01de2d66a28d">graph</a></li>
114 <li><a href="/graph/01de2d66a28d">graph</a></li>
116 <li><a href="/tags">tags</a></li>
115 <li><a href="/tags">tags</a></li>
117 </ul>
116 </ul>
118 <ul>
117 <ul>
119 <li><a href="/rev/01de2d66a28d">changeset</a></li>
118 <li><a href="/rev/01de2d66a28d">changeset</a></li>
120 <li><a href="/file/01de2d66a28d">browse</a></li>
119 <li><a href="/file/01de2d66a28d">browse</a></li>
121 </ul>
120 </ul>
122 <ul>
121 <ul>
123 <li><a href="/file/01de2d66a28d/a">file</a></li>
122 <li><a href="/file/01de2d66a28d/a">file</a></li>
124 <li><a href="/diff/01de2d66a28d/a">diff</a></li>
123 <li><a href="/diff/01de2d66a28d/a">diff</a></li>
125 <li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
124 <li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
126 <li class="active">file log</li>
125 <li class="active">file log</li>
127 <li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
126 <li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
128 </ul>
127 </ul>
129 </div>
128 </div>
130
129
131 <div class="main">
130 <div class="main">
132 <h2><a href="/">test</a></h2>
131 <h2><a href="/">test</a></h2>
133 <h3>log a</h3>
132 <h3>log a</h3>
134
133
135 <form class="search" action="/log">
134 <form class="search" action="/log">
136
135
137 <p><input name="rev" id="search1" type="text" size="30"></p>
136 <p><input name="rev" id="search1" type="text" size="30" /></p>
138 <span>find changesets by author, revision,
137 <div id="hint">find changesets by author, revision,
139 files, or words in the commit message</span>
138 files, or words in the commit message</div>
140 </form>
139 </form>
141
140
142 <div class="navigate"><a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
141 <div class="navigate"><a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
143
142
144 <table class="bigtable">
143 <table class="bigtable">
145 <tr>
144 <tr>
146 <th class="age">age</th>
145 <th class="age">age</th>
147 <th class="author">author</th>
146 <th class="author">author</th>
148 <th class="description">description</th>
147 <th class="description">description</th>
149 </tr>
148 </tr>
150 <tr class="parity0">
149 <tr class="parity0">
151 <td class="age">many years</td>
150 <td class="age">many years</td>
152 <td class="author">test</td>
151 <td class="author">test</td>
153 <td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
152 <td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
154 </tr>
153 </tr>
155 <tr class="parity1">
154 <tr class="parity1">
156 <td class="age">many years</td>
155 <td class="age">many years</td>
157 <td class="author">test</td>
156 <td class="author">test</td>
158 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
157 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
159 </tr>
158 </tr>
160
159
161 </table>
160 </table>
162
161
163 </div>
162 </div>
164 </div>
163 </div>
165
164
166
165
167
166
168 </body>
167 </body>
169 </html>
168 </html>
170
169
171 % second version - two revisions
170 % second version - two revisions
172 200 Script output follows
171 200 Script output follows
173
172
174 <!-- quirksmode -->
173 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
175 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
174 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
176 <html>
177 <head>
175 <head>
178 <link rel="icon" href="/static/hgicon.png" type="image/png">
176 <link rel="icon" href="/static/hgicon.png" type="image/png" />
179 <meta name="robots" content="index, nofollow" />
177 <meta name="robots" content="index, nofollow" />
180 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
178 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
181
179
182 <title>test: a history</title>
180 <title>test: a history</title>
183 <link rel="alternate" type="application/atom+xml"
181 <link rel="alternate" type="application/atom+xml"
184 href="/atom-log/tip/a" title="Atom feed for test:a">
182 href="/atom-log/tip/a" title="Atom feed for test:a" />
185 <link rel="alternate" type="application/rss+xml"
183 <link rel="alternate" type="application/rss+xml"
186 href="/rss-log/tip/a" title="RSS feed for test:a">
184 href="/rss-log/tip/a" title="RSS feed for test:a" />
187 </head>
185 </head>
188 <body>
186 <body>
189
187
190 <div class="container">
188 <div class="container">
191 <div class="menu">
189 <div class="menu">
192 <div class="logo">
190 <div class="logo">
193 <a href="http://www.selenic.com/mercurial/">
191 <a href="http://www.selenic.com/mercurial/">
194 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
192 <img src="/static/hglogo.png" alt="mercurial" /></a>
195 </div>
193 </div>
196 <ul>
194 <ul>
197 <li><a href="/shortlog/01de2d66a28d">log</a></li>
195 <li><a href="/shortlog/01de2d66a28d">log</a></li>
198 <li><a href="/graph/01de2d66a28d">graph</a></li>
196 <li><a href="/graph/01de2d66a28d">graph</a></li>
199 <li><a href="/tags">tags</a></li>
197 <li><a href="/tags">tags</a></li>
200 </ul>
198 </ul>
201 <ul>
199 <ul>
202 <li><a href="/rev/01de2d66a28d">changeset</a></li>
200 <li><a href="/rev/01de2d66a28d">changeset</a></li>
203 <li><a href="/file/01de2d66a28d">browse</a></li>
201 <li><a href="/file/01de2d66a28d">browse</a></li>
204 </ul>
202 </ul>
205 <ul>
203 <ul>
206 <li><a href="/file/01de2d66a28d/a">file</a></li>
204 <li><a href="/file/01de2d66a28d/a">file</a></li>
207 <li><a href="/diff/01de2d66a28d/a">diff</a></li>
205 <li><a href="/diff/01de2d66a28d/a">diff</a></li>
208 <li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
206 <li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
209 <li class="active">file log</li>
207 <li class="active">file log</li>
210 <li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
208 <li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
211 </ul>
209 </ul>
212 </div>
210 </div>
213
211
214 <div class="main">
212 <div class="main">
215 <h2><a href="/">test</a></h2>
213 <h2><a href="/">test</a></h2>
216 <h3>log a</h3>
214 <h3>log a</h3>
217
215
218 <form class="search" action="/log">
216 <form class="search" action="/log">
219
217
220 <p><input name="rev" id="search1" type="text" size="30"></p>
218 <p><input name="rev" id="search1" type="text" size="30" /></p>
221 <span>find changesets by author, revision,
219 <div id="hint">find changesets by author, revision,
222 files, or words in the commit message</span>
220 files, or words in the commit message</div>
223 </form>
221 </form>
224
222
225 <div class="navigate"><a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
223 <div class="navigate"><a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
226
224
227 <table class="bigtable">
225 <table class="bigtable">
228 <tr>
226 <tr>
229 <th class="age">age</th>
227 <th class="age">age</th>
230 <th class="author">author</th>
228 <th class="author">author</th>
231 <th class="description">description</th>
229 <th class="description">description</th>
232 </tr>
230 </tr>
233 <tr class="parity0">
231 <tr class="parity0">
234 <td class="age">many years</td>
232 <td class="age">many years</td>
235 <td class="author">test</td>
233 <td class="author">test</td>
236 <td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
234 <td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
237 </tr>
235 </tr>
238 <tr class="parity1">
236 <tr class="parity1">
239 <td class="age">many years</td>
237 <td class="age">many years</td>
240 <td class="author">test</td>
238 <td class="author">test</td>
241 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
239 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
242 </tr>
240 </tr>
243
241
244 </table>
242 </table>
245
243
246 </div>
244 </div>
247 </div>
245 </div>
248
246
249
247
250
248
251 </body>
249 </body>
252 </html>
250 </html>
253
251
254 % first deleted - one revision
252 % first deleted - one revision
255 200 Script output follows
253 200 Script output follows
256
254
257 <!-- quirksmode -->
255 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
258 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
256 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
259 <html>
260 <head>
257 <head>
261 <link rel="icon" href="/static/hgicon.png" type="image/png">
258 <link rel="icon" href="/static/hgicon.png" type="image/png" />
262 <meta name="robots" content="index, nofollow" />
259 <meta name="robots" content="index, nofollow" />
263 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
260 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
264
261
265 <title>test: a history</title>
262 <title>test: a history</title>
266 <link rel="alternate" type="application/atom+xml"
263 <link rel="alternate" type="application/atom+xml"
267 href="/atom-log/tip/a" title="Atom feed for test:a">
264 href="/atom-log/tip/a" title="Atom feed for test:a" />
268 <link rel="alternate" type="application/rss+xml"
265 <link rel="alternate" type="application/rss+xml"
269 href="/rss-log/tip/a" title="RSS feed for test:a">
266 href="/rss-log/tip/a" title="RSS feed for test:a" />
270 </head>
267 </head>
271 <body>
268 <body>
272
269
273 <div class="container">
270 <div class="container">
274 <div class="menu">
271 <div class="menu">
275 <div class="logo">
272 <div class="logo">
276 <a href="http://www.selenic.com/mercurial/">
273 <a href="http://www.selenic.com/mercurial/">
277 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
274 <img src="/static/hglogo.png" alt="mercurial" /></a>
278 </div>
275 </div>
279 <ul>
276 <ul>
280 <li><a href="/shortlog/5ed941583260">log</a></li>
277 <li><a href="/shortlog/5ed941583260">log</a></li>
281 <li><a href="/graph/5ed941583260">graph</a></li>
278 <li><a href="/graph/5ed941583260">graph</a></li>
282 <li><a href="/tags">tags</a></li>
279 <li><a href="/tags">tags</a></li>
283 </ul>
280 </ul>
284 <ul>
281 <ul>
285 <li><a href="/rev/5ed941583260">changeset</a></li>
282 <li><a href="/rev/5ed941583260">changeset</a></li>
286 <li><a href="/file/5ed941583260">browse</a></li>
283 <li><a href="/file/5ed941583260">browse</a></li>
287 </ul>
284 </ul>
288 <ul>
285 <ul>
289 <li><a href="/file/5ed941583260/a">file</a></li>
286 <li><a href="/file/5ed941583260/a">file</a></li>
290 <li><a href="/diff/5ed941583260/a">diff</a></li>
287 <li><a href="/diff/5ed941583260/a">diff</a></li>
291 <li><a href="/annotate/5ed941583260/a">annotate</a></li>
288 <li><a href="/annotate/5ed941583260/a">annotate</a></li>
292 <li class="active">file log</li>
289 <li class="active">file log</li>
293 <li><a href="/raw-file/5ed941583260/a">raw</a></li>
290 <li><a href="/raw-file/5ed941583260/a">raw</a></li>
294 </ul>
291 </ul>
295 </div>
292 </div>
296
293
297 <div class="main">
294 <div class="main">
298 <h2><a href="/">test</a></h2>
295 <h2><a href="/">test</a></h2>
299 <h3>log a</h3>
296 <h3>log a</h3>
300
297
301 <form class="search" action="/log">
298 <form class="search" action="/log">
302
299
303 <p><input name="rev" id="search1" type="text" size="30"></p>
300 <p><input name="rev" id="search1" type="text" size="30" /></p>
304 <span>find changesets by author, revision,
301 <div id="hint">find changesets by author, revision,
305 files, or words in the commit message</span>
302 files, or words in the commit message</div>
306 </form>
303 </form>
307
304
308 <div class="navigate"><a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
305 <div class="navigate"><a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
309
306
310 <table class="bigtable">
307 <table class="bigtable">
311 <tr>
308 <tr>
312 <th class="age">age</th>
309 <th class="age">age</th>
313 <th class="author">author</th>
310 <th class="author">author</th>
314 <th class="description">description</th>
311 <th class="description">description</th>
315 </tr>
312 </tr>
316 <tr class="parity0">
313 <tr class="parity0">
317 <td class="age">many years</td>
314 <td class="age">many years</td>
318 <td class="author">test</td>
315 <td class="author">test</td>
319 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
316 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
320 </tr>
317 </tr>
321
318
322 </table>
319 </table>
323
320
324 </div>
321 </div>
325 </div>
322 </div>
326
323
327
324
328
325
329 </body>
326 </body>
330 </html>
327 </html>
331
328
332 % first version - one revision
329 % first version - one revision
333 200 Script output follows
330 200 Script output follows
334
331
335 <!-- quirksmode -->
332 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
336 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
333 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
337 <html>
338 <head>
334 <head>
339 <link rel="icon" href="/static/hgicon.png" type="image/png">
335 <link rel="icon" href="/static/hgicon.png" type="image/png" />
340 <meta name="robots" content="index, nofollow" />
336 <meta name="robots" content="index, nofollow" />
341 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
337 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
342
338
343 <title>test: a history</title>
339 <title>test: a history</title>
344 <link rel="alternate" type="application/atom+xml"
340 <link rel="alternate" type="application/atom+xml"
345 href="/atom-log/tip/a" title="Atom feed for test:a">
341 href="/atom-log/tip/a" title="Atom feed for test:a" />
346 <link rel="alternate" type="application/rss+xml"
342 <link rel="alternate" type="application/rss+xml"
347 href="/rss-log/tip/a" title="RSS feed for test:a">
343 href="/rss-log/tip/a" title="RSS feed for test:a" />
348 </head>
344 </head>
349 <body>
345 <body>
350
346
351 <div class="container">
347 <div class="container">
352 <div class="menu">
348 <div class="menu">
353 <div class="logo">
349 <div class="logo">
354 <a href="http://www.selenic.com/mercurial/">
350 <a href="http://www.selenic.com/mercurial/">
355 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
351 <img src="/static/hglogo.png" alt="mercurial" /></a>
356 </div>
352 </div>
357 <ul>
353 <ul>
358 <li><a href="/shortlog/5ed941583260">log</a></li>
354 <li><a href="/shortlog/5ed941583260">log</a></li>
359 <li><a href="/graph/5ed941583260">graph</a></li>
355 <li><a href="/graph/5ed941583260">graph</a></li>
360 <li><a href="/tags">tags</a></li>
356 <li><a href="/tags">tags</a></li>
361 </ul>
357 </ul>
362 <ul>
358 <ul>
363 <li><a href="/rev/5ed941583260">changeset</a></li>
359 <li><a href="/rev/5ed941583260">changeset</a></li>
364 <li><a href="/file/5ed941583260">browse</a></li>
360 <li><a href="/file/5ed941583260">browse</a></li>
365 </ul>
361 </ul>
366 <ul>
362 <ul>
367 <li><a href="/file/5ed941583260/a">file</a></li>
363 <li><a href="/file/5ed941583260/a">file</a></li>
368 <li><a href="/diff/5ed941583260/a">diff</a></li>
364 <li><a href="/diff/5ed941583260/a">diff</a></li>
369 <li><a href="/annotate/5ed941583260/a">annotate</a></li>
365 <li><a href="/annotate/5ed941583260/a">annotate</a></li>
370 <li class="active">file log</li>
366 <li class="active">file log</li>
371 <li><a href="/raw-file/5ed941583260/a">raw</a></li>
367 <li><a href="/raw-file/5ed941583260/a">raw</a></li>
372 </ul>
368 </ul>
373 </div>
369 </div>
374
370
375 <div class="main">
371 <div class="main">
376 <h2><a href="/">test</a></h2>
372 <h2><a href="/">test</a></h2>
377 <h3>log a</h3>
373 <h3>log a</h3>
378
374
379 <form class="search" action="/log">
375 <form class="search" action="/log">
380
376
381 <p><input name="rev" id="search1" type="text" size="30"></p>
377 <p><input name="rev" id="search1" type="text" size="30" /></p>
382 <span>find changesets by author, revision,
378 <div id="hint">find changesets by author, revision,
383 files, or words in the commit message</span>
379 files, or words in the commit message</div>
384 </form>
380 </form>
385
381
386 <div class="navigate"><a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
382 <div class="navigate"><a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
387
383
388 <table class="bigtable">
384 <table class="bigtable">
389 <tr>
385 <tr>
390 <th class="age">age</th>
386 <th class="age">age</th>
391 <th class="author">author</th>
387 <th class="author">author</th>
392 <th class="description">description</th>
388 <th class="description">description</th>
393 </tr>
389 </tr>
394 <tr class="parity0">
390 <tr class="parity0">
395 <td class="age">many years</td>
391 <td class="age">many years</td>
396 <td class="author">test</td>
392 <td class="author">test</td>
397 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
393 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
398 </tr>
394 </tr>
399
395
400 </table>
396 </table>
401
397
402 </div>
398 </div>
403 </div>
399 </div>
404
400
405
401
406
402
407 </body>
403 </body>
408 </html>
404 </html>
409
405
410 % before addition - error
406 % before addition - error
411 404 Not Found
407 404 Not Found
412
408
413 <!-- quirksmode -->
409 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
414 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
410 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
415 <html>
416 <head>
411 <head>
417 <link rel="icon" href="/static/hgicon.png" type="image/png">
412 <link rel="icon" href="/static/hgicon.png" type="image/png" />
418 <meta name="robots" content="index, nofollow" />
413 <meta name="robots" content="index, nofollow" />
419 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
414 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
420
415
421 <title>test: error</title>
416 <title>test: error</title>
422 </head>
417 </head>
423 <body>
418 <body>
424
419
425 <div class="container">
420 <div class="container">
426 <div class="menu">
421 <div class="menu">
427 <div class="logo">
422 <div class="logo">
428 <a href="http://www.selenic.com/mercurial/">
423 <a href="http://www.selenic.com/mercurial/">
429 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
424 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
430 </div>
425 </div>
431 <ul>
426 <ul>
432 <li><a href="/shortlog">log</a></li>
427 <li><a href="/shortlog">log</a></li>
433 <li><a href="/graph">graph</a></li>
428 <li><a href="/graph">graph</a></li>
434 <li><a href="/tags">tags</a></li>
429 <li><a href="/tags">tags</a></li>
435 </ul>
430 </ul>
436 </div>
431 </div>
437
432
438 <div class="main">
433 <div class="main">
439
434
440 <h2><a href="/">test</a></h2>
435 <h2><a href="/">test</a></h2>
441 <h3>error</h3>
436 <h3>error</h3>
442
437
443 <form class="search" action="/log">
438 <form class="search" action="/log">
444
439
445 <p><input name="rev" id="search1" type="text" size="30"></p>
440 <p><input name="rev" id="search1" type="text" size="30"></p>
446 <span>find changesets by author, revision,
441 <div id="hint">find changesets by author, revision,
447 files, or words in the commit message</span>
442 files, or words in the commit message</div>
448 </form>
443 </form>
449
444
450 <div class="description">
445 <div class="description">
451 <p>
446 <p>
452 An error occurred while processing your request:
447 An error occurred while processing your request:
453 </p>
448 </p>
454 <p>
449 <p>
455 a@6563da9dcf87: not found in manifest
450 a@6563da9dcf87: not found in manifest
456 </p>
451 </p>
457 </div>
452 </div>
458 </div>
453 </div>
459 </div>
454 </div>
460
455
461
456
462
457
463 </body>
458 </body>
464 </html>
459 </html>
465
460
466 % should show base link, use spartan because it shows it
461 % should show base link, use spartan because it shows it
467 200 Script output follows
462 200 Script output follows
468
463
469 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
464 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
470 <html>
465 <html>
471 <head>
466 <head>
472 <link rel="icon" href="/static/hgicon.png" type="image/png">
467 <link rel="icon" href="/static/hgicon.png" type="image/png">
473 <meta name="robots" content="index, nofollow" />
468 <meta name="robots" content="index, nofollow" />
474 <link rel="stylesheet" href="/static/style.css" type="text/css" />
469 <link rel="stylesheet" href="/static/style.css" type="text/css" />
475
470
476 <title>test: c history</title>
471 <title>test: c history</title>
477 <link rel="alternate" type="application/atom+xml"
472 <link rel="alternate" type="application/atom+xml"
478 href="/atom-log/tip/c" title="Atom feed for test:c">
473 href="/atom-log/tip/c" title="Atom feed for test:c">
479 <link rel="alternate" type="application/rss+xml"
474 <link rel="alternate" type="application/rss+xml"
480 href="/rss-log/tip/c" title="RSS feed for test:c">
475 href="/rss-log/tip/c" title="RSS feed for test:c">
481 </head>
476 </head>
482 <body>
477 <body>
483
478
484 <div class="buttons">
479 <div class="buttons">
485 <a href="/log?style=spartan">changelog</a>
480 <a href="/log?style=spartan">changelog</a>
486 <a href="/shortlog?style=spartan">shortlog</a>
481 <a href="/shortlog?style=spartan">shortlog</a>
487 <a href="/graph?style=spartan">graph</a>
482 <a href="/graph?style=spartan">graph</a>
488 <a href="/tags?style=spartan">tags</a>
483 <a href="/tags?style=spartan">tags</a>
489 <a href="/file/38d962e6234d/c?style=spartan">file</a>
484 <a href="/file/38d962e6234d/c?style=spartan">file</a>
490 <a href="/annotate/38d962e6234d/c?style=spartan">annotate</a>
485 <a href="/annotate/38d962e6234d/c?style=spartan">annotate</a>
491 <a type="application/rss+xml" href="/rss-log/tip/c">rss</a>
486 <a type="application/rss+xml" href="/rss-log/tip/c">rss</a>
492 <a type="application/atom+xml" href="/atom-log/tip/c" title="Atom feed for test:c">atom</a>
487 <a type="application/atom+xml" href="/atom-log/tip/c" title="Atom feed for test:c">atom</a>
493 </div>
488 </div>
494
489
495 <h2>c revision history</h2>
490 <h2>c revision history</h2>
496
491
497 <p>navigate: <small class="navigate"><a href="/log/a3b6a9e4507e/c?style=spartan">(0)</a> <a href="/log/tip/c?style=spartan">tip</a> </small></p>
492 <p>navigate: <small class="navigate"><a href="/log/a3b6a9e4507e/c?style=spartan">(0)</a> <a href="/log/tip/c?style=spartan">tip</a> </small></p>
498
493
499 <table class="logEntry parity0">
494 <table class="logEntry parity0">
500 <tr>
495 <tr>
501 <th class="age">many years ago:</th>
496 <th class="age">many years ago:</th>
502 <th class="firstline"><a href="/rev/38d962e6234d?style=spartan">change c</a></th>
497 <th class="firstline"><a href="/rev/38d962e6234d?style=spartan">change c</a></th>
503 </tr>
498 </tr>
504 <tr>
499 <tr>
505 <th class="revision">revision 1:</td>
500 <th class="revision">revision 1:</td>
506 <td class="node">
501 <td class="node">
507 <a href="/file/38d962e6234d/c?style=spartan">38d962e6234d</a>
502 <a href="/file/38d962e6234d/c?style=spartan">38d962e6234d</a>
508 <a href="/diff/38d962e6234d/c?style=spartan">(diff)</a>
503 <a href="/diff/38d962e6234d/c?style=spartan">(diff)</a>
509 <a href="/annotate/38d962e6234d/c?style=spartan">(annotate)</a>
504 <a href="/annotate/38d962e6234d/c?style=spartan">(annotate)</a>
510 </td>
505 </td>
511 </tr>
506 </tr>
512
507
513 <tr>
508 <tr>
514 <th class="author">author:</th>
509 <th class="author">author:</th>
515 <td class="author">&#116;&#101;&#115;&#116;</td>
510 <td class="author">&#116;&#101;&#115;&#116;</td>
516 </tr>
511 </tr>
517 <tr>
512 <tr>
518 <th class="date">date:</th>
513 <th class="date">date:</th>
519 <td class="date">Thu Jan 01 00:00:00 1970 +0000</td>
514 <td class="date">Thu Jan 01 00:00:00 1970 +0000</td>
520 </tr>
515 </tr>
521 </table>
516 </table>
522
517
523
518
524 <table class="logEntry parity1">
519 <table class="logEntry parity1">
525 <tr>
520 <tr>
526 <th class="age">many years ago:</th>
521 <th class="age">many years ago:</th>
527 <th class="firstline"><a href="/rev/a3b6a9e4507e?style=spartan">mv b</a></th>
522 <th class="firstline"><a href="/rev/a3b6a9e4507e?style=spartan">mv b</a></th>
528 </tr>
523 </tr>
529 <tr>
524 <tr>
530 <th class="revision">revision 0:</td>
525 <th class="revision">revision 0:</td>
531 <td class="node">
526 <td class="node">
532 <a href="/file/a3b6a9e4507e/c?style=spartan">a3b6a9e4507e</a>
527 <a href="/file/a3b6a9e4507e/c?style=spartan">a3b6a9e4507e</a>
533 <a href="/diff/a3b6a9e4507e/c?style=spartan">(diff)</a>
528 <a href="/diff/a3b6a9e4507e/c?style=spartan">(diff)</a>
534 <a href="/annotate/a3b6a9e4507e/c?style=spartan">(annotate)</a>
529 <a href="/annotate/a3b6a9e4507e/c?style=spartan">(annotate)</a>
535 </td>
530 </td>
536 </tr>
531 </tr>
537 <tr><th>base:</th><td><a href="/file/1e88685f5dde/b?style=spartan">b@1e88685f5dde</a></td></tr>
532 <tr><th>base:</th><td><a href="/file/1e88685f5dde/b?style=spartan">b@1e88685f5dde</a></td></tr>
538 <tr>
533 <tr>
539 <th class="author">author:</th>
534 <th class="author">author:</th>
540 <td class="author">&#116;&#101;&#115;&#116;</td>
535 <td class="author">&#116;&#101;&#115;&#116;</td>
541 </tr>
536 </tr>
542 <tr>
537 <tr>
543 <th class="date">date:</th>
538 <th class="date">date:</th>
544 <td class="date">Thu Jan 01 00:00:00 1970 +0000</td>
539 <td class="date">Thu Jan 01 00:00:00 1970 +0000</td>
545 </tr>
540 </tr>
546 </table>
541 </table>
547
542
548
543
549
544
550
545
551
546
552 <div class="logo">
547 <div class="logo">
553 <a href="http://www.selenic.com/mercurial/">
548 <a href="http://www.selenic.com/mercurial/">
554 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
549 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
555 </div>
550 </div>
556
551
557 </body>
552 </body>
558 </html>
553 </html>
559
554
560 % errors
555 % errors
@@ -1,180 +1,178 b''
1 % setting up repo
1 % setting up repo
2 adding a
2 adding a
3 % set up hgweb
3 % set up hgweb
4 % revision
4 % revision
5 200 Script output follows
5 200 Script output follows
6
6
7 <!-- quirksmode -->
7 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
8 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
9 <html>
10 <head>
9 <head>
11 <link rel="icon" href="/static/hgicon.png" type="image/png">
10 <link rel="icon" href="/static/hgicon.png" type="image/png" />
12 <meta name="robots" content="index, nofollow" />
11 <meta name="robots" content="index, nofollow" />
13 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
12 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14
13
15 <title>test: c78f6c5cbea9</title>
14 <title>test: c78f6c5cbea9</title>
16 </head>
15 </head>
17 <body>
16 <body>
18 <div class="container">
17 <div class="container">
19 <div class="menu">
18 <div class="menu">
20 <div class="logo">
19 <div class="logo">
21 <a href="http://www.selenic.com/mercurial/">
20 <a href="http://www.selenic.com/mercurial/">
22 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
21 <img src="/static/hglogo.png" alt="mercurial" /></a>
23 </div>
22 </div>
24 <ul>
23 <ul>
25 <li><a href="/shortlog/c78f6c5cbea9">log</a></li>
24 <li><a href="/shortlog/c78f6c5cbea9">log</a></li>
26 <li><a href="/graph/c78f6c5cbea9">graph</a></li>
25 <li><a href="/graph/c78f6c5cbea9">graph</a></li>
27 <li><a href="/tags">tags</a></li>
26 <li><a href="/tags">tags</a></li>
28 </ul>
27 </ul>
29 <ul>
28 <ul>
30 <li class="active">changeset</li>
29 <li class="active">changeset</li>
31 <li><a href="/raw-rev/c78f6c5cbea9">raw</a></li>
30 <li><a href="/raw-rev/c78f6c5cbea9">raw</a></li>
32 <li><a href="/file/c78f6c5cbea9">browse</a></li>
31 <li><a href="/file/c78f6c5cbea9">browse</a></li>
33 </ul>
32 </ul>
34 <ul>
33 <ul>
35
34
36 </ul>
35 </ul>
37 </div>
36 </div>
38
37
39 <div class="main">
38 <div class="main">
40
39
41 <h2><a href="/">test</a></h2>
40 <h2><a href="/">test</a></h2>
42 <h3>changeset 1:c78f6c5cbea9 <span class="tag">tip</span> </h3>
41 <h3>changeset 1:c78f6c5cbea9 <span class="tag">tip</span> </h3>
43
42
44 <form class="search" action="/log">
43 <form class="search" action="/log">
45
44
46 <p><input name="rev" id="search1" type="text" size="30"></p>
45 <p><input name="rev" id="search1" type="text" size="30" /></p>
47 <span>find changesets by author, revision,
46 <div id="hint">find changesets by author, revision,
48 files, or words in the commit message</span>
47 files, or words in the commit message</div>
49 </form>
48 </form>
50
49
51 <div class="description">del</div>
50 <div class="description">del</div>
52
51
53 <table id="changesetEntry">
52 <table id="changesetEntry">
54 <tr>
53 <tr>
55 <th class="author">author</th>
54 <th class="author">author</th>
56 <td class="author">&#116;&#101;&#115;&#116;</td>
55 <td class="author">&#116;&#101;&#115;&#116;</td>
57 </tr>
56 </tr>
58 <tr>
57 <tr>
59 <th class="date">date</th>
58 <th class="date">date</th>
60 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td></tr>
59 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td></tr>
61 <tr>
60 <tr>
62 <th class="author">parents</th>
61 <th class="author">parents</th>
63 <td class="author"><a href="/rev/cb9a9f314b8b">cb9a9f314b8b</a> </td>
62 <td class="author"><a href="/rev/cb9a9f314b8b">cb9a9f314b8b</a> </td>
64 </tr>
63 </tr>
65 <tr>
64 <tr>
66 <th class="author">children</th>
65 <th class="author">children</th>
67 <td class="author"></td>
66 <td class="author"></td>
68 </tr>
67 </tr>
69 <tr>
68 <tr>
70 <th class="files">files</th>
69 <th class="files">files</th>
71 <td class="files">a </td>
70 <td class="files">a </td>
72 </tr>
71 </tr>
73 </table>
72 </table>
74
73
75 <div class="overflow">
74 <div class="overflow">
76 <div class="sourcefirst"> line diff</div>
75 <div class="sourcefirst"> line diff</div>
77
76
78 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- a/a Thu Jan 01 00:00:00 1970 +0000
77 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- a/a Thu Jan 01 00:00:00 1970 +0000
79 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
78 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
80 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -1,1 +0,0 @@
79 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -1,1 +0,0 @@
81 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="minusline">-a
80 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="minusline">-a
82 </span></div>
81 </span></div>
83 </div>
82 </div>
84
83
85 </div>
84 </div>
86 </div>
85 </div>
87
86
88
87
89 </body>
88 </body>
90 </html>
89 </html>
91
90
92 % diff removed file
91 % diff removed file
93 200 Script output follows
92 200 Script output follows
94
93
95 <!-- quirksmode -->
94 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
96 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
95 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
97 <html>
98 <head>
96 <head>
99 <link rel="icon" href="/static/hgicon.png" type="image/png">
97 <link rel="icon" href="/static/hgicon.png" type="image/png" />
100 <meta name="robots" content="index, nofollow" />
98 <meta name="robots" content="index, nofollow" />
101 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
99 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
102
100
103 <title>test: a diff</title>
101 <title>test: a diff</title>
104 </head>
102 </head>
105 <body>
103 <body>
106
104
107 <div class="container">
105 <div class="container">
108 <div class="menu">
106 <div class="menu">
109 <div class="logo">
107 <div class="logo">
110 <a href="http://www.selenic.com/mercurial/">
108 <a href="http://www.selenic.com/mercurial/">
111 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
109 <img src="/static/hglogo.png" alt="mercurial" /></a>
112 </div>
110 </div>
113 <ul>
111 <ul>
114 <li><a href="/shortlog/c78f6c5cbea9">log</a></li>
112 <li><a href="/shortlog/c78f6c5cbea9">log</a></li>
115 <li><a href="/graph/c78f6c5cbea9">graph</a></li>
113 <li><a href="/graph/c78f6c5cbea9">graph</a></li>
116 <li><a href="/tags">tags</a></li>
114 <li><a href="/tags">tags</a></li>
117 </ul>
115 </ul>
118 <ul>
116 <ul>
119 <li><a href="/rev/c78f6c5cbea9">changeset</a></li>
117 <li><a href="/rev/c78f6c5cbea9">changeset</a></li>
120 <li><a href="/file/c78f6c5cbea9">browse</a></li>
118 <li><a href="/file/c78f6c5cbea9">browse</a></li>
121 </ul>
119 </ul>
122 <ul>
120 <ul>
123 <li><a href="/file/c78f6c5cbea9/a">file</a></li>
121 <li><a href="/file/c78f6c5cbea9/a">file</a></li>
124 <li class="active">diff</li>
122 <li class="active">diff</li>
125 <li><a href="/annotate/c78f6c5cbea9/a">annotate</a></li>
123 <li><a href="/annotate/c78f6c5cbea9/a">annotate</a></li>
126 <li><a href="/log/c78f6c5cbea9/a">file log</a></li>
124 <li><a href="/log/c78f6c5cbea9/a">file log</a></li>
127 <li><a href="/raw-file/c78f6c5cbea9/a">raw</a></li>
125 <li><a href="/raw-file/c78f6c5cbea9/a">raw</a></li>
128 </ul>
126 </ul>
129 </div>
127 </div>
130
128
131 <div class="main">
129 <div class="main">
132 <h2><a href="/">test</a></h2>
130 <h2><a href="/">test</a></h2>
133 <h3>diff a @ 1:c78f6c5cbea9</h3>
131 <h3>diff a @ 1:c78f6c5cbea9</h3>
134
132
135 <form class="search" action="/log">
133 <form class="search" action="/log">
136
134 <p></p>
137 <p><input name="rev" id="search1" type="text" size="30"></p>
135 <p><input name="rev" id="search1" type="text" size="30" /></p>
138 <span>find changesets by author, revision,
136 <div id="hint">find changesets by author, revision,
139 files, or words in the commit message</span>
137 files, or words in the commit message</div>
140 </form>
138 </form>
141
139
142 <div class="description">del</div>
140 <div class="description">del</div>
143
141
144 <table id="changesetEntry">
142 <table id="changesetEntry">
145 <tr>
143 <tr>
146 <th>author</th>
144 <th>author</th>
147 <td>&#116;&#101;&#115;&#116;</td>
145 <td>&#116;&#101;&#115;&#116;</td>
148 </tr>
146 </tr>
149 <tr>
147 <tr>
150 <th>date</th>
148 <th>date</th>
151 <td>Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
149 <td>Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
152 </tr>
150 </tr>
153 <tr>
151 <tr>
154 <th>parents</th>
152 <th>parents</th>
155 <td><a href="/file/cb9a9f314b8b/a">cb9a9f314b8b</a> </td>
153 <td><a href="/file/cb9a9f314b8b/a">cb9a9f314b8b</a> </td>
156 </tr>
154 </tr>
157 <tr>
155 <tr>
158 <th>children</th>
156 <th>children</th>
159 <td></td>
157 <td></td>
160 </tr>
158 </tr>
161
159
162 </table>
160 </table>
163
161
164 <div class="overflow">
162 <div class="overflow">
165 <div class="sourcefirst"> line diff</div>
163 <div class="sourcefirst"> line diff</div>
166
164
167 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- a/a Thu Jan 01 00:00:00 1970 +0000
165 <div class="source bottomline parity0"><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- a/a Thu Jan 01 00:00:00 1970 +0000
168 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
166 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
169 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -1,1 +0,0 @@
167 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -1,1 +0,0 @@
170 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="minusline">-a
168 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="minusline">-a
171 </span></div>
169 </span></div>
172 </div>
170 </div>
173 </div>
171 </div>
174 </div>
172 </div>
175
173
176
174
177
175
178 </body>
176 </body>
179 </html>
177 </html>
180
178
@@ -1,279 +1,277 b''
1 adding da/foo
1 adding da/foo
2 adding foo
2 adding foo
3 % manifest
3 % manifest
4 200 Script output follows
4 200 Script output follows
5
5
6
6
7 drwxr-xr-x da
7 drwxr-xr-x da
8 -rw-r--r-- 4 foo
8 -rw-r--r-- 4 foo
9
9
10
10
11 200 Script output follows
11 200 Script output follows
12
12
13
13
14 -rw-r--r-- 4 foo
14 -rw-r--r-- 4 foo
15
15
16
16
17 % plain file
17 % plain file
18 200 Script output follows
18 200 Script output follows
19
19
20 foo
20 foo
21 % should give a 404 - static file that does not exist
21 % should give a 404 - static file that does not exist
22 404 Not Found
22 404 Not Found
23
23
24 <!-- quirksmode -->
24 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
25 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
25 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
26 <html>
27 <head>
26 <head>
28 <link rel="icon" href="/static/hgicon.png" type="image/png">
27 <link rel="icon" href="/static/hgicon.png" type="image/png" />
29 <meta name="robots" content="index, nofollow" />
28 <meta name="robots" content="index, nofollow" />
30 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
29 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
31
30
32 <title>test: error</title>
31 <title>test: error</title>
33 </head>
32 </head>
34 <body>
33 <body>
35
34
36 <div class="container">
35 <div class="container">
37 <div class="menu">
36 <div class="menu">
38 <div class="logo">
37 <div class="logo">
39 <a href="http://www.selenic.com/mercurial/">
38 <a href="http://www.selenic.com/mercurial/">
40 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
39 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
41 </div>
40 </div>
42 <ul>
41 <ul>
43 <li><a href="/shortlog">log</a></li>
42 <li><a href="/shortlog">log</a></li>
44 <li><a href="/graph">graph</a></li>
43 <li><a href="/graph">graph</a></li>
45 <li><a href="/tags">tags</a></li>
44 <li><a href="/tags">tags</a></li>
46 </ul>
45 </ul>
47 </div>
46 </div>
48
47
49 <div class="main">
48 <div class="main">
50
49
51 <h2><a href="/">test</a></h2>
50 <h2><a href="/">test</a></h2>
52 <h3>error</h3>
51 <h3>error</h3>
53
52
54 <form class="search" action="/log">
53 <form class="search" action="/log">
55
54
56 <p><input name="rev" id="search1" type="text" size="30"></p>
55 <p><input name="rev" id="search1" type="text" size="30"></p>
57 <span>find changesets by author, revision,
56 <div id="hint">find changesets by author, revision,
58 files, or words in the commit message</span>
57 files, or words in the commit message</div>
59 </form>
58 </form>
60
59
61 <div class="description">
60 <div class="description">
62 <p>
61 <p>
63 An error occurred while processing your request:
62 An error occurred while processing your request:
64 </p>
63 </p>
65 <p>
64 <p>
66 Not Found
65 Not Found
67 </p>
66 </p>
68 </div>
67 </div>
69 </div>
68 </div>
70 </div>
69 </div>
71
70
72
71
73
72
74 </body>
73 </body>
75 </html>
74 </html>
76
75
77 % should give a 404 - bad revision
76 % should give a 404 - bad revision
78 404 Not Found
77 404 Not Found
79
78
80
79
81 error: revision not found: spam
80 error: revision not found: spam
82 % should give a 400 - bad command
81 % should give a 400 - bad command
83 400
82 400
84
83
85
84
86 error: no such method: spam
85 error: no such method: spam
87 % should give a 404 - file does not exist
86 % should give a 404 - file does not exist
88 404 Not Found
87 404 Not Found
89
88
90
89
91 error: bork@2ef0ac749a14: not found in manifest
90 error: bork@2ef0ac749a14: not found in manifest
92 404 Not Found
91 404 Not Found
93
92
94 <!-- quirksmode -->
93 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
95 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
94 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
96 <html>
97 <head>
95 <head>
98 <link rel="icon" href="/static/hgicon.png" type="image/png">
96 <link rel="icon" href="/static/hgicon.png" type="image/png" />
99 <meta name="robots" content="index, nofollow" />
97 <meta name="robots" content="index, nofollow" />
100 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
98 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
101
99
102 <title>test: error</title>
100 <title>test: error</title>
103 </head>
101 </head>
104 <body>
102 <body>
105
103
106 <div class="container">
104 <div class="container">
107 <div class="menu">
105 <div class="menu">
108 <div class="logo">
106 <div class="logo">
109 <a href="http://www.selenic.com/mercurial/">
107 <a href="http://www.selenic.com/mercurial/">
110 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
108 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
111 </div>
109 </div>
112 <ul>
110 <ul>
113 <li><a href="/shortlog">log</a></li>
111 <li><a href="/shortlog">log</a></li>
114 <li><a href="/graph">graph</a></li>
112 <li><a href="/graph">graph</a></li>
115 <li><a href="/tags">tags</a></li>
113 <li><a href="/tags">tags</a></li>
116 </ul>
114 </ul>
117 </div>
115 </div>
118
116
119 <div class="main">
117 <div class="main">
120
118
121 <h2><a href="/">test</a></h2>
119 <h2><a href="/">test</a></h2>
122 <h3>error</h3>
120 <h3>error</h3>
123
121
124 <form class="search" action="/log">
122 <form class="search" action="/log">
125
123
126 <p><input name="rev" id="search1" type="text" size="30"></p>
124 <p><input name="rev" id="search1" type="text" size="30"></p>
127 <span>find changesets by author, revision,
125 <div id="hint">find changesets by author, revision,
128 files, or words in the commit message</span>
126 files, or words in the commit message</div>
129 </form>
127 </form>
130
128
131 <div class="description">
129 <div class="description">
132 <p>
130 <p>
133 An error occurred while processing your request:
131 An error occurred while processing your request:
134 </p>
132 </p>
135 <p>
133 <p>
136 bork@2ef0ac749a14: not found in manifest
134 bork@2ef0ac749a14: not found in manifest
137 </p>
135 </p>
138 </div>
136 </div>
139 </div>
137 </div>
140 </div>
138 </div>
141
139
142
140
143
141
144 </body>
142 </body>
145 </html>
143 </html>
146
144
147 404 Not Found
145 404 Not Found
148
146
149
147
150 error: bork@2ef0ac749a14: not found in manifest
148 error: bork@2ef0ac749a14: not found in manifest
151 % stop and restart
149 % stop and restart
152 9 log lines written
150 9 log lines written
153 % static file
151 % static file
154 200 Script output follows
152 200 Script output follows
155
153
156 body { font-family: sans-serif; font-size: 12px; margin:0px; border:solid #d9d8d1; border-width:1px; margin:10px; }
154 body { font-family: sans-serif; font-size: 12px; margin:0px; border:solid #d9d8d1; border-width:1px; margin:10px; }
157 a { color:#0000cc; }
155 a { color:#0000cc; }
158 a:hover, a:visited, a:active { color:#880000; }
156 a:hover, a:visited, a:active { color:#880000; }
159 div.page_header { height:25px; padding:8px; font-size:18px; font-weight:bold; background-color:#d9d8d1; }
157 div.page_header { height:25px; padding:8px; font-size:18px; font-weight:bold; background-color:#d9d8d1; }
160 div.page_header a:visited { color:#0000cc; }
158 div.page_header a:visited { color:#0000cc; }
161 div.page_header a:hover { color:#880000; }
159 div.page_header a:hover { color:#880000; }
162 div.page_nav { padding:8px; }
160 div.page_nav { padding:8px; }
163 div.page_nav a:visited { color:#0000cc; }
161 div.page_nav a:visited { color:#0000cc; }
164 div.page_path { padding:8px; border:solid #d9d8d1; border-width:0px 0px 1px}
162 div.page_path { padding:8px; border:solid #d9d8d1; border-width:0px 0px 1px}
165 div.page_footer { padding:4px 8px; background-color: #d9d8d1; }
163 div.page_footer { padding:4px 8px; background-color: #d9d8d1; }
166 div.page_footer_text { float:left; color:#555555; font-style:italic; }
164 div.page_footer_text { float:left; color:#555555; font-style:italic; }
167 div.page_body { padding:8px; }
165 div.page_body { padding:8px; }
168 div.title, a.title {
166 div.title, a.title {
169 display:block; padding:6px 8px;
167 display:block; padding:6px 8px;
170 font-weight:bold; background-color:#edece6; text-decoration:none; color:#000000;
168 font-weight:bold; background-color:#edece6; text-decoration:none; color:#000000;
171 }
169 }
172 a.title:hover { background-color: #d9d8d1; }
170 a.title:hover { background-color: #d9d8d1; }
173 div.title_text { padding:6px 0px; border: solid #d9d8d1; border-width:0px 0px 1px; }
171 div.title_text { padding:6px 0px; border: solid #d9d8d1; border-width:0px 0px 1px; }
174 div.log_body { padding:8px 8px 8px 150px; }
172 div.log_body { padding:8px 8px 8px 150px; }
175 .age { white-space:nowrap; }
173 .age { white-space:nowrap; }
176 span.age { position:relative; float:left; width:142px; font-style:italic; }
174 span.age { position:relative; float:left; width:142px; font-style:italic; }
177 div.log_link {
175 div.log_link {
178 padding:0px 8px;
176 padding:0px 8px;
179 font-size:10px; font-family:sans-serif; font-style:normal;
177 font-size:10px; font-family:sans-serif; font-style:normal;
180 position:relative; float:left; width:136px;
178 position:relative; float:left; width:136px;
181 }
179 }
182 div.list_head { padding:6px 8px 4px; border:solid #d9d8d1; border-width:1px 0px 0px; font-style:italic; }
180 div.list_head { padding:6px 8px 4px; border:solid #d9d8d1; border-width:1px 0px 0px; font-style:italic; }
183 a.list { text-decoration:none; color:#000000; }
181 a.list { text-decoration:none; color:#000000; }
184 a.list:hover { text-decoration:underline; color:#880000; }
182 a.list:hover { text-decoration:underline; color:#880000; }
185 table { padding:8px 4px; }
183 table { padding:8px 4px; }
186 th { padding:2px 5px; font-size:12px; text-align:left; }
184 th { padding:2px 5px; font-size:12px; text-align:left; }
187 tr.light:hover, .parity0:hover { background-color:#edece6; }
185 tr.light:hover, .parity0:hover { background-color:#edece6; }
188 tr.dark, .parity1 { background-color:#f6f6f0; }
186 tr.dark, .parity1 { background-color:#f6f6f0; }
189 tr.dark:hover, .parity1:hover { background-color:#edece6; }
187 tr.dark:hover, .parity1:hover { background-color:#edece6; }
190 td { padding:2px 5px; font-size:12px; vertical-align:top; }
188 td { padding:2px 5px; font-size:12px; vertical-align:top; }
191 td.link { padding:2px 5px; font-family:sans-serif; font-size:10px; }
189 td.link { padding:2px 5px; font-family:sans-serif; font-size:10px; }
192 td.indexlinks { white-space: nowrap; }
190 td.indexlinks { white-space: nowrap; }
193 td.indexlinks a {
191 td.indexlinks a {
194 padding: 2px 5px; line-height: 10px;
192 padding: 2px 5px; line-height: 10px;
195 border: 1px solid;
193 border: 1px solid;
196 color: #ffffff; background-color: #7777bb;
194 color: #ffffff; background-color: #7777bb;
197 border-color: #aaaadd #333366 #333366 #aaaadd;
195 border-color: #aaaadd #333366 #333366 #aaaadd;
198 font-weight: bold; text-align: center; text-decoration: none;
196 font-weight: bold; text-align: center; text-decoration: none;
199 font-size: 10px;
197 font-size: 10px;
200 }
198 }
201 td.indexlinks a:hover { background-color: #6666aa; }
199 td.indexlinks a:hover { background-color: #6666aa; }
202 div.pre { font-family:monospace; font-size:12px; white-space:pre; }
200 div.pre { font-family:monospace; font-size:12px; white-space:pre; }
203 div.diff_info { font-family:monospace; color:#000099; background-color:#edece6; font-style:italic; }
201 div.diff_info { font-family:monospace; color:#000099; background-color:#edece6; font-style:italic; }
204 div.index_include { border:solid #d9d8d1; border-width:0px 0px 1px; padding:12px 8px; }
202 div.index_include { border:solid #d9d8d1; border-width:0px 0px 1px; padding:12px 8px; }
205 div.search { margin:4px 8px; position:absolute; top:56px; right:12px }
203 div.search { margin:4px 8px; position:absolute; top:56px; right:12px }
206 .linenr { color:#999999; text-decoration:none }
204 .linenr { color:#999999; text-decoration:none }
207 div.rss_logo { float: right; white-space: nowrap; }
205 div.rss_logo { float: right; white-space: nowrap; }
208 div.rss_logo a {
206 div.rss_logo a {
209 padding:3px 6px; line-height:10px;
207 padding:3px 6px; line-height:10px;
210 border:1px solid; border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e;
208 border:1px solid; border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e;
211 color:#ffffff; background-color:#ff6600;
209 color:#ffffff; background-color:#ff6600;
212 font-weight:bold; font-family:sans-serif; font-size:10px;
210 font-weight:bold; font-family:sans-serif; font-size:10px;
213 text-align:center; text-decoration:none;
211 text-align:center; text-decoration:none;
214 }
212 }
215 div.rss_logo a:hover { background-color:#ee5500; }
213 div.rss_logo a:hover { background-color:#ee5500; }
216 pre { margin: 0; }
214 pre { margin: 0; }
217 span.logtags span {
215 span.logtags span {
218 padding: 0px 4px;
216 padding: 0px 4px;
219 font-size: 10px;
217 font-size: 10px;
220 font-weight: normal;
218 font-weight: normal;
221 border: 1px solid;
219 border: 1px solid;
222 background-color: #ffaaff;
220 background-color: #ffaaff;
223 border-color: #ffccff #ff00ee #ff00ee #ffccff;
221 border-color: #ffccff #ff00ee #ff00ee #ffccff;
224 }
222 }
225 span.logtags span.tagtag {
223 span.logtags span.tagtag {
226 background-color: #ffffaa;
224 background-color: #ffffaa;
227 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
225 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
228 }
226 }
229 span.logtags span.branchtag {
227 span.logtags span.branchtag {
230 background-color: #aaffaa;
228 background-color: #aaffaa;
231 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
229 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
232 }
230 }
233 span.logtags span.inbranchtag {
231 span.logtags span.inbranchtag {
234 background-color: #d5dde6;
232 background-color: #d5dde6;
235 border-color: #e3ecf4 #9398f4 #9398f4 #e3ecf4;
233 border-color: #e3ecf4 #9398f4 #9398f4 #e3ecf4;
236 }
234 }
237
235
238 /* Graph */
236 /* Graph */
239 div#wrapper {
237 div#wrapper {
240 position: relative;
238 position: relative;
241 margin: 0;
239 margin: 0;
242 padding: 0;
240 padding: 0;
243 margin-top: 3px;
241 margin-top: 3px;
244 }
242 }
245
243
246 canvas {
244 canvas {
247 position: absolute;
245 position: absolute;
248 z-index: 5;
246 z-index: 5;
249 top: -0.9em;
247 top: -0.9em;
250 margin: 0;
248 margin: 0;
251 }
249 }
252
250
253 ul#nodebgs {
251 ul#nodebgs {
254 list-style: none inside none;
252 list-style: none inside none;
255 padding: 0;
253 padding: 0;
256 margin: 0;
254 margin: 0;
257 top: -0.7em;
255 top: -0.7em;
258 }
256 }
259
257
260 ul#graphnodes li, ul#nodebgs li {
258 ul#graphnodes li, ul#nodebgs li {
261 height: 39px;
259 height: 39px;
262 }
260 }
263
261
264 ul#graphnodes {
262 ul#graphnodes {
265 position: absolute;
263 position: absolute;
266 z-index: 10;
264 z-index: 10;
267 top: -0.8em;
265 top: -0.8em;
268 list-style: none inside none;
266 list-style: none inside none;
269 padding: 0;
267 padding: 0;
270 }
268 }
271
269
272 ul#graphnodes li .info {
270 ul#graphnodes li .info {
273 display: block;
271 display: block;
274 font-size: 100%;
272 font-size: 100%;
275 position: relative;
273 position: relative;
276 top: -3px;
274 top: -3px;
277 font-style: italic;
275 font-style: italic;
278 }
276 }
279 % errors
277 % errors
@@ -1,285 +1,282 b''
1 adding get-with-headers.py
1 adding get-with-headers.py
2 adding isolatin
2 adding isolatin
3 % hg serve
3 % hg serve
4 % hgweb filerevision, html
4 % hgweb filerevision, html
5 200 Script output follows
5 200 Script output follows
6
6
7 <!-- quirksmode -->
7 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
8 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
9 <html>
10 <head>
9 <head>
11 <link rel="icon" href="/static/hgicon.png" type="image/png">
10 <link rel="icon" href="/static/hgicon.png" type="image/png" />
12 <meta name="robots" content="index, nofollow" />
11 <meta name="robots" content="index, nofollow" />
13 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
12 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14
13
15 <link rel="stylesheet" href="/highlightcss" type="text/css" />
14 <link rel="stylesheet" href="/highlightcss" type="text/css" />
16 <title>test: e55e3a42c53a get-with-headers.py</title>
15 <title>test: e55e3a42c53a get-with-headers.py</title>
17 </head>
16 </head>
18 <body>
17 <body>
19
18
20 <div class="container">
19 <div class="container">
21 <div class="menu">
20 <div class="menu">
22 <div class="logo">
21 <div class="logo">
23 <a href="http://www.selenic.com/mercurial/">
22 <a href="http://www.selenic.com/mercurial/">
24 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
23 <img src="/static/hglogo.png" alt="mercurial" /></a>
25 </div>
24 </div>
26 <ul>
25 <ul>
27 <li><a href="/shortlog/e55e3a42c53a">log</a></li>
26 <li><a href="/shortlog/e55e3a42c53a">log</a></li>
28 <li><a href="/graph/e55e3a42c53a">graph</a></li>
27 <li><a href="/graph/e55e3a42c53a">graph</a></li>
29 <li><a href="/tags">tags</a></li>
28 <li><a href="/tags">tags</a></li>
30 </ul>
29 </ul>
31 <ul>
30 <ul>
32 <li><a href="/rev/e55e3a42c53a">changeset</a></li>
31 <li><a href="/rev/e55e3a42c53a">changeset</a></li>
33 <li><a href="/file/e55e3a42c53a/">browse</a></li>
32 <li><a href="/file/e55e3a42c53a/">browse</a></li>
34 </ul>
33 </ul>
35 <ul>
34 <ul>
36 <li class="active">file</li>
35 <li class="active">file</li>
37 <li><a href="/diff/e55e3a42c53a/get-with-headers.py">diff</a></li>
36 <li><a href="/diff/e55e3a42c53a/get-with-headers.py">diff</a></li>
38 <li><a href="/annotate/e55e3a42c53a/get-with-headers.py">annotate</a></li>
37 <li><a href="/annotate/e55e3a42c53a/get-with-headers.py">annotate</a></li>
39 <li><a href="/log/e55e3a42c53a/get-with-headers.py">file log</a></li>
38 <li><a href="/log/e55e3a42c53a/get-with-headers.py">file log</a></li>
40 <li><a href="/raw-file/e55e3a42c53a/get-with-headers.py">raw</a></li>
39 <li><a href="/raw-file/e55e3a42c53a/get-with-headers.py">raw</a></li>
41 </ul>
40 </ul>
42 </div>
41 </div>
43
42
44 <div class="main">
43 <div class="main">
45 <h2><a href="/">test</a></h2>
44 <h2><a href="/">test</a></h2>
46 <h3>view get-with-headers.py @ 0:e55e3a42c53a</h3>
45 <h3>view get-with-headers.py @ 0:e55e3a42c53a</h3>
47
46
48 <form class="search" action="/log">
47 <form class="search" action="/log">
49
48
50 <p><input name="rev" id="search1" type="text" size="30"></p>
49 <p><input name="rev" id="search1" type="text" size="30" /></p>
51 <span>find changesets by author, revision,
50 <div id="hint">find changesets by author, revision,
52 files, or words in the commit message</span>
51 files, or words in the commit message</div>
53 </form>
52 </form>
54
53
55 <div class="description">a</div>
54 <div class="description">a</div>
56
55
57 <table id="changesetEntry">
56 <table id="changesetEntry">
58 <tr>
57 <tr>
59 <th class="author">author</th>
58 <th class="author">author</th>
60 <td class="author">&#116;&#101;&#115;&#116;</td>
59 <td class="author">&#116;&#101;&#115;&#116;</td>
61 </tr>
60 </tr>
62 <tr>
61 <tr>
63 <th class="date">date</th>
62 <th class="date">date</th>
64 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
63 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
65 </tr>
64 </tr>
66 <tr>
65 <tr>
67 <th class="author">parents</th>
66 <th class="author">parents</th>
68 <td class="author"></td>
67 <td class="author"></td>
69 </tr>
68 </tr>
70 <tr>
69 <tr>
71 <th class="author">children</th>
70 <th class="author">children</th>
72 <td class="author"></td>
71 <td class="author"></td>
73 </tr>
72 </tr>
74
73
75 </table>
74 </table>
76
75
77 <div class="overflow">
76 <div class="overflow">
78 <div class="sourcefirst"> line source</div>
77 <div class="sourcefirst"> line source</div>
79 <div class="parity0 source"><a href="#l1" id="l1"> 1</a> <span class="c">#!/usr/bin/env python</span></div><div class="parity1 source"><a href="#l2" id="l2"> 2</a> </div><div class="parity0 source"><a href="#l3" id="l3"> 3</a> <span class="n">__doc__</span> <span class="o">=</span> <span class="s">&quot;&quot;&quot;This does HTTP get requests given a host:port and path and returns</span></div><div class="parity1 source"><a href="#l4" id="l4"> 4</a> <span class="s">a subset of the headers plus the body of the result.&quot;&quot;&quot;</span></div><div class="parity0 source"><a href="#l5" id="l5"> 5</a> </div><div class="parity1 source"><a href="#l6" id="l6"> 6</a> <span class="kn">import</span> <span class="nn">httplib</span><span class="o">,</span> <span class="nn">sys</span><span class="o">,</span> <span class="nn">re</span></div><div class="parity0 source"><a href="#l7" id="l7"> 7</a> </div><div class="parity1 source"><a href="#l8" id="l8"> 8</a> <span class="kn">try</span><span class="p">:</span></div><div class="parity0 source"><a href="#l9" id="l9"> 9</a> <span class="kn">import</span> <span class="nn">msvcrt</span><span class="o">,</span> <span class="nn">os</span></div><div class="parity1 source"><a href="#l10" id="l10"> 10</a> <span class="n">msvcrt</span><span class="o">.</span><span class="n">setmode</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="o">.</span><span class="n">fileno</span><span class="p">(),</span> <span class="n">os</span><span class="o">.</span><span class="n">O_BINARY</span><span class="p">)</span></div><div class="parity0 source"><a href="#l11" id="l11"> 11</a> <span class="n">msvcrt</span><span class="o">.</span><span class="n">setmode</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">stderr</span><span class="o">.</span><span class="n">fileno</span><span class="p">(),</span> <span class="n">os</span><span class="o">.</span><span class="n">O_BINARY</span><span class="p">)</span></div><div class="parity1 source"><a href="#l12" id="l12"> 12</a> <span class="kn">except</span> <span class="ne">ImportError</span><span class="p">:</span></div><div class="parity0 source"><a href="#l13" id="l13"> 13</a> <span class="kn">pass</span></div><div class="parity1 source"><a href="#l14" id="l14"> 14</a> </div><div class="parity0 source"><a href="#l15" id="l15"> 15</a> <span class="n">headers</span> <span class="o">=</span> <span class="p">[</span><span class="n">h</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span> <span class="kn">for</span> <span class="n">h</span> <span class="ow">in</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">3</span><span class="p">:]]</span></div><div class="parity1 source"><a href="#l16" id="l16"> 16</a> <span class="n">conn</span> <span class="o">=</span> <span class="n">httplib</span><span class="o">.</span><span class="n">HTTPConnection</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">1</span><span class="p">])</span></div><div class="parity0 source"><a href="#l17" id="l17"> 17</a> <span class="n">conn</span><span class="o">.</span><span class="n">request</span><span class="p">(</span><span class="s">&quot;GET&quot;</span><span class="p">,</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">2</span><span class="p">])</span></div><div class="parity1 source"><a href="#l18" id="l18"> 18</a> <span class="n">response</span> <span class="o">=</span> <span class="n">conn</span><span class="o">.</span><span class="n">getresponse</span><span class="p">()</span></div><div class="parity0 source"><a href="#l19" id="l19"> 19</a> <span class="kn">print</span> <span class="n">response</span><span class="o">.</span><span class="n">status</span><span class="p">,</span> <span class="n">response</span><span class="o">.</span><span class="n">reason</span></div><div class="parity1 source"><a href="#l20" id="l20"> 20</a> <span class="kn">for</span> <span class="n">h</span> <span class="ow">in</span> <span class="n">headers</span><span class="p">:</span></div><div class="parity0 source"><a href="#l21" id="l21"> 21</a> <span class="kn">if</span> <span class="n">response</span><span class="o">.</span><span class="n">getheader</span><span class="p">(</span><span class="n">h</span><span class="p">,</span> <span class="bp">None</span><span class="p">)</span> <span class="ow">is</span> <span class="ow">not</span> <span class="bp">None</span><span class="p">:</span></div><div class="parity1 source"><a href="#l22" id="l22"> 22</a> <span class="kn">print</span> <span class="s">&quot;</span><span class="si">%s</span><span class="s">: </span><span class="si">%s</span><span class="s">&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="n">h</span><span class="p">,</span> <span class="n">response</span><span class="o">.</span><span class="n">getheader</span><span class="p">(</span><span class="n">h</span><span class="p">))</span></div><div class="parity0 source"><a href="#l23" id="l23"> 23</a> <span class="kn">print</span></div><div class="parity1 source"><a href="#l24" id="l24"> 24</a> <span class="n">data</span> <span class="o">=</span> <span class="n">response</span><span class="o">.</span><span class="n">read</span><span class="p">()</span></div><div class="parity0 source"><a href="#l25" id="l25"> 25</a> <span class="n">data</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s">&#39;\d+ years&#39;</span><span class="p">,</span> <span class="s">&#39;many years&#39;</span><span class="p">,</span> <span class="n">data</span><span class="p">)</span></div><div class="parity1 source"><a href="#l26" id="l26"> 26</a> <span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">data</span><span class="p">)</span></div><div class="parity0 source"><a href="#l27" id="l27"> 27</a> </div><div class="parity1 source"><a href="#l28" id="l28"> 28</a> <span class="kn">if</span> <span class="mf">200</span> <span class="o">&lt;=</span> <span class="n">response</span><span class="o">.</span><span class="n">status</span> <span class="o">&lt;=</span> <span class="mf">299</span><span class="p">:</span></div><div class="parity0 source"><a href="#l29" id="l29"> 29</a> <span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mf">0</span><span class="p">)</span></div><div class="parity1 source"><a href="#l30" id="l30"> 30</a> <span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mf">1</span><span class="p">)</span></div>
78 <div class="parity0 source"><a href="#l1" id="l1"> 1</a> <span class="c">#!/usr/bin/env python</span></div><div class="parity1 source"><a href="#l2" id="l2"> 2</a> </div><div class="parity0 source"><a href="#l3" id="l3"> 3</a> <span class="n">__doc__</span> <span class="o">=</span> <span class="s">&quot;&quot;&quot;This does HTTP get requests given a host:port and path and returns</span></div><div class="parity1 source"><a href="#l4" id="l4"> 4</a> <span class="s">a subset of the headers plus the body of the result.&quot;&quot;&quot;</span></div><div class="parity0 source"><a href="#l5" id="l5"> 5</a> </div><div class="parity1 source"><a href="#l6" id="l6"> 6</a> <span class="kn">import</span> <span class="nn">httplib</span><span class="o">,</span> <span class="nn">sys</span><span class="o">,</span> <span class="nn">re</span></div><div class="parity0 source"><a href="#l7" id="l7"> 7</a> </div><div class="parity1 source"><a href="#l8" id="l8"> 8</a> <span class="kn">try</span><span class="p">:</span></div><div class="parity0 source"><a href="#l9" id="l9"> 9</a> <span class="kn">import</span> <span class="nn">msvcrt</span><span class="o">,</span> <span class="nn">os</span></div><div class="parity1 source"><a href="#l10" id="l10"> 10</a> <span class="n">msvcrt</span><span class="o">.</span><span class="n">setmode</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="o">.</span><span class="n">fileno</span><span class="p">(),</span> <span class="n">os</span><span class="o">.</span><span class="n">O_BINARY</span><span class="p">)</span></div><div class="parity0 source"><a href="#l11" id="l11"> 11</a> <span class="n">msvcrt</span><span class="o">.</span><span class="n">setmode</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">stderr</span><span class="o">.</span><span class="n">fileno</span><span class="p">(),</span> <span class="n">os</span><span class="o">.</span><span class="n">O_BINARY</span><span class="p">)</span></div><div class="parity1 source"><a href="#l12" id="l12"> 12</a> <span class="kn">except</span> <span class="ne">ImportError</span><span class="p">:</span></div><div class="parity0 source"><a href="#l13" id="l13"> 13</a> <span class="kn">pass</span></div><div class="parity1 source"><a href="#l14" id="l14"> 14</a> </div><div class="parity0 source"><a href="#l15" id="l15"> 15</a> <span class="n">headers</span> <span class="o">=</span> <span class="p">[</span><span class="n">h</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span> <span class="kn">for</span> <span class="n">h</span> <span class="ow">in</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">3</span><span class="p">:]]</span></div><div class="parity1 source"><a href="#l16" id="l16"> 16</a> <span class="n">conn</span> <span class="o">=</span> <span class="n">httplib</span><span class="o">.</span><span class="n">HTTPConnection</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">1</span><span class="p">])</span></div><div class="parity0 source"><a href="#l17" id="l17"> 17</a> <span class="n">conn</span><span class="o">.</span><span class="n">request</span><span class="p">(</span><span class="s">&quot;GET&quot;</span><span class="p">,</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">2</span><span class="p">])</span></div><div class="parity1 source"><a href="#l18" id="l18"> 18</a> <span class="n">response</span> <span class="o">=</span> <span class="n">conn</span><span class="o">.</span><span class="n">getresponse</span><span class="p">()</span></div><div class="parity0 source"><a href="#l19" id="l19"> 19</a> <span class="kn">print</span> <span class="n">response</span><span class="o">.</span><span class="n">status</span><span class="p">,</span> <span class="n">response</span><span class="o">.</span><span class="n">reason</span></div><div class="parity1 source"><a href="#l20" id="l20"> 20</a> <span class="kn">for</span> <span class="n">h</span> <span class="ow">in</span> <span class="n">headers</span><span class="p">:</span></div><div class="parity0 source"><a href="#l21" id="l21"> 21</a> <span class="kn">if</span> <span class="n">response</span><span class="o">.</span><span class="n">getheader</span><span class="p">(</span><span class="n">h</span><span class="p">,</span> <span class="bp">None</span><span class="p">)</span> <span class="ow">is</span> <span class="ow">not</span> <span class="bp">None</span><span class="p">:</span></div><div class="parity1 source"><a href="#l22" id="l22"> 22</a> <span class="kn">print</span> <span class="s">&quot;</span><span class="si">%s</span><span class="s">: </span><span class="si">%s</span><span class="s">&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="n">h</span><span class="p">,</span> <span class="n">response</span><span class="o">.</span><span class="n">getheader</span><span class="p">(</span><span class="n">h</span><span class="p">))</span></div><div class="parity0 source"><a href="#l23" id="l23"> 23</a> <span class="kn">print</span></div><div class="parity1 source"><a href="#l24" id="l24"> 24</a> <span class="n">data</span> <span class="o">=</span> <span class="n">response</span><span class="o">.</span><span class="n">read</span><span class="p">()</span></div><div class="parity0 source"><a href="#l25" id="l25"> 25</a> <span class="n">data</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s">&#39;\d+ years&#39;</span><span class="p">,</span> <span class="s">&#39;many years&#39;</span><span class="p">,</span> <span class="n">data</span><span class="p">)</span></div><div class="parity1 source"><a href="#l26" id="l26"> 26</a> <span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">data</span><span class="p">)</span></div><div class="parity0 source"><a href="#l27" id="l27"> 27</a> </div><div class="parity1 source"><a href="#l28" id="l28"> 28</a> <span class="kn">if</span> <span class="mf">200</span> <span class="o">&lt;=</span> <span class="n">response</span><span class="o">.</span><span class="n">status</span> <span class="o">&lt;=</span> <span class="mf">299</span><span class="p">:</span></div><div class="parity0 source"><a href="#l29" id="l29"> 29</a> <span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mf">0</span><span class="p">)</span></div><div class="parity1 source"><a href="#l30" id="l30"> 30</a> <span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mf">1</span><span class="p">)</span></div>
80 <div class="sourcelast"></div>
79 <div class="sourcelast"></div>
81 </div>
80 </div>
82 </div>
81 </div>
83 </div>
82 </div>
84
83
85
84
86
85
87 </body>
86 </body>
88 </html>
87 </html>
89
88
90 % hgweb filerevision, html
89 % hgweb filerevision, html
91 200 Script output follows
90 200 Script output follows
92
91
93 <!-- quirksmode -->
92 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
94 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
93 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
95 <html>
96 <head>
94 <head>
97 <link rel="icon" href="/static/hgicon.png" type="image/png">
95 <link rel="icon" href="/static/hgicon.png" type="image/png" />
98 <meta name="robots" content="index, nofollow" />
96 <meta name="robots" content="index, nofollow" />
99 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
97 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
100
98
101 <link rel="stylesheet" href="/highlightcss" type="text/css" />
99 <link rel="stylesheet" href="/highlightcss" type="text/css" />
102 <title>test: e55e3a42c53a isolatin</title>
100 <title>test: e55e3a42c53a isolatin</title>
103 </head>
101 </head>
104 <body>
102 <body>
105
103
106 <div class="container">
104 <div class="container">
107 <div class="menu">
105 <div class="menu">
108 <div class="logo">
106 <div class="logo">
109 <a href="http://www.selenic.com/mercurial/">
107 <a href="http://www.selenic.com/mercurial/">
110 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
108 <img src="/static/hglogo.png" alt="mercurial" /></a>
111 </div>
109 </div>
112 <ul>
110 <ul>
113 <li><a href="/shortlog/e55e3a42c53a">log</a></li>
111 <li><a href="/shortlog/e55e3a42c53a">log</a></li>
114 <li><a href="/graph/e55e3a42c53a">graph</a></li>
112 <li><a href="/graph/e55e3a42c53a">graph</a></li>
115 <li><a href="/tags">tags</a></li>
113 <li><a href="/tags">tags</a></li>
116 </ul>
114 </ul>
117 <ul>
115 <ul>
118 <li><a href="/rev/e55e3a42c53a">changeset</a></li>
116 <li><a href="/rev/e55e3a42c53a">changeset</a></li>
119 <li><a href="/file/e55e3a42c53a/">browse</a></li>
117 <li><a href="/file/e55e3a42c53a/">browse</a></li>
120 </ul>
118 </ul>
121 <ul>
119 <ul>
122 <li class="active">file</li>
120 <li class="active">file</li>
123 <li><a href="/diff/e55e3a42c53a/isolatin">diff</a></li>
121 <li><a href="/diff/e55e3a42c53a/isolatin">diff</a></li>
124 <li><a href="/annotate/e55e3a42c53a/isolatin">annotate</a></li>
122 <li><a href="/annotate/e55e3a42c53a/isolatin">annotate</a></li>
125 <li><a href="/log/e55e3a42c53a/isolatin">file log</a></li>
123 <li><a href="/log/e55e3a42c53a/isolatin">file log</a></li>
126 <li><a href="/raw-file/e55e3a42c53a/isolatin">raw</a></li>
124 <li><a href="/raw-file/e55e3a42c53a/isolatin">raw</a></li>
127 </ul>
125 </ul>
128 </div>
126 </div>
129
127
130 <div class="main">
128 <div class="main">
131 <h2><a href="/">test</a></h2>
129 <h2><a href="/">test</a></h2>
132 <h3>view isolatin @ 0:e55e3a42c53a</h3>
130 <h3>view isolatin @ 0:e55e3a42c53a</h3>
133
131
134 <form class="search" action="/log">
132 <form class="search" action="/log">
135
133
136 <p><input name="rev" id="search1" type="text" size="30"></p>
134 <p><input name="rev" id="search1" type="text" size="30" /></p>
137 <span>find changesets by author, revision,
135 <div id="hint">find changesets by author, revision,
138 files, or words in the commit message</span>
136 files, or words in the commit message</div>
139 </form>
137 </form>
140
138
141 <div class="description">a</div>
139 <div class="description">a</div>
142
140
143 <table id="changesetEntry">
141 <table id="changesetEntry">
144 <tr>
142 <tr>
145 <th class="author">author</th>
143 <th class="author">author</th>
146 <td class="author">&#116;&#101;&#115;&#116;</td>
144 <td class="author">&#116;&#101;&#115;&#116;</td>
147 </tr>
145 </tr>
148 <tr>
146 <tr>
149 <th class="date">date</th>
147 <th class="date">date</th>
150 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
148 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
151 </tr>
149 </tr>
152 <tr>
150 <tr>
153 <th class="author">parents</th>
151 <th class="author">parents</th>
154 <td class="author"></td>
152 <td class="author"></td>
155 </tr>
153 </tr>
156 <tr>
154 <tr>
157 <th class="author">children</th>
155 <th class="author">children</th>
158 <td class="author"></td>
156 <td class="author"></td>
159 </tr>
157 </tr>
160
158
161 </table>
159 </table>
162
160
163 <div class="overflow">
161 <div class="overflow">
164 <div class="sourcefirst"> line source</div>
162 <div class="sourcefirst"> line source</div>
165 <div class="parity0 source"><a href="#l1" id="l1"> 1</a> h?bsch</div>
163 <div class="parity0 source"><a href="#l1" id="l1"> 1</a> h?bsch</div>
166 <div class="sourcelast"></div>
164 <div class="sourcelast"></div>
167 </div>
165 </div>
168 </div>
166 </div>
169 </div>
167 </div>
170
168
171
169
172
170
173 </body>
171 </body>
174 </html>
172 </html>
175
173
176 % hgweb fileannotate, html
174 % hgweb fileannotate, html
177 200 Script output follows
175 200 Script output follows
178
176
179 <!-- quirksmode -->
177 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
180 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
178 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
181 <html>
182 <head>
179 <head>
183 <link rel="icon" href="/static/hgicon.png" type="image/png">
180 <link rel="icon" href="/static/hgicon.png" type="image/png" />
184 <meta name="robots" content="index, nofollow" />
181 <meta name="robots" content="index, nofollow" />
185 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
182 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
186
183
187 <link rel="stylesheet" href="/highlightcss" type="text/css" />
184 <link rel="stylesheet" href="/highlightcss" type="text/css" />
188 <title>test: get-with-headers.py annotate</title>
185 <title>test: get-with-headers.py annotate</title>
189 </head>
186 </head>
190 <body>
187 <body>
191
188
192 <div class="container">
189 <div class="container">
193 <div class="menu">
190 <div class="menu">
194 <div class="logo">
191 <div class="logo">
195 <a href="http://www.selenic.com/mercurial/">
192 <a href="http://www.selenic.com/mercurial/">
196 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
193 <img src="/static/hglogo.png" alt="mercurial" /></a>
197 </div>
194 </div>
198 <ul>
195 <ul>
199 <li><a href="/shortlog/e55e3a42c53a">log</a></li>
196 <li><a href="/shortlog/e55e3a42c53a">log</a></li>
200 <li><a href="/graph/e55e3a42c53a">graph</a></li>
197 <li><a href="/graph/e55e3a42c53a">graph</a></li>
201 <li><a href="/tags">tags</a></li>
198 <li><a href="/tags">tags</a></li>
202 </ul>
199 </ul>
203
200
204 <ul>
201 <ul>
205 <li><a href="/rev/e55e3a42c53a">changeset</a></li>
202 <li><a href="/rev/e55e3a42c53a">changeset</a></li>
206 <li><a href="/file/e55e3a42c53a/">browse</a></li>
203 <li><a href="/file/e55e3a42c53a/">browse</a></li>
207 </ul>
204 </ul>
208 <ul>
205 <ul>
209 <li><a href="/file/e55e3a42c53a/get-with-headers.py">file</a></li>
206 <li><a href="/file/e55e3a42c53a/get-with-headers.py">file</a></li>
210 <li><a href="/diff/e55e3a42c53a/get-with-headers.py">diff</a></li>
207 <li><a href="/diff/e55e3a42c53a/get-with-headers.py">diff</a></li>
211 <li class="active">annotate</li>
208 <li class="active">annotate</li>
212 <li><a href="/log/e55e3a42c53a/get-with-headers.py">file log</a></li>
209 <li><a href="/log/e55e3a42c53a/get-with-headers.py">file log</a></li>
213 <li><a href="/raw-annotate/e55e3a42c53a/get-with-headers.py">raw</a></li>
210 <li><a href="/raw-annotate/e55e3a42c53a/get-with-headers.py">raw</a></li>
214 </ul>
211 </ul>
215 </div>
212 </div>
216
213
217 <div class="main">
214 <div class="main">
218 <h2><a href="/">test</a></h2>
215 <h2><a href="/">test</a></h2>
219 <h3>annotate get-with-headers.py @ 0:e55e3a42c53a</h3>
216 <h3>annotate get-with-headers.py @ 0:e55e3a42c53a</h3>
220
217
221 <form class="search" action="/log">
218 <form class="search" action="/log">
222
219
223 <p><input name="rev" id="search1" type="text" size="30"></p>
220 <p><input name="rev" id="search1" type="text" size="30" /></p>
224 <span>find changesets by author, revision,
221 <div id="hint">find changesets by author, revision,
225 files, or words in the commit message</span>
222 files, or words in the commit message</div>
226 </form>
223 </form>
227
224
228 <div class="description">a</div>
225 <div class="description">a</div>
229
226
230 <table id="changesetEntry">
227 <table id="changesetEntry">
231 <tr>
228 <tr>
232 <th class="author">author</th>
229 <th class="author">author</th>
233 <td class="author">&#116;&#101;&#115;&#116;</td>
230 <td class="author">&#116;&#101;&#115;&#116;</td>
234 </tr>
231 </tr>
235 <tr>
232 <tr>
236 <th class="date">date</th>
233 <th class="date">date</th>
237 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
234 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
238 </tr>
235 </tr>
239 <tr>
236 <tr>
240 <th class="author">parents</th>
237 <th class="author">parents</th>
241 <td class="author"></td>
238 <td class="author"></td>
242 </tr>
239 </tr>
243 <tr>
240 <tr>
244 <th class="author">children</th>
241 <th class="author">children</th>
245 <td class="author"></td>
242 <td class="author"></td>
246 </tr>
243 </tr>
247
244
248 </table>
245 </table>
249
246
250 <br/>
247 <br/>
251
248
252 <div class="overflow">
249 <div class="overflow">
253 <table class="bigtable">
250 <table class="bigtable">
254 <tr>
251 <tr>
255 <th class="annotate">rev</th>
252 <th class="annotate">rev</th>
256 <th class="line">&nbsp;&nbsp;line source</th>
253 <th class="line">&nbsp;&nbsp;line source</th>
257 </tr>
254 </tr>
258 <tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#1" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l1" id="l1"> 1</a> <span class="c">#!/usr/bin/env python</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#2" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l2" id="l2"> 2</a> </td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#3" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l3" id="l3"> 3</a> <span class="n">__doc__</span> <span class="o">=</span> <span class="s">&quot;&quot;&quot;This does HTTP get requests given a host:port and path and returns</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#4" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l4" id="l4"> 4</a> <span class="s">a subset of the headers plus the body of the result.&quot;&quot;&quot;</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#5" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l5" id="l5"> 5</a> </td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#6" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l6" id="l6"> 6</a> <span class="kn">import</span> <span class="nn">httplib</span><span class="o">,</span> <span class="nn">sys</span><span class="o">,</span> <span class="nn">re</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#7" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l7" id="l7"> 7</a> </td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#8" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l8" id="l8"> 8</a> <span class="kn">try</span><span class="p">:</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#9" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l9" id="l9"> 9</a> <span class="kn">import</span> <span class="nn">msvcrt</span><span class="o">,</span> <span class="nn">os</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#10" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l10" id="l10"> 10</a> <span class="n">msvcrt</span><span class="o">.</span><span class="n">setmode</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="o">.</span><span class="n">fileno</span><span class="p">(),</span> <span class="n">os</span><span class="o">.</span><span class="n">O_BINARY</span><span class="p">)</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#11" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l11" id="l11"> 11</a> <span class="n">msvcrt</span><span class="o">.</span><span class="n">setmode</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">stderr</span><span class="o">.</span><span class="n">fileno</span><span class="p">(),</span> <span class="n">os</span><span class="o">.</span><span class="n">O_BINARY</span><span class="p">)</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#12" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l12" id="l12"> 12</a> <span class="kn">except</span> <span class="ne">ImportError</span><span class="p">:</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#13" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l13" id="l13"> 13</a> <span class="kn">pass</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#14" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l14" id="l14"> 14</a> </td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#15" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l15" id="l15"> 15</a> <span class="n">headers</span> <span class="o">=</span> <span class="p">[</span><span class="n">h</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span> <span class="kn">for</span> <span class="n">h</span> <span class="ow">in</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">3</span><span class="p">:]]</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#16" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l16" id="l16"> 16</a> <span class="n">conn</span> <span class="o">=</span> <span class="n">httplib</span><span class="o">.</span><span class="n">HTTPConnection</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">1</span><span class="p">])</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#17" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l17" id="l17"> 17</a> <span class="n">conn</span><span class="o">.</span><span class="n">request</span><span class="p">(</span><span class="s">&quot;GET&quot;</span><span class="p">,</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">2</span><span class="p">])</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#18" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l18" id="l18"> 18</a> <span class="n">response</span> <span class="o">=</span> <span class="n">conn</span><span class="o">.</span><span class="n">getresponse</span><span class="p">()</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#19" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l19" id="l19"> 19</a> <span class="kn">print</span> <span class="n">response</span><span class="o">.</span><span class="n">status</span><span class="p">,</span> <span class="n">response</span><span class="o">.</span><span class="n">reason</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#20" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l20" id="l20"> 20</a> <span class="kn">for</span> <span class="n">h</span> <span class="ow">in</span> <span class="n">headers</span><span class="p">:</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#21" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l21" id="l21"> 21</a> <span class="kn">if</span> <span class="n">response</span><span class="o">.</span><span class="n">getheader</span><span class="p">(</span><span class="n">h</span><span class="p">,</span> <span class="bp">None</span><span class="p">)</span> <span class="ow">is</span> <span class="ow">not</span> <span class="bp">None</span><span class="p">:</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#22" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l22" id="l22"> 22</a> <span class="kn">print</span> <span class="s">&quot;</span><span class="si">%s</span><span class="s">: </span><span class="si">%s</span><span class="s">&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="n">h</span><span class="p">,</span> <span class="n">response</span><span class="o">.</span><span class="n">getheader</span><span class="p">(</span><span class="n">h</span><span class="p">))</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#23" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l23" id="l23"> 23</a> <span class="kn">print</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#24" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l24" id="l24"> 24</a> <span class="n">data</span> <span class="o">=</span> <span class="n">response</span><span class="o">.</span><span class="n">read</span><span class="p">()</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#25" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l25" id="l25"> 25</a> <span class="n">data</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s">&#39;\d+ years&#39;</span><span class="p">,</span> <span class="s">&#39;many years&#39;</span><span class="p">,</span> <span class="n">data</span><span class="p">)</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#26" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l26" id="l26"> 26</a> <span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">data</span><span class="p">)</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#27" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l27" id="l27"> 27</a> </td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#28" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l28" id="l28"> 28</a> <span class="kn">if</span> <span class="mf">200</span> <span class="o">&lt;=</span> <span class="n">response</span><span class="o">.</span><span class="n">status</span> <span class="o">&lt;=</span> <span class="mf">299</span><span class="p">:</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#29" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l29" id="l29"> 29</a> <span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mf">0</span><span class="p">)</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#30" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l30" id="l30"> 30</a> <span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mf">1</span><span class="p">)</span></td></tr>
255 <tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#1" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l1" id="l1"> 1</a> <span class="c">#!/usr/bin/env python</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#2" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l2" id="l2"> 2</a> </td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#3" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l3" id="l3"> 3</a> <span class="n">__doc__</span> <span class="o">=</span> <span class="s">&quot;&quot;&quot;This does HTTP get requests given a host:port and path and returns</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#4" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l4" id="l4"> 4</a> <span class="s">a subset of the headers plus the body of the result.&quot;&quot;&quot;</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#5" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l5" id="l5"> 5</a> </td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#6" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l6" id="l6"> 6</a> <span class="kn">import</span> <span class="nn">httplib</span><span class="o">,</span> <span class="nn">sys</span><span class="o">,</span> <span class="nn">re</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#7" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l7" id="l7"> 7</a> </td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#8" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l8" id="l8"> 8</a> <span class="kn">try</span><span class="p">:</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#9" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l9" id="l9"> 9</a> <span class="kn">import</span> <span class="nn">msvcrt</span><span class="o">,</span> <span class="nn">os</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#10" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l10" id="l10"> 10</a> <span class="n">msvcrt</span><span class="o">.</span><span class="n">setmode</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="o">.</span><span class="n">fileno</span><span class="p">(),</span> <span class="n">os</span><span class="o">.</span><span class="n">O_BINARY</span><span class="p">)</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#11" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l11" id="l11"> 11</a> <span class="n">msvcrt</span><span class="o">.</span><span class="n">setmode</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">stderr</span><span class="o">.</span><span class="n">fileno</span><span class="p">(),</span> <span class="n">os</span><span class="o">.</span><span class="n">O_BINARY</span><span class="p">)</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#12" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l12" id="l12"> 12</a> <span class="kn">except</span> <span class="ne">ImportError</span><span class="p">:</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#13" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l13" id="l13"> 13</a> <span class="kn">pass</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#14" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l14" id="l14"> 14</a> </td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#15" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l15" id="l15"> 15</a> <span class="n">headers</span> <span class="o">=</span> <span class="p">[</span><span class="n">h</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span> <span class="kn">for</span> <span class="n">h</span> <span class="ow">in</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">3</span><span class="p">:]]</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#16" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l16" id="l16"> 16</a> <span class="n">conn</span> <span class="o">=</span> <span class="n">httplib</span><span class="o">.</span><span class="n">HTTPConnection</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">1</span><span class="p">])</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#17" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l17" id="l17"> 17</a> <span class="n">conn</span><span class="o">.</span><span class="n">request</span><span class="p">(</span><span class="s">&quot;GET&quot;</span><span class="p">,</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mf">2</span><span class="p">])</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#18" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l18" id="l18"> 18</a> <span class="n">response</span> <span class="o">=</span> <span class="n">conn</span><span class="o">.</span><span class="n">getresponse</span><span class="p">()</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#19" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l19" id="l19"> 19</a> <span class="kn">print</span> <span class="n">response</span><span class="o">.</span><span class="n">status</span><span class="p">,</span> <span class="n">response</span><span class="o">.</span><span class="n">reason</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#20" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l20" id="l20"> 20</a> <span class="kn">for</span> <span class="n">h</span> <span class="ow">in</span> <span class="n">headers</span><span class="p">:</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#21" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l21" id="l21"> 21</a> <span class="kn">if</span> <span class="n">response</span><span class="o">.</span><span class="n">getheader</span><span class="p">(</span><span class="n">h</span><span class="p">,</span> <span class="bp">None</span><span class="p">)</span> <span class="ow">is</span> <span class="ow">not</span> <span class="bp">None</span><span class="p">:</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#22" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l22" id="l22"> 22</a> <span class="kn">print</span> <span class="s">&quot;</span><span class="si">%s</span><span class="s">: </span><span class="si">%s</span><span class="s">&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="n">h</span><span class="p">,</span> <span class="n">response</span><span class="o">.</span><span class="n">getheader</span><span class="p">(</span><span class="n">h</span><span class="p">))</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#23" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l23" id="l23"> 23</a> <span class="kn">print</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#24" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l24" id="l24"> 24</a> <span class="n">data</span> <span class="o">=</span> <span class="n">response</span><span class="o">.</span><span class="n">read</span><span class="p">()</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#25" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l25" id="l25"> 25</a> <span class="n">data</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span><span class="s">&#39;\d+ years&#39;</span><span class="p">,</span> <span class="s">&#39;many years&#39;</span><span class="p">,</span> <span class="n">data</span><span class="p">)</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#26" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l26" id="l26"> 26</a> <span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">data</span><span class="p">)</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#27" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l27" id="l27"> 27</a> </td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#28" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l28" id="l28"> 28</a> <span class="kn">if</span> <span class="mf">200</span> <span class="o">&lt;=</span> <span class="n">response</span><span class="o">.</span><span class="n">status</span> <span class="o">&lt;=</span> <span class="mf">299</span><span class="p">:</span></td></tr><tr class="parity0"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#29" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l29" id="l29"> 29</a> <span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mf">0</span><span class="p">)</span></td></tr><tr class="parity1"><td class="annotate"><a href="/annotate/e55e3a42c53a/get-with-headers.py#30" title="e55e3a42c53a: a">test@0</a></td><td class="source"><a href="#l30" id="l30"> 30</a> <span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">(</span><span class="mf">1</span><span class="p">)</span></td></tr>
259 </table>
256 </table>
260 </div>
257 </div>
261 </div>
258 </div>
262 </div>
259 </div>
263
260
264
261
265
262
266 </body>
263 </body>
267 </html>
264 </html>
268
265
269 % hgweb fileannotate, raw
266 % hgweb fileannotate, raw
270
267
271 % hgweb filerevision, raw
268 % hgweb filerevision, raw
272
269
273 % hgweb highlightcss friendly
270 % hgweb highlightcss friendly
274 200 Script output follows
271 200 Script output follows
275
272
276 /* pygments_style = friendly */
273 /* pygments_style = friendly */
277
274
278 % errors encountered
275 % errors encountered
279 % hg serve again
276 % hg serve again
280 % hgweb highlightcss fruity
277 % hgweb highlightcss fruity
281 200 Script output follows
278 200 Script output follows
282
279
283 /* pygments_style = fruity */
280 /* pygments_style = fruity */
284
281
285 % errors encountered
282 % errors encountered
General Comments 0
You need to be logged in to leave comments. Login now