annotate tests/test-hgweb-removed.t @ 15082:d23dfcbb8840

share: drop unused import
author Matt Mackall <mpm@selenic.com>
date Sat, 10 Sep 2011 17:59:47 -0500
parents 4aef71839337
children fe9d36a6853e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
1 setting up repo
8452
cb93eee1fbcd tests: add missing interpreter lines
Martin Geisler <mg@lazybytes.net>
parents: 7183
diff changeset
2
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
3 $ hg init test
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
4 $ cd test
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
5 $ echo a > a
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
6 $ hg ci -Ama
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
7 adding a
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
8 $ hg rm a
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
9 $ hg ci -mdel
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
10
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
11 set up hgweb
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
12
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
13 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
14 $ cat hg.pid >> $DAEMON_PIDS
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
15
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
16 revision
7183
099b4f9be5ab hgweb: working diff for removed files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
17
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
18 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip'
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
19 200 Script output follows
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
20
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
21 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
22 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
23 <head>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
24 <link rel="icon" href="/static/hgicon.png" type="image/png" />
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
25 <meta name="robots" content="index, nofollow" />
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
26 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
27 <script type="text/javascript" src="/static/mercurial.js"></script>
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
28
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
29 <title>test: c78f6c5cbea9</title>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
30 </head>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
31 <body>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
32 <div class="container">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
33 <div class="menu">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
34 <div class="logo">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
35 <a href="http://mercurial.selenic.com/">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
36 <img src="/static/hglogo.png" alt="mercurial" /></a>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
37 </div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
38 <ul>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
39 <li><a href="/shortlog/c78f6c5cbea9">log</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
40 <li><a href="/graph/c78f6c5cbea9">graph</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
41 <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13596
diff changeset
42 <li><a href="/bookmarks">bookmarks</a></li>
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
43 <li><a href="/branches">branches</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
44 </ul>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
45 <ul>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
46 <li class="active">changeset</li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
47 <li><a href="/raw-rev/c78f6c5cbea9">raw</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
48 <li><a href="/file/c78f6c5cbea9">browse</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
49 </ul>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
50 <ul>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
51
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
52 </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12442
diff changeset
53 <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12442
diff changeset
54 <li><a href="/help">help</a></li>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12442
diff changeset
55 </ul>
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
56 </div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
57
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
58 <div class="main">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
59
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
60 <h2><a href="/">test</a></h2>
13596
270f57d35525 hgweb: add display of bookmarks for changelog and changeset
Alexander Solovyov <alexander@solovyov.net>
parents: 12680
diff changeset
61 <h3>changeset 1:c78f6c5cbea9 <span class="tag">tip</span> </h3>
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
62
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
63 <form class="search" action="/log">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
64
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
65 <p><input name="rev" id="search1" type="text" size="30" /></p>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
66 <div id="hint">find changesets by author, revision,
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
67 files, or words in the commit message</div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
68 </form>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
69
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
70 <div class="description">del</div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
71
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
72 <table id="changesetEntry">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
73 <tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
74 <th class="author">author</th>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
75 <td class="author">&#116;&#101;&#115;&#116;</td>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
76 </tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
77 <tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
78 <th class="date">date</th>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
79 <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td></tr>
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
80 <tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
81 <th class="author">parents</th>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
82 <td class="author"><a href="/rev/cb9a9f314b8b">cb9a9f314b8b</a> </td>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
83 </tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
84 <tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
85 <th class="author">children</th>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
86 <td class="author"></td>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
87 </tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
88 <tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
89 <th class="files">files</th>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
90 <td class="files">a </td>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
91 </tr>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
92 <tr>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
93 <th class="diffstat">diffstat</th>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
94 <td class="diffstat">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
95 1 files changed, 0 insertions(+), 1 deletions(-)
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
96
14608
4aef71839337 paper/coal: use fixed width for diffstat +/- link
Martin Geisler <mg@aragost.com>
parents: 14571
diff changeset
97 <a id="diffstatexpand" href="javascript:showDiffstat()"/>[<tt>+</tt>]</a>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
98 <div id="diffstatdetails" style="display:none;">
14608
4aef71839337 paper/coal: use fixed width for diffstat +/- link
Martin Geisler <mg@aragost.com>
parents: 14571
diff changeset
99 <a href="javascript:hideDiffstat()"/>[<tt>-</tt>]</a>
14571
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
100 <p>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
101 <table> <tr class="parity0">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
102 <td class="diffstat-file"><a href="#l1.1">a</a></td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
103 <td class="diffstat-total" align="right">1</td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
104 <td class="diffstat-graph">
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
105 <span class="diffstat-add" style="width:0.0%;">&nbsp;</span>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
106 <span class="diffstat-remove" style="width:100.0%;">&nbsp;</span>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
107 </td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
108 </tr>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
109 </table>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
110 </div>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
111 </td>
17c0cb1045e5 paper, coal: display diffstat on the changeset page
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
112 </tr>
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
113 </table>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
114
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
115 <div class="overflow">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
116 <div class="sourcefirst"> line diff</div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
117
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
118 <div class="source bottomline parity0"><pre><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- a/a Thu Jan 01 00:00:00 1970 +0000
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
119 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
120 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -1,1 +0,0 @@
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
121 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="minusline">-a
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
122 </span></pre></div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
123 </div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
124
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
125 </div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
126 </div>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
127 <script type="text/javascript">process_dates()</script>
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
128
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
129
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
130 </body>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
131 </html>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
132
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
133
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
134 diff removed file
7183
099b4f9be5ab hgweb: working diff for removed files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
135
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
136 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/a'
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
137 200 Script output follows
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
138
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
139 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
140 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
141 <head>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
142 <link rel="icon" href="/static/hgicon.png" type="image/png" />
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
143 <meta name="robots" content="index, nofollow" />
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
144 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
145 <script type="text/javascript" src="/static/mercurial.js"></script>
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
146
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
147 <title>test: a diff</title>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
148 </head>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
149 <body>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
150
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
151 <div class="container">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
152 <div class="menu">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
153 <div class="logo">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
154 <a href="http://mercurial.selenic.com/">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
155 <img src="/static/hglogo.png" alt="mercurial" /></a>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
156 </div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
157 <ul>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
158 <li><a href="/shortlog/c78f6c5cbea9">log</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
159 <li><a href="/graph/c78f6c5cbea9">graph</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
160 <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13596
diff changeset
161 <li><a href="/bookmarks">bookmarks</a></li>
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
162 <li><a href="/branches">branches</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
163 </ul>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
164 <ul>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
165 <li><a href="/rev/c78f6c5cbea9">changeset</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
166 <li><a href="/file/c78f6c5cbea9">browse</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
167 </ul>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
168 <ul>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
169 <li><a href="/file/c78f6c5cbea9/a">file</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
170 <li><a href="/file/tip/a">latest</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
171 <li class="active">diff</li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
172 <li><a href="/annotate/c78f6c5cbea9/a">annotate</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
173 <li><a href="/log/c78f6c5cbea9/a">file log</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
174 <li><a href="/raw-file/c78f6c5cbea9/a">raw</a></li>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
175 </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
176 <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
177 <li><a href="/help">help</a></li>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
178 </ul>
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
179 </div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
180
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
181 <div class="main">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
182 <h2><a href="/">test</a></h2>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
183 <h3>diff a @ 1:c78f6c5cbea9</h3>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
184
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
185 <form class="search" action="/log">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
186 <p></p>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
187 <p><input name="rev" id="search1" type="text" size="30" /></p>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
188 <div id="hint">find changesets by author, revision,
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
189 files, or words in the commit message</div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
190 </form>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
191
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
192 <div class="description">del</div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
193
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
194 <table id="changesetEntry">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
195 <tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
196 <th>author</th>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
197 <td>&#116;&#101;&#115;&#116;</td>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
198 </tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
199 <tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
200 <th>date</th>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
201 <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td>
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
202 </tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
203 <tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
204 <th>parents</th>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
205 <td><a href="/file/cb9a9f314b8b/a">cb9a9f314b8b</a> </td>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
206 </tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
207 <tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
208 <th>children</th>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
209 <td></td>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
210 </tr>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
211
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
212 </table>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
213
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
214 <div class="overflow">
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
215 <div class="sourcefirst"> line diff</div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
216
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
217 <div class="source bottomline parity0"><pre><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- a/a Thu Jan 01 00:00:00 1970 +0000
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
218 </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
219 </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -1,1 +0,0 @@
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
220 </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="minusline">-a
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
221 </span></pre></div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
222 </div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
223 </div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
224 </div>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
225
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
226 <script type="text/javascript">process_dates()</script>
12442
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
227
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
228
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
229 </body>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
230 </html>
b7fd332e5ca2 tests: unify test-hgweb-removed
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
231