Show More
This diff has been collapsed as it changes many lines, (672 lines changed) Show them Hide them | |||||
@@ -1,51 +1,647 b'' | |||||
1 | #!/bin/sh |
|
|||
2 |
|
||||
3 | hg init test |
|
|||
4 | cd test |
|
|||
5 |
|
1 | |||
6 | echo b > b |
|
2 | $ hg init test | |
7 | hg ci -Am "b" |
|
3 | $ cd test | |
|
4 | $ echo b > b | |||
|
5 | $ hg ci -Am "b" | |||
|
6 | adding b | |||
|
7 | $ echo a > a | |||
|
8 | $ hg ci -Am "first a" | |||
|
9 | adding a | |||
|
10 | $ hg rm a | |||
|
11 | $ hg ci -m "del a" | |||
|
12 | $ echo b > a | |||
|
13 | $ hg ci -Am "second a" | |||
|
14 | adding a | |||
|
15 | $ hg rm a | |||
|
16 | $ hg ci -m "del2 a" | |||
|
17 | $ hg mv b c | |||
|
18 | $ hg ci -m "mv b" | |||
|
19 | $ echo c >> c | |||
|
20 | $ hg ci -m "change c" | |||
|
21 | $ hg log -p | |||
|
22 | changeset: 6:b7682196df1c | |||
|
23 | tag: tip | |||
|
24 | user: test | |||
|
25 | date: Thu Jan 01 00:00:00 1970 +0000 | |||
|
26 | summary: change c | |||
|
27 | ||||
|
28 | diff -r 1a6696706df2 -r b7682196df1c c | |||
|
29 | --- a/c Thu Jan 01 00:00:00 1970 +0000 | |||
|
30 | +++ b/c Thu Jan 01 00:00:00 1970 +0000 | |||
|
31 | @@ -1,1 +1,2 @@ | |||
|
32 | b | |||
|
33 | +c | |||
|
34 | ||||
|
35 | changeset: 5:1a6696706df2 | |||
|
36 | user: test | |||
|
37 | date: Thu Jan 01 00:00:00 1970 +0000 | |||
|
38 | summary: mv b | |||
|
39 | ||||
|
40 | diff -r 52e848cdcd88 -r 1a6696706df2 b | |||
|
41 | --- a/b Thu Jan 01 00:00:00 1970 +0000 | |||
|
42 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 | |||
|
43 | @@ -1,1 +0,0 @@ | |||
|
44 | -b | |||
|
45 | diff -r 52e848cdcd88 -r 1a6696706df2 c | |||
|
46 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |||
|
47 | +++ b/c Thu Jan 01 00:00:00 1970 +0000 | |||
|
48 | @@ -0,0 +1,1 @@ | |||
|
49 | +b | |||
|
50 | ||||
|
51 | changeset: 4:52e848cdcd88 | |||
|
52 | user: test | |||
|
53 | date: Thu Jan 01 00:00:00 1970 +0000 | |||
|
54 | summary: del2 a | |||
|
55 | ||||
|
56 | diff -r 01de2d66a28d -r 52e848cdcd88 a | |||
|
57 | --- a/a Thu Jan 01 00:00:00 1970 +0000 | |||
|
58 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 | |||
|
59 | @@ -1,1 +0,0 @@ | |||
|
60 | -b | |||
|
61 | ||||
|
62 | changeset: 3:01de2d66a28d | |||
|
63 | user: test | |||
|
64 | date: Thu Jan 01 00:00:00 1970 +0000 | |||
|
65 | summary: second a | |||
|
66 | ||||
|
67 | diff -r be3ebcc91739 -r 01de2d66a28d a | |||
|
68 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |||
|
69 | +++ b/a Thu Jan 01 00:00:00 1970 +0000 | |||
|
70 | @@ -0,0 +1,1 @@ | |||
|
71 | +b | |||
|
72 | ||||
|
73 | changeset: 2:be3ebcc91739 | |||
|
74 | user: test | |||
|
75 | date: Thu Jan 01 00:00:00 1970 +0000 | |||
|
76 | summary: del a | |||
|
77 | ||||
|
78 | diff -r 5ed941583260 -r be3ebcc91739 a | |||
|
79 | --- a/a Thu Jan 01 00:00:00 1970 +0000 | |||
|
80 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 | |||
|
81 | @@ -1,1 +0,0 @@ | |||
|
82 | -a | |||
|
83 | ||||
|
84 | changeset: 1:5ed941583260 | |||
|
85 | user: test | |||
|
86 | date: Thu Jan 01 00:00:00 1970 +0000 | |||
|
87 | summary: first a | |||
|
88 | ||||
|
89 | diff -r 6563da9dcf87 -r 5ed941583260 a | |||
|
90 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |||
|
91 | +++ b/a Thu Jan 01 00:00:00 1970 +0000 | |||
|
92 | @@ -0,0 +1,1 @@ | |||
|
93 | +a | |||
|
94 | ||||
|
95 | changeset: 0:6563da9dcf87 | |||
|
96 | user: test | |||
|
97 | date: Thu Jan 01 00:00:00 1970 +0000 | |||
|
98 | summary: b | |||
|
99 | ||||
|
100 | diff -r 000000000000 -r 6563da9dcf87 b | |||
|
101 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |||
|
102 | +++ b/b Thu Jan 01 00:00:00 1970 +0000 | |||
|
103 | @@ -0,0 +1,1 @@ | |||
|
104 | +b | |||
|
105 | ||||
|
106 | $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log | |||
|
107 | $ cat hg.pid >> $DAEMON_PIDS | |||
8 |
|
108 | |||
9 | echo a > a |
|
109 | tip - two revisions | |
10 | hg ci -Am "first a" |
|
|||
11 |
|
110 | |||
12 | hg rm a |
|
111 | $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/tip/a') | |
13 | hg ci -m "del a" |
|
112 | 200 Script output follows | |
|
113 | ||||
|
114 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |||
|
115 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | |||
|
116 | <head> | |||
|
117 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |||
|
118 | <meta name="robots" content="index, nofollow" /> | |||
|
119 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> | |||
|
120 | ||||
|
121 | <title>test: a history</title> | |||
|
122 | <link rel="alternate" type="application/atom+xml" | |||
|
123 | href="/atom-log/tip/a" title="Atom feed for test:a" /> | |||
|
124 | <link rel="alternate" type="application/rss+xml" | |||
|
125 | href="/rss-log/tip/a" title="RSS feed for test:a" /> | |||
|
126 | </head> | |||
|
127 | <body> | |||
|
128 | ||||
|
129 | <div class="container"> | |||
|
130 | <div class="menu"> | |||
|
131 | <div class="logo"> | |||
|
132 | <a href="http://mercurial.selenic.com/"> | |||
|
133 | <img src="/static/hglogo.png" alt="mercurial" /></a> | |||
|
134 | </div> | |||
|
135 | <ul> | |||
|
136 | <li><a href="/shortlog/01de2d66a28d">log</a></li> | |||
|
137 | <li><a href="/graph/01de2d66a28d">graph</a></li> | |||
|
138 | <li><a href="/tags">tags</a></li> | |||
|
139 | <li><a href="/branches">branches</a></li> | |||
|
140 | </ul> | |||
|
141 | <ul> | |||
|
142 | <li><a href="/rev/01de2d66a28d">changeset</a></li> | |||
|
143 | <li><a href="/file/01de2d66a28d">browse</a></li> | |||
|
144 | </ul> | |||
|
145 | <ul> | |||
|
146 | <li><a href="/file/01de2d66a28d/a">file</a></li> | |||
|
147 | <li><a href="/diff/01de2d66a28d/a">diff</a></li> | |||
|
148 | <li><a href="/annotate/01de2d66a28d/a">annotate</a></li> | |||
|
149 | <li class="active">file log</li> | |||
|
150 | <li><a href="/raw-file/01de2d66a28d/a">raw</a></li> | |||
|
151 | </ul> | |||
|
152 | </div> | |||
|
153 | ||||
|
154 | <div class="main"> | |||
|
155 | <h2><a href="/">test</a></h2> | |||
|
156 | <h3>log a</h3> | |||
|
157 | ||||
|
158 | <form class="search" action="/log"> | |||
|
159 | ||||
|
160 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |||
|
161 | <div id="hint">find changesets by author, revision, | |||
|
162 | files, or words in the commit message</div> | |||
|
163 | </form> | |||
|
164 | ||||
|
165 | <div class="navigate"> | |||
|
166 | <a href="/log/01de2d66a28d/a?revcount=30">less</a> | |||
|
167 | <a href="/log/01de2d66a28d/a?revcount=120">more</a> | |||
|
168 | | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div> | |||
|
169 | ||||
|
170 | <table class="bigtable"> | |||
|
171 | <tr> | |||
|
172 | <th class="age">age</th> | |||
|
173 | <th class="author">author</th> | |||
|
174 | <th class="description">description</th> | |||
|
175 | </tr> | |||
|
176 | <tr class="parity0"> | |||
|
177 | <td class="age">1970-01-01</td> | |||
|
178 | <td class="author">test</td> | |||
|
179 | <td class="description"><a href="/rev/01de2d66a28d">second a</a></td> | |||
|
180 | </tr> | |||
|
181 | <tr class="parity1"> | |||
|
182 | <td class="age">1970-01-01</td> | |||
|
183 | <td class="author">test</td> | |||
|
184 | <td class="description"><a href="/rev/5ed941583260">first a</a></td> | |||
|
185 | </tr> | |||
|
186 | ||||
|
187 | </table> | |||
|
188 | ||||
|
189 | <div class="navigate"> | |||
|
190 | <a href="/log/01de2d66a28d/a?revcount=30">less</a> | |||
|
191 | <a href="/log/01de2d66a28d/a?revcount=120">more</a> | |||
|
192 | | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> | |||
|
193 | </div> | |||
|
194 | ||||
|
195 | </div> | |||
|
196 | </div> | |||
|
197 | ||||
|
198 | ||||
|
199 | ||||
|
200 | </body> | |||
|
201 | </html> | |||
|
202 | ||||
14 |
|
203 | |||
15 | echo b > a |
|
204 | second version - two revisions | |
16 | hg ci -Am "second a" |
|
|||
17 |
|
205 | |||
18 | hg rm a |
|
206 | $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/3/a') | |
19 | hg ci -m "del2 a" |
|
207 | 200 Script output follows | |
|
208 | ||||
|
209 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |||
|
210 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | |||
|
211 | <head> | |||
|
212 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |||
|
213 | <meta name="robots" content="index, nofollow" /> | |||
|
214 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> | |||
|
215 | ||||
|
216 | <title>test: a history</title> | |||
|
217 | <link rel="alternate" type="application/atom+xml" | |||
|
218 | href="/atom-log/tip/a" title="Atom feed for test:a" /> | |||
|
219 | <link rel="alternate" type="application/rss+xml" | |||
|
220 | href="/rss-log/tip/a" title="RSS feed for test:a" /> | |||
|
221 | </head> | |||
|
222 | <body> | |||
|
223 | ||||
|
224 | <div class="container"> | |||
|
225 | <div class="menu"> | |||
|
226 | <div class="logo"> | |||
|
227 | <a href="http://mercurial.selenic.com/"> | |||
|
228 | <img src="/static/hglogo.png" alt="mercurial" /></a> | |||
|
229 | </div> | |||
|
230 | <ul> | |||
|
231 | <li><a href="/shortlog/01de2d66a28d">log</a></li> | |||
|
232 | <li><a href="/graph/01de2d66a28d">graph</a></li> | |||
|
233 | <li><a href="/tags">tags</a></li> | |||
|
234 | <li><a href="/branches">branches</a></li> | |||
|
235 | </ul> | |||
|
236 | <ul> | |||
|
237 | <li><a href="/rev/01de2d66a28d">changeset</a></li> | |||
|
238 | <li><a href="/file/01de2d66a28d">browse</a></li> | |||
|
239 | </ul> | |||
|
240 | <ul> | |||
|
241 | <li><a href="/file/01de2d66a28d/a">file</a></li> | |||
|
242 | <li><a href="/diff/01de2d66a28d/a">diff</a></li> | |||
|
243 | <li><a href="/annotate/01de2d66a28d/a">annotate</a></li> | |||
|
244 | <li class="active">file log</li> | |||
|
245 | <li><a href="/raw-file/01de2d66a28d/a">raw</a></li> | |||
|
246 | </ul> | |||
|
247 | </div> | |||
|
248 | ||||
|
249 | <div class="main"> | |||
|
250 | <h2><a href="/">test</a></h2> | |||
|
251 | <h3>log a</h3> | |||
|
252 | ||||
|
253 | <form class="search" action="/log"> | |||
|
254 | ||||
|
255 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |||
|
256 | <div id="hint">find changesets by author, revision, | |||
|
257 | files, or words in the commit message</div> | |||
|
258 | </form> | |||
|
259 | ||||
|
260 | <div class="navigate"> | |||
|
261 | <a href="/log/01de2d66a28d/a?revcount=30">less</a> | |||
|
262 | <a href="/log/01de2d66a28d/a?revcount=120">more</a> | |||
|
263 | | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div> | |||
|
264 | ||||
|
265 | <table class="bigtable"> | |||
|
266 | <tr> | |||
|
267 | <th class="age">age</th> | |||
|
268 | <th class="author">author</th> | |||
|
269 | <th class="description">description</th> | |||
|
270 | </tr> | |||
|
271 | <tr class="parity0"> | |||
|
272 | <td class="age">1970-01-01</td> | |||
|
273 | <td class="author">test</td> | |||
|
274 | <td class="description"><a href="/rev/01de2d66a28d">second a</a></td> | |||
|
275 | </tr> | |||
|
276 | <tr class="parity1"> | |||
|
277 | <td class="age">1970-01-01</td> | |||
|
278 | <td class="author">test</td> | |||
|
279 | <td class="description"><a href="/rev/5ed941583260">first a</a></td> | |||
|
280 | </tr> | |||
|
281 | ||||
|
282 | </table> | |||
|
283 | ||||
|
284 | <div class="navigate"> | |||
|
285 | <a href="/log/01de2d66a28d/a?revcount=30">less</a> | |||
|
286 | <a href="/log/01de2d66a28d/a?revcount=120">more</a> | |||
|
287 | | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> | |||
|
288 | </div> | |||
|
289 | ||||
|
290 | </div> | |||
|
291 | </div> | |||
|
292 | ||||
|
293 | ||||
|
294 | ||||
|
295 | </body> | |||
|
296 | </html> | |||
|
297 | ||||
20 |
|
298 | |||
21 | hg mv b c |
|
299 | first deleted - one revision | |
22 | hg ci -m "mv b" |
|
|||
23 |
|
||||
24 | echo c >> c |
|
|||
25 | hg ci -m "change c" |
|
|||
26 |
|
300 | |||
27 | hg log -p |
|
301 | $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/2/a') | |
28 |
|
302 | 200 Script output follows | ||
29 | hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log |
|
303 | ||
30 | cat hg.pid >> $DAEMON_PIDS |
|
304 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
|
305 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | |||
|
306 | <head> | |||
|
307 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |||
|
308 | <meta name="robots" content="index, nofollow" /> | |||
|
309 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> | |||
|
310 | ||||
|
311 | <title>test: a history</title> | |||
|
312 | <link rel="alternate" type="application/atom+xml" | |||
|
313 | href="/atom-log/tip/a" title="Atom feed for test:a" /> | |||
|
314 | <link rel="alternate" type="application/rss+xml" | |||
|
315 | href="/rss-log/tip/a" title="RSS feed for test:a" /> | |||
|
316 | </head> | |||
|
317 | <body> | |||
|
318 | ||||
|
319 | <div class="container"> | |||
|
320 | <div class="menu"> | |||
|
321 | <div class="logo"> | |||
|
322 | <a href="http://mercurial.selenic.com/"> | |||
|
323 | <img src="/static/hglogo.png" alt="mercurial" /></a> | |||
|
324 | </div> | |||
|
325 | <ul> | |||
|
326 | <li><a href="/shortlog/5ed941583260">log</a></li> | |||
|
327 | <li><a href="/graph/5ed941583260">graph</a></li> | |||
|
328 | <li><a href="/tags">tags</a></li> | |||
|
329 | <li><a href="/branches">branches</a></li> | |||
|
330 | </ul> | |||
|
331 | <ul> | |||
|
332 | <li><a href="/rev/5ed941583260">changeset</a></li> | |||
|
333 | <li><a href="/file/5ed941583260">browse</a></li> | |||
|
334 | </ul> | |||
|
335 | <ul> | |||
|
336 | <li><a href="/file/5ed941583260/a">file</a></li> | |||
|
337 | <li><a href="/diff/5ed941583260/a">diff</a></li> | |||
|
338 | <li><a href="/annotate/5ed941583260/a">annotate</a></li> | |||
|
339 | <li class="active">file log</li> | |||
|
340 | <li><a href="/raw-file/5ed941583260/a">raw</a></li> | |||
|
341 | </ul> | |||
|
342 | </div> | |||
|
343 | ||||
|
344 | <div class="main"> | |||
|
345 | <h2><a href="/">test</a></h2> | |||
|
346 | <h3>log a</h3> | |||
|
347 | ||||
|
348 | <form class="search" action="/log"> | |||
|
349 | ||||
|
350 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |||
|
351 | <div id="hint">find changesets by author, revision, | |||
|
352 | files, or words in the commit message</div> | |||
|
353 | </form> | |||
|
354 | ||||
|
355 | <div class="navigate"> | |||
|
356 | <a href="/log/5ed941583260/a?revcount=30">less</a> | |||
|
357 | <a href="/log/5ed941583260/a?revcount=120">more</a> | |||
|
358 | | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div> | |||
|
359 | ||||
|
360 | <table class="bigtable"> | |||
|
361 | <tr> | |||
|
362 | <th class="age">age</th> | |||
|
363 | <th class="author">author</th> | |||
|
364 | <th class="description">description</th> | |||
|
365 | </tr> | |||
|
366 | <tr class="parity0"> | |||
|
367 | <td class="age">1970-01-01</td> | |||
|
368 | <td class="author">test</td> | |||
|
369 | <td class="description"><a href="/rev/5ed941583260">first a</a></td> | |||
|
370 | </tr> | |||
|
371 | ||||
|
372 | </table> | |||
|
373 | ||||
|
374 | <div class="navigate"> | |||
|
375 | <a href="/log/5ed941583260/a?revcount=30">less</a> | |||
|
376 | <a href="/log/5ed941583260/a?revcount=120">more</a> | |||
|
377 | | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> | |||
|
378 | </div> | |||
|
379 | ||||
|
380 | </div> | |||
|
381 | </div> | |||
|
382 | ||||
|
383 | ||||
|
384 | ||||
|
385 | </body> | |||
|
386 | </html> | |||
|
387 | ||||
31 |
|
388 | |||
32 | echo % tip - two revisions |
|
389 | first version - one revision | |
33 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/tip/a') |
|
|||
34 |
|
||||
35 | echo % second version - two revisions |
|
|||
36 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/3/a') |
|
|||
37 |
|
390 | |||
38 | echo % first deleted - one revision |
|
391 | $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/1/a') | |
39 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/2/a') |
|
392 | 200 Script output follows | |
|
393 | ||||
|
394 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |||
|
395 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | |||
|
396 | <head> | |||
|
397 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |||
|
398 | <meta name="robots" content="index, nofollow" /> | |||
|
399 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> | |||
|
400 | ||||
|
401 | <title>test: a history</title> | |||
|
402 | <link rel="alternate" type="application/atom+xml" | |||
|
403 | href="/atom-log/tip/a" title="Atom feed for test:a" /> | |||
|
404 | <link rel="alternate" type="application/rss+xml" | |||
|
405 | href="/rss-log/tip/a" title="RSS feed for test:a" /> | |||
|
406 | </head> | |||
|
407 | <body> | |||
|
408 | ||||
|
409 | <div class="container"> | |||
|
410 | <div class="menu"> | |||
|
411 | <div class="logo"> | |||
|
412 | <a href="http://mercurial.selenic.com/"> | |||
|
413 | <img src="/static/hglogo.png" alt="mercurial" /></a> | |||
|
414 | </div> | |||
|
415 | <ul> | |||
|
416 | <li><a href="/shortlog/5ed941583260">log</a></li> | |||
|
417 | <li><a href="/graph/5ed941583260">graph</a></li> | |||
|
418 | <li><a href="/tags">tags</a></li> | |||
|
419 | <li><a href="/branches">branches</a></li> | |||
|
420 | </ul> | |||
|
421 | <ul> | |||
|
422 | <li><a href="/rev/5ed941583260">changeset</a></li> | |||
|
423 | <li><a href="/file/5ed941583260">browse</a></li> | |||
|
424 | </ul> | |||
|
425 | <ul> | |||
|
426 | <li><a href="/file/5ed941583260/a">file</a></li> | |||
|
427 | <li><a href="/diff/5ed941583260/a">diff</a></li> | |||
|
428 | <li><a href="/annotate/5ed941583260/a">annotate</a></li> | |||
|
429 | <li class="active">file log</li> | |||
|
430 | <li><a href="/raw-file/5ed941583260/a">raw</a></li> | |||
|
431 | </ul> | |||
|
432 | </div> | |||
|
433 | ||||
|
434 | <div class="main"> | |||
|
435 | <h2><a href="/">test</a></h2> | |||
|
436 | <h3>log a</h3> | |||
|
437 | ||||
|
438 | <form class="search" action="/log"> | |||
|
439 | ||||
|
440 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |||
|
441 | <div id="hint">find changesets by author, revision, | |||
|
442 | files, or words in the commit message</div> | |||
|
443 | </form> | |||
|
444 | ||||
|
445 | <div class="navigate"> | |||
|
446 | <a href="/log/5ed941583260/a?revcount=30">less</a> | |||
|
447 | <a href="/log/5ed941583260/a?revcount=120">more</a> | |||
|
448 | | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div> | |||
|
449 | ||||
|
450 | <table class="bigtable"> | |||
|
451 | <tr> | |||
|
452 | <th class="age">age</th> | |||
|
453 | <th class="author">author</th> | |||
|
454 | <th class="description">description</th> | |||
|
455 | </tr> | |||
|
456 | <tr class="parity0"> | |||
|
457 | <td class="age">1970-01-01</td> | |||
|
458 | <td class="author">test</td> | |||
|
459 | <td class="description"><a href="/rev/5ed941583260">first a</a></td> | |||
|
460 | </tr> | |||
|
461 | ||||
|
462 | </table> | |||
|
463 | ||||
|
464 | <div class="navigate"> | |||
|
465 | <a href="/log/5ed941583260/a?revcount=30">less</a> | |||
|
466 | <a href="/log/5ed941583260/a?revcount=120">more</a> | |||
|
467 | | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> | |||
|
468 | </div> | |||
|
469 | ||||
|
470 | </div> | |||
|
471 | </div> | |||
|
472 | ||||
|
473 | ||||
|
474 | ||||
|
475 | </body> | |||
|
476 | </html> | |||
|
477 | ||||
40 |
|
478 | |||
41 | echo % first version - one revision |
|
479 | before addition - error | |
42 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/1/a') |
|
|||
43 |
|
480 | |||
44 | echo % before addition - error |
|
481 | $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/0/a') | |
45 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/0/a') |
|
482 | 404 Not Found | |
|
483 | ||||
|
484 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |||
|
485 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | |||
|
486 | <head> | |||
|
487 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |||
|
488 | <meta name="robots" content="index, nofollow" /> | |||
|
489 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> | |||
|
490 | ||||
|
491 | <title>test: error</title> | |||
|
492 | </head> | |||
|
493 | <body> | |||
|
494 | ||||
|
495 | <div class="container"> | |||
|
496 | <div class="menu"> | |||
|
497 | <div class="logo"> | |||
|
498 | <a href="http://mercurial.selenic.com/"> | |||
|
499 | <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a> | |||
|
500 | </div> | |||
|
501 | <ul> | |||
|
502 | <li><a href="/shortlog">log</a></li> | |||
|
503 | <li><a href="/graph">graph</a></li> | |||
|
504 | <li><a href="/tags">tags</a></li> | |||
|
505 | <li><a href="/branches">branches</a></li> | |||
|
506 | </ul> | |||
|
507 | </div> | |||
|
508 | ||||
|
509 | <div class="main"> | |||
|
510 | ||||
|
511 | <h2><a href="/">test</a></h2> | |||
|
512 | <h3>error</h3> | |||
|
513 | ||||
|
514 | <form class="search" action="/log"> | |||
|
515 | ||||
|
516 | <p><input name="rev" id="search1" type="text" size="30"></p> | |||
|
517 | <div id="hint">find changesets by author, revision, | |||
|
518 | files, or words in the commit message</div> | |||
|
519 | </form> | |||
|
520 | ||||
|
521 | <div class="description"> | |||
|
522 | <p> | |||
|
523 | An error occurred while processing your request: | |||
|
524 | </p> | |||
|
525 | <p> | |||
|
526 | a@6563da9dcf87: not found in manifest | |||
|
527 | </p> | |||
|
528 | </div> | |||
|
529 | </div> | |||
|
530 | </div> | |||
|
531 | ||||
|
532 | ||||
|
533 | ||||
|
534 | </body> | |||
|
535 | </html> | |||
|
536 | ||||
|
537 | [1] | |||
|
538 | ||||
|
539 | should show base link, use spartan because it shows it | |||
46 |
|
540 | |||
47 | echo % should show base link, use spartan because it shows it |
|
541 | $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/tip/c?style=spartan') | |
48 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/tip/c?style=spartan') |
|
542 | 200 Script output follows | |
|
543 | ||||
|
544 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |||
|
545 | <html> | |||
|
546 | <head> | |||
|
547 | <link rel="icon" href="/static/hgicon.png" type="image/png"> | |||
|
548 | <meta name="robots" content="index, nofollow" /> | |||
|
549 | <link rel="stylesheet" href="/static/style.css" type="text/css" /> | |||
|
550 | ||||
|
551 | <title>test: c history</title> | |||
|
552 | <link rel="alternate" type="application/atom+xml" | |||
|
553 | href="/atom-log/tip/c" title="Atom feed for test:c"> | |||
|
554 | <link rel="alternate" type="application/rss+xml" | |||
|
555 | href="/rss-log/tip/c" title="RSS feed for test:c"> | |||
|
556 | </head> | |||
|
557 | <body> | |||
|
558 | ||||
|
559 | <div class="buttons"> | |||
|
560 | <a href="/log?style=spartan">changelog</a> | |||
|
561 | <a href="/shortlog?style=spartan">shortlog</a> | |||
|
562 | <a href="/graph?style=spartan">graph</a> | |||
|
563 | <a href="/tags?style=spartan">tags</a> | |||
|
564 | <a href="/branches?style=spartan">branches</a> | |||
|
565 | <a href="/file/b7682196df1c/c?style=spartan">file</a> | |||
|
566 | <a href="/annotate/b7682196df1c/c?style=spartan">annotate</a> | |||
|
567 | <a type="application/rss+xml" href="/rss-log/tip/c">rss</a> | |||
|
568 | <a type="application/atom+xml" href="/atom-log/tip/c" title="Atom feed for test:c">atom</a> | |||
|
569 | </div> | |||
|
570 | ||||
|
571 | <h2>c revision history</h2> | |||
|
572 | ||||
|
573 | <p>navigate: <small class="navigate"><a href="/log/1a6696706df2/c?style=spartan">(0)</a> <a href="/log/tip/c?style=spartan">tip</a> </small></p> | |||
|
574 | ||||
|
575 | <table class="logEntry parity0"> | |||
|
576 | <tr> | |||
|
577 | <th class="age">1970-01-01:</th> | |||
|
578 | <th class="firstline"><a href="/rev/b7682196df1c?style=spartan">change c</a></th> | |||
|
579 | </tr> | |||
|
580 | <tr> | |||
|
581 | <th class="revision">revision 1:</td> | |||
|
582 | <td class="node"> | |||
|
583 | <a href="/file/b7682196df1c/c?style=spartan">b7682196df1c</a> | |||
|
584 | <a href="/diff/b7682196df1c/c?style=spartan">(diff)</a> | |||
|
585 | <a href="/annotate/b7682196df1c/c?style=spartan">(annotate)</a> | |||
|
586 | </td> | |||
|
587 | </tr> | |||
|
588 | ||||
|
589 | <tr> | |||
|
590 | <th class="author">author:</th> | |||
|
591 | <td class="author">test</td> | |||
|
592 | </tr> | |||
|
593 | <tr> | |||
|
594 | <th class="date">date:</th> | |||
|
595 | <td class="date">Thu Jan 01 00:00:00 1970 +0000</td> | |||
|
596 | </tr> | |||
|
597 | </table> | |||
|
598 | ||||
|
599 | ||||
|
600 | <table class="logEntry parity1"> | |||
|
601 | <tr> | |||
|
602 | <th class="age">1970-01-01:</th> | |||
|
603 | <th class="firstline"><a href="/rev/1a6696706df2?style=spartan">mv b</a></th> | |||
|
604 | </tr> | |||
|
605 | <tr> | |||
|
606 | <th class="revision">revision 0:</td> | |||
|
607 | <td class="node"> | |||
|
608 | <a href="/file/1a6696706df2/c?style=spartan">1a6696706df2</a> | |||
|
609 | <a href="/diff/1a6696706df2/c?style=spartan">(diff)</a> | |||
|
610 | <a href="/annotate/1a6696706df2/c?style=spartan">(annotate)</a> | |||
|
611 | </td> | |||
|
612 | </tr> | |||
|
613 | ||||
|
614 | <tr> | |||
|
615 | <th>base:</th> | |||
|
616 | <td> | |||
|
617 | <a href="/file/1e88685f5dde/b?style=spartan"> | |||
|
618 | b@1e88685f5dde | |||
|
619 | </a> | |||
|
620 | </td> | |||
|
621 | </tr> | |||
|
622 | <tr> | |||
|
623 | <th class="author">author:</th> | |||
|
624 | <td class="author">test</td> | |||
|
625 | </tr> | |||
|
626 | <tr> | |||
|
627 | <th class="date">date:</th> | |||
|
628 | <td class="date">Thu Jan 01 00:00:00 1970 +0000</td> | |||
|
629 | </tr> | |||
|
630 | </table> | |||
|
631 | ||||
|
632 | ||||
|
633 | ||||
|
634 | ||||
|
635 | ||||
|
636 | <div class="logo"> | |||
|
637 | <a href="http://mercurial.selenic.com/"> | |||
|
638 | <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a> | |||
|
639 | </div> | |||
|
640 | ||||
|
641 | </body> | |||
|
642 | </html> | |||
|
643 | ||||
49 |
|
644 | |||
50 |
|
|
645 | errors | |
51 | cat errors.log |
|
646 | ||
|
647 | $ cat errors.log |
General Comments 0
You need to be logged in to leave comments.
Login now