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