Debian Codegraph @

tests/test-hgweb-filelog.t

raw
1 #require serve
2
3 $ hg init test
4 $ cd test
5 $ echo b > b
6 $ hg ci -Am "b"
7 adding b
8 $ echo a > a
9 $ hg ci -Am "first a"
10 adding a
11 $ hg tag -r 1 a-tag
12 $ hg bookmark -r 1 a-bookmark
13 $ hg rm a
14 $ hg ci -m "del a"
15 $ hg branch a-branch
16 marked working directory as branch a-branch
17 (branches are permanent and global, did you want a bookmark?)
18 $ echo b > a
19 $ hg ci -Am "second a"
20 adding a
21 $ hg rm a
22 $ hg ci -m "del2 a"
23 $ hg mv b c
24 $ hg ci -m "mv b"
25 $ echo c >> c
26 $ hg ci -m "change c"
27 $ hg log -p
28 changeset: 7:46c1a66bd8fc
29 branch: a-branch
30 tag: tip
31 user: test
32 date: Thu Jan 01 00:00:00 1970 +0000
33 summary: change c
34
35 diff -r c9637d3cc8ef -r 46c1a66bd8fc c
36 --- a/c Thu Jan 01 00:00:00 1970 +0000
37 +++ b/c Thu Jan 01 00:00:00 1970 +0000
38 @@ -1,1 +1,2 @@
39 b
40 +c
41
42 changeset: 6:c9637d3cc8ef
43 branch: a-branch
44 user: test
45 date: Thu Jan 01 00:00:00 1970 +0000
46 summary: mv b
47
48 diff -r 958bd88be4eb -r c9637d3cc8ef b
49 --- a/b Thu Jan 01 00:00:00 1970 +0000
50 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
51 @@ -1,1 +0,0 @@
52 -b
53 diff -r 958bd88be4eb -r c9637d3cc8ef c
54 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
55 +++ b/c Thu Jan 01 00:00:00 1970 +0000
56 @@ -0,0 +1,1 @@
57 +b
58
59 changeset: 5:958bd88be4eb
60 branch: a-branch
61 user: test
62 date: Thu Jan 01 00:00:00 1970 +0000
63 summary: del2 a
64
65 diff -r 3f41bc784e7e -r 958bd88be4eb a
66 --- a/a Thu Jan 01 00:00:00 1970 +0000
67 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
68 @@ -1,1 +0,0 @@
69 -b
70
71 changeset: 4:3f41bc784e7e
72 branch: a-branch
73 user: test
74 date: Thu Jan 01 00:00:00 1970 +0000
75 summary: second a
76
77 diff -r 292258f86fdf -r 3f41bc784e7e a
78 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
79 +++ b/a Thu Jan 01 00:00:00 1970 +0000
80 @@ -0,0 +1,1 @@
81 +b
82
83 changeset: 3:292258f86fdf
84 user: test
85 date: Thu Jan 01 00:00:00 1970 +0000
86 summary: del a
87
88 diff -r 94c9dd5ca9b4 -r 292258f86fdf a
89 --- a/a Thu Jan 01 00:00:00 1970 +0000
90 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
91 @@ -1,1 +0,0 @@
92 -a
93
94 changeset: 2:94c9dd5ca9b4
95 user: test
96 date: Thu Jan 01 00:00:00 1970 +0000
97 summary: Added tag a-tag for changeset 5ed941583260
98
99 diff -r 5ed941583260 -r 94c9dd5ca9b4 .hgtags
100 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
101 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
102 @@ -0,0 +1,1 @@
103 +5ed941583260248620985524192fdc382ef57c36 a-tag
104
105 changeset: 1:5ed941583260
106 bookmark: a-bookmark
107 tag: a-tag
108 user: test
109 date: Thu Jan 01 00:00:00 1970 +0000
110 summary: first a
111
112 diff -r 6563da9dcf87 -r 5ed941583260 a
113 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
114 +++ b/a Thu Jan 01 00:00:00 1970 +0000
115 @@ -0,0 +1,1 @@
116 +a
117
118 changeset: 0:6563da9dcf87
119 user: test
120 date: Thu Jan 01 00:00:00 1970 +0000
121 summary: b
122
123 diff -r 000000000000 -r 6563da9dcf87 b
124 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
125 +++ b/b Thu Jan 01 00:00:00 1970 +0000
126 @@ -0,0 +1,1 @@
127 +b
128
129 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
130 $ cat hg.pid >> $DAEMON_PIDS
131
132 tip - two revisions
133
134 $ (get-with-headers.py localhost:$HGPORT 'log/tip/a')
135 200 Script output follows
136
137 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
138 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
139 <head>
140 <link rel="icon" href="/static/hgicon.png" type="image/png" />
141 <meta name="robots" content="index, nofollow" />
142 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
143 <script type="text/javascript" src="/static/mercurial.js"></script>
144
145 <title>test: a history</title>
146 <link rel="alternate" type="application/atom+xml"
147 href="/atom-log/tip/a" title="Atom feed for test:a" />
148 <link rel="alternate" type="application/rss+xml"
149 href="/rss-log/tip/a" title="RSS feed for test:a" />
150 </head>
151 <body>
152
153 <div class="container">
154 <div class="menu">
155 <div class="logo">
156 <a href="https://mercurial-scm.org/">
157 <img src="/static/hglogo.png" alt="mercurial" /></a>
158 </div>
159 <ul>
160 <li><a href="/shortlog/tip">log</a></li>
161 <li><a href="/graph/tip">graph</a></li>
162 <li><a href="/tags">tags</a></li>
163 <li><a href="/bookmarks">bookmarks</a></li>
164 <li><a href="/branches">branches</a></li>
165 </ul>
166 <ul>
167 <li><a href="/rev/tip">changeset</a></li>
168 <li><a href="/file/tip">browse</a></li>
169 </ul>
170 <ul>
171 <li><a href="/file/tip/a">file</a></li>
172 <li><a href="/diff/tip/a">diff</a></li>
173 <li><a href="/comparison/tip/a">comparison</a></li>
174 <li><a href="/annotate/tip/a">annotate</a></li>
175 <li class="active">file log</li>
176 <li><a href="/raw-file/tip/a">raw</a></li>
177 </ul>
178 <ul>
179 <li><a href="/help">help</a></li>
180 </ul>
181 <div class="atom-logo">
182 <a href="/atom-log/tip/a" title="subscribe to atom feed">
183 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
184 </a>
185 </div>
186 </div>
187
188 <div class="main">
189 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
190 <h3>
191 log a @ 4:<a href="/rev/3f41bc784e7e">3f41bc784e7e</a>
192 <span class="phase">draft</span> <span class="branchname">a-branch</span>
193
194 </h3>
195
196
197 <form class="search" action="/log">
198
199 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
200 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
201 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
202 </form>
203
204 <div class="navigate">
205 <a href="/log/tip/a?revcount=30">less</a>
206 <a href="/log/tip/a?revcount=120">more</a>
207 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
208
209 <table class="bigtable">
210 <thead>
211 <tr>
212 <th class="age">age</th>
213 <th class="author">author</th>
214 <th class="description">description</th>
215 </tr>
216 </thead>
217 <tbody class="stripes2">
218 <tr>
219 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
220 <td class="author">test</td>
221 <td class="description">
222 <a href="/rev/3f41bc784e7e">second a</a>
223 <span class="phase">draft</span> <span class="branchname">a-branch</span>
224 </td>
225 </tr>
226
227 <tr>
228 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
229 <td class="author">test</td>
230 <td class="description">
231 <a href="/rev/5ed941583260">first a</a>
232 <span class="phase">draft</span> <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
233 </td>
234 </tr>
235
236
237 </tbody>
238 </table>
239
240 <div class="navigate">
241 <a href="/log/tip/a?revcount=30">less</a>
242 <a href="/log/tip/a?revcount=120">more</a>
243 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
244 </div>
245
246 </div>
247 </div>
248
249
250
251 </body>
252 </html>
253
254
255 second version - two revisions
256
257 $ (get-with-headers.py localhost:$HGPORT 'log/4/a')
258 200 Script output follows
259
260 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
261 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
262 <head>
263 <link rel="icon" href="/static/hgicon.png" type="image/png" />
264 <meta name="robots" content="index, nofollow" />
265 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
266 <script type="text/javascript" src="/static/mercurial.js"></script>
267
268 <title>test: a history</title>
269 <link rel="alternate" type="application/atom+xml"
270 href="/atom-log/tip/a" title="Atom feed for test:a" />
271 <link rel="alternate" type="application/rss+xml"
272 href="/rss-log/tip/a" title="RSS feed for test:a" />
273 </head>
274 <body>
275
276 <div class="container">
277 <div class="menu">
278 <div class="logo">
279 <a href="https://mercurial-scm.org/">
280 <img src="/static/hglogo.png" alt="mercurial" /></a>
281 </div>
282 <ul>
283 <li><a href="/shortlog/4">log</a></li>
284 <li><a href="/graph/4">graph</a></li>
285 <li><a href="/tags">tags</a></li>
286 <li><a href="/bookmarks">bookmarks</a></li>
287 <li><a href="/branches">branches</a></li>
288 </ul>
289 <ul>
290 <li><a href="/rev/4">changeset</a></li>
291 <li><a href="/file/4">browse</a></li>
292 </ul>
293 <ul>
294 <li><a href="/file/4/a">file</a></li>
295 <li><a href="/diff/4/a">diff</a></li>
296 <li><a href="/comparison/4/a">comparison</a></li>
297 <li><a href="/annotate/4/a">annotate</a></li>
298 <li class="active">file log</li>
299 <li><a href="/raw-file/4/a">raw</a></li>
300 </ul>
301 <ul>
302 <li><a href="/help">help</a></li>
303 </ul>
304 <div class="atom-logo">
305 <a href="/atom-log/tip/a" title="subscribe to atom feed">
306 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
307 </a>
308 </div>
309 </div>
310
311 <div class="main">
312 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
313 <h3>
314 log a @ 4:<a href="/rev/3f41bc784e7e">3f41bc784e7e</a>
315 <span class="phase">draft</span> <span class="branchname">a-branch</span>
316
317 </h3>
318
319
320 <form class="search" action="/log">
321
322 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
323 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
324 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
325 </form>
326
327 <div class="navigate">
328 <a href="/log/4/a?revcount=30">less</a>
329 <a href="/log/4/a?revcount=120">more</a>
330 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
331
332 <table class="bigtable">
333 <thead>
334 <tr>
335 <th class="age">age</th>
336 <th class="author">author</th>
337 <th class="description">description</th>
338 </tr>
339 </thead>
340 <tbody class="stripes2">
341 <tr>
342 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
343 <td class="author">test</td>
344 <td class="description">
345 <a href="/rev/3f41bc784e7e">second a</a>
346 <span class="phase">draft</span> <span class="branchname">a-branch</span>
347 </td>
348 </tr>
349
350 <tr>
351 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
352 <td class="author">test</td>
353 <td class="description">
354 <a href="/rev/5ed941583260">first a</a>
355 <span class="phase">draft</span> <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
356 </td>
357 </tr>
358
359
360 </tbody>
361 </table>
362
363 <div class="navigate">
364 <a href="/log/4/a?revcount=30">less</a>
365 <a href="/log/4/a?revcount=120">more</a>
366 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
367 </div>
368
369 </div>
370 </div>
371
372
373
374 </body>
375 </html>
376
377
378 first deleted - one revision
379
380 $ (get-with-headers.py localhost:$HGPORT 'log/3/a')
381 200 Script output follows
382
383 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
384 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
385 <head>
386 <link rel="icon" href="/static/hgicon.png" type="image/png" />
387 <meta name="robots" content="index, nofollow" />
388 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
389 <script type="text/javascript" src="/static/mercurial.js"></script>
390
391 <title>test: a history</title>
392 <link rel="alternate" type="application/atom+xml"
393 href="/atom-log/tip/a" title="Atom feed for test:a" />
394 <link rel="alternate" type="application/rss+xml"
395 href="/rss-log/tip/a" title="RSS feed for test:a" />
396 </head>
397 <body>
398
399 <div class="container">
400 <div class="menu">
401 <div class="logo">
402 <a href="https://mercurial-scm.org/">
403 <img src="/static/hglogo.png" alt="mercurial" /></a>
404 </div>
405 <ul>
406 <li><a href="/shortlog/3">log</a></li>
407 <li><a href="/graph/3">graph</a></li>
408 <li><a href="/tags">tags</a></li>
409 <li><a href="/bookmarks">bookmarks</a></li>
410 <li><a href="/branches">branches</a></li>
411 </ul>
412 <ul>
413 <li><a href="/rev/3">changeset</a></li>
414 <li><a href="/file/3">browse</a></li>
415 </ul>
416 <ul>
417 <li><a href="/file/3/a">file</a></li>
418 <li><a href="/diff/3/a">diff</a></li>
419 <li><a href="/comparison/3/a">comparison</a></li>
420 <li><a href="/annotate/3/a">annotate</a></li>
421 <li class="active">file log</li>
422 <li><a href="/raw-file/3/a">raw</a></li>
423 </ul>
424 <ul>
425 <li><a href="/help">help</a></li>
426 </ul>
427 <div class="atom-logo">
428 <a href="/atom-log/tip/a" title="subscribe to atom feed">
429 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
430 </a>
431 </div>
432 </div>
433
434 <div class="main">
435 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
436 <h3>
437 log a @ 1:<a href="/rev/5ed941583260">5ed941583260</a>
438 <span class="phase">draft</span> <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
439
440 </h3>
441
442
443 <form class="search" action="/log">
444
445 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
446 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
447 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
448 </form>
449
450 <div class="navigate">
451 <a href="/log/3/a?revcount=30">less</a>
452 <a href="/log/3/a?revcount=120">more</a>
453 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
454
455 <table class="bigtable">
456 <thead>
457 <tr>
458 <th class="age">age</th>
459 <th class="author">author</th>
460 <th class="description">description</th>
461 </tr>
462 </thead>
463 <tbody class="stripes2">
464 <tr>
465 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
466 <td class="author">test</td>
467 <td class="description">
468 <a href="/rev/5ed941583260">first a</a>
469 <span class="phase">draft</span> <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
470 </td>
471 </tr>
472
473
474 </tbody>
475 </table>
476
477 <div class="navigate">
478 <a href="/log/3/a?revcount=30">less</a>
479 <a href="/log/3/a?revcount=120">more</a>
480 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
481 </div>
482
483 </div>
484 </div>
485
486
487
488 </body>
489 </html>
490
491
492 first version - one revision
493
494 $ (get-with-headers.py localhost:$HGPORT 'log/1/a')
495 200 Script output follows
496
497 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
498 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
499 <head>
500 <link rel="icon" href="/static/hgicon.png" type="image/png" />
501 <meta name="robots" content="index, nofollow" />
502 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
503 <script type="text/javascript" src="/static/mercurial.js"></script>
504
505 <title>test: a history</title>
506 <link rel="alternate" type="application/atom+xml"
507 href="/atom-log/tip/a" title="Atom feed for test:a" />
508 <link rel="alternate" type="application/rss+xml"
509 href="/rss-log/tip/a" title="RSS feed for test:a" />
510 </head>
511 <body>
512
513 <div class="container">
514 <div class="menu">
515 <div class="logo">
516 <a href="https://mercurial-scm.org/">
517 <img src="/static/hglogo.png" alt="mercurial" /></a>
518 </div>
519 <ul>
520 <li><a href="/shortlog/1">log</a></li>
521 <li><a href="/graph/1">graph</a></li>
522 <li><a href="/tags">tags</a></li>
523 <li><a href="/bookmarks">bookmarks</a></li>
524 <li><a href="/branches">branches</a></li>
525 </ul>
526 <ul>
527 <li><a href="/rev/1">changeset</a></li>
528 <li><a href="/file/1">browse</a></li>
529 </ul>
530 <ul>
531 <li><a href="/file/1/a">file</a></li>
532 <li><a href="/diff/1/a">diff</a></li>
533 <li><a href="/comparison/1/a">comparison</a></li>
534 <li><a href="/annotate/1/a">annotate</a></li>
535 <li class="active">file log</li>
536 <li><a href="/raw-file/1/a">raw</a></li>
537 </ul>
538 <ul>
539 <li><a href="/help">help</a></li>
540 </ul>
541 <div class="atom-logo">
542 <a href="/atom-log/tip/a" title="subscribe to atom feed">
543 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
544 </a>
545 </div>
546 </div>
547
548 <div class="main">
549 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
550 <h3>
551 log a @ 1:<a href="/rev/5ed941583260">5ed941583260</a>
552 <span class="phase">draft</span> <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
553
554 </h3>
555
556
557 <form class="search" action="/log">
558
559 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
560 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
561 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
562 </form>
563
564 <div class="navigate">
565 <a href="/log/1/a?revcount=30">less</a>
566 <a href="/log/1/a?revcount=120">more</a>
567 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
568
569 <table class="bigtable">
570 <thead>
571 <tr>
572 <th class="age">age</th>
573 <th class="author">author</th>
574 <th class="description">description</th>
575 </tr>
576 </thead>
577 <tbody class="stripes2">
578 <tr>
579 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
580 <td class="author">test</td>
581 <td class="description">
582 <a href="/rev/5ed941583260">first a</a>
583 <span class="phase">draft</span> <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
584 </td>
585 </tr>
586
587
588 </tbody>
589 </table>
590
591 <div class="navigate">
592 <a href="/log/1/a?revcount=30">less</a>
593 <a href="/log/1/a?revcount=120">more</a>
594 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
595 </div>
596
597 </div>
598 </div>
599
600
601
602 </body>
603 </html>
604
605
606 before addition - error
607
608 $ (get-with-headers.py localhost:$HGPORT 'log/0/a')
609 404 Not Found
610
611 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
612 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
613 <head>
614 <link rel="icon" href="/static/hgicon.png" type="image/png" />
615 <meta name="robots" content="index, nofollow" />
616 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
617 <script type="text/javascript" src="/static/mercurial.js"></script>
618
619 <title>test: error</title>
620 </head>
621 <body>
622
623 <div class="container">
624 <div class="menu">
625 <div class="logo">
626 <a href="https://mercurial-scm.org/">
627 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
628 </div>
629 <ul>
630 <li><a href="/shortlog">log</a></li>
631 <li><a href="/graph">graph</a></li>
632 <li><a href="/tags">tags</a></li>
633 <li><a href="/bookmarks">bookmarks</a></li>
634 <li><a href="/branches">branches</a></li>
635 </ul>
636 <ul>
637 <li><a href="/help">help</a></li>
638 </ul>
639 </div>
640
641 <div class="main">
642
643 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
644 <h3>error</h3>
645
646
647 <form class="search" action="/log">
648
649 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
650 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
651 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
652 </form>
653
654 <div class="description">
655 <p>
656 An error occurred while processing your request:
657 </p>
658 <p>
659 a@6563da9dcf87b1949716e38ff3e3dfaa3198eb06: not found in manifest
660 </p>
661 </div>
662 </div>
663 </div>
664
665
666
667 </body>
668 </html>
669
670 [1]
671
672 $ hg log -r 'followlines(c, 1:2, startrev=tip) and follow(c)'
673 changeset: 0:6563da9dcf87
674 user: test
675 date: Thu Jan 01 00:00:00 1970 +0000
676 summary: b
677
678 changeset: 7:46c1a66bd8fc
679 branch: a-branch
680 tag: tip
681 user: test
682 date: Thu Jan 01 00:00:00 1970 +0000
683 summary: change c
684
685 $ (get-with-headers.py localhost:$HGPORT 'log/tip/c?linerange=1:2')
686 200 Script output follows
687
688 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
689 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
690 <head>
691 <link rel="icon" href="/static/hgicon.png" type="image/png" />
692 <meta name="robots" content="index, nofollow" />
693 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
694 <script type="text/javascript" src="/static/mercurial.js"></script>
695
696 <title>test: c history</title>
697 <link rel="alternate" type="application/atom+xml"
698 href="/atom-log/tip/c" title="Atom feed for test:c" />
699 <link rel="alternate" type="application/rss+xml"
700 href="/rss-log/tip/c" title="RSS feed for test:c" />
701 </head>
702 <body>
703
704 <div class="container">
705 <div class="menu">
706 <div class="logo">
707 <a href="https://mercurial-scm.org/">
708 <img src="/static/hglogo.png" alt="mercurial" /></a>
709 </div>
710 <ul>
711 <li><a href="/shortlog/tip">log</a></li>
712 <li><a href="/graph/tip">graph</a></li>
713 <li><a href="/tags">tags</a></li>
714 <li><a href="/bookmarks">bookmarks</a></li>
715 <li><a href="/branches">branches</a></li>
716 </ul>
717 <ul>
718 <li><a href="/rev/tip">changeset</a></li>
719 <li><a href="/file/tip">browse</a></li>
720 </ul>
721 <ul>
722 <li><a href="/file/tip/c">file</a></li>
723 <li><a href="/diff/tip/c">diff</a></li>
724 <li><a href="/comparison/tip/c">comparison</a></li>
725 <li><a href="/annotate/tip/c">annotate</a></li>
726 <li class="active">file log</li>
727 <li><a href="/raw-file/tip/c">raw</a></li>
728 </ul>
729 <ul>
730 <li><a href="/help">help</a></li>
731 </ul>
732 <div class="atom-logo">
733 <a href="/atom-log/tip/c" title="subscribe to atom feed">
734 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
735 </a>
736 </div>
737 </div>
738
739 <div class="main">
740 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
741 <h3>
742 log c @ 7:<a href="/rev/46c1a66bd8fc">46c1a66bd8fc</a>
743 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span>
744 (following lines 1:2 <a href="/log/tip/c">all revisions for this file</a>)
745 </h3>
746
747
748 <form class="search" action="/log">
749
750 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
751 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
752 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
753 </form>
754
755 <div class="navigate">
756 <a href="/log/tip/c?linerange=1%3A2&revcount=30">less</a>
757 <a href="/log/tip/c?linerange=1%3A2&revcount=120">more</a>
758 | </div>
759
760 <table class="bigtable">
761 <thead>
762 <tr>
763 <th class="age">age</th>
764 <th class="author">author</th>
765 <th class="description">description</th>
766 </tr>
767 </thead>
768 <tbody class="stripes2">
769 <tr>
770 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
771 <td class="author">test</td>
772 <td class="description">
773 <a href="/rev/46c1a66bd8fc">change c</a>
774 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span>
775 </td>
776 </tr>
777
778 <tr>
779 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
780 <td class="author">test</td>
781 <td class="description">
782 <a href="/rev/6563da9dcf87">b</a>
783 <span class="phase">draft</span>
784 </td>
785 </tr>
786
787
788 </tbody>
789 </table>
790
791 <div class="navigate">
792 <a href="/log/tip/c?linerange=1%3A2&revcount=30">less</a>
793 <a href="/log/tip/c?linerange=1%3A2&revcount=120">more</a>
794 |
795 </div>
796
797 </div>
798 </div>
799
800
801
802 </body>
803 </html>
804
805 $ (get-with-headers.py localhost:$HGPORT 'log/tip/c?linerange=1%3A2&revcount=1')
806 200 Script output follows
807
808 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
809 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
810 <head>
811 <link rel="icon" href="/static/hgicon.png" type="image/png" />
812 <meta name="robots" content="index, nofollow" />
813 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
814 <script type="text/javascript" src="/static/mercurial.js"></script>
815
816 <title>test: c history</title>
817 <link rel="alternate" type="application/atom+xml"
818 href="/atom-log/tip/c" title="Atom feed for test:c" />
819 <link rel="alternate" type="application/rss+xml"
820 href="/rss-log/tip/c" title="RSS feed for test:c" />
821 </head>
822 <body>
823
824 <div class="container">
825 <div class="menu">
826 <div class="logo">
827 <a href="https://mercurial-scm.org/">
828 <img src="/static/hglogo.png" alt="mercurial" /></a>
829 </div>
830 <ul>
831 <li><a href="/shortlog/tip?revcount=1">log</a></li>
832 <li><a href="/graph/tip?revcount=1">graph</a></li>
833 <li><a href="/tags?revcount=1">tags</a></li>
834 <li><a href="/bookmarks?revcount=1">bookmarks</a></li>
835 <li><a href="/branches?revcount=1">branches</a></li>
836 </ul>
837 <ul>
838 <li><a href="/rev/tip?revcount=1">changeset</a></li>
839 <li><a href="/file/tip?revcount=1">browse</a></li>
840 </ul>
841 <ul>
842 <li><a href="/file/tip/c?revcount=1">file</a></li>
843 <li><a href="/diff/tip/c?revcount=1">diff</a></li>
844 <li><a href="/comparison/tip/c?revcount=1">comparison</a></li>
845 <li><a href="/annotate/tip/c?revcount=1">annotate</a></li>
846 <li class="active">file log</li>
847 <li><a href="/raw-file/tip/c">raw</a></li>
848 </ul>
849 <ul>
850 <li><a href="/help?revcount=1">help</a></li>
851 </ul>
852 <div class="atom-logo">
853 <a href="/atom-log/tip/c" title="subscribe to atom feed">
854 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
855 </a>
856 </div>
857 </div>
858
859 <div class="main">
860 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
861 <h3>
862 log c @ 7:<a href="/rev/46c1a66bd8fc?revcount=1">46c1a66bd8fc</a>
863 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span>
864 (following lines 1:2 <a href="/log/tip/c?revcount=1">all revisions for this file</a>)
865 </h3>
866
867
868 <form class="search" action="/log">
869 <input type="hidden" name="revcount" value="1" />
870 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
871 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
872 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
873 </form>
874
875 <div class="navigate">
876 <a href="/log/tip/c?linerange=1%3A2&revcount=1">less</a>
877 <a href="/log/tip/c?linerange=1%3A2&revcount=2">more</a>
878 | </div>
879
880 <table class="bigtable">
881 <thead>
882 <tr>
883 <th class="age">age</th>
884 <th class="author">author</th>
885 <th class="description">description</th>
886 </tr>
887 </thead>
888 <tbody class="stripes2">
889 <tr>
890 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
891 <td class="author">test</td>
892 <td class="description">
893 <a href="/rev/46c1a66bd8fc?revcount=1">change c</a>
894 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span>
895 </td>
896 </tr>
897
898
899 </tbody>
900 </table>
901
902 <div class="navigate">
903 <a href="/log/tip/c?linerange=1%3A2&revcount=1">less</a>
904 <a href="/log/tip/c?linerange=1%3A2&revcount=2">more</a>
905 |
906 </div>
907
908 </div>
909 </div>
910
911
912
913 </body>
914 </html>
915
916 $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=1' --headeronly)
917 400 invalid linerange parameter
918 [1]
919 $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=1:a' --headeronly)
920 400 invalid linerange parameter
921 [1]
922 $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=1:2&linerange=3:4' --headeronly)
923 400 redundant linerange parameter
924 [1]
925 $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=3:2' --headeronly)
926 400 line range must be positive
927 [1]
928 $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=0:1' --headeronly)
929 400 fromline must be strictly positive
930 [1]
931
932 should show base link, use spartan because it shows it
933
934 $ (get-with-headers.py localhost:$HGPORT 'log/tip/c?style=spartan')
935 200 Script output follows
936
937 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
938 <html>
939 <head>
940 <link rel="icon" href="/static/hgicon.png" type="image/png">
941 <meta name="robots" content="index, nofollow" />
942 <link rel="stylesheet" href="/static/style.css" type="text/css" />
943 <script type="text/javascript" src="/static/mercurial.js"></script>
944
945 <title>test: c history</title>
946 <link rel="alternate" type="application/atom+xml"
947 href="/atom-log/tip/c" title="Atom feed for test:c">
948 <link rel="alternate" type="application/rss+xml"
949 href="/rss-log/tip/c" title="RSS feed for test:c">
950 </head>
951 <body>
952
953 <div class="buttons">
954 <a href="/log?style=spartan">changelog</a>
955 <a href="/shortlog?style=spartan">shortlog</a>
956 <a href="/graph?style=spartan">graph</a>
957 <a href="/tags?style=spartan">tags</a>
958 <a href="/branches?style=spartan">branches</a>
959 <a href="/file/tip/c?style=spartan">file</a>
960 <a href="/annotate/tip/c?style=spartan">annotate</a>
961 <a href="/help?style=spartan">help</a>
962 <a type="application/rss+xml" href="/rss-log/tip/c">rss</a>
963 <a type="application/atom+xml" href="/atom-log/tip/c" title="Atom feed for test:c">atom</a>
964 </div>
965
966 <h2><a href="/">Mercurial</a> / c revision history</h2>
967
968 <p>navigate: <small class="navigate"><a href="/log/c9637d3cc8ef/c?style=spartan">(0)</a> <a href="/log/tip/c?style=spartan">tip</a> </small></p>
969
970 <table class="logEntry parity0">
971 <tr>
972 <th class="label"><span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span>:</th>
973 <th class="firstline"><a href="/rev/46c1a66bd8fc?style=spartan">change c</a></th>
974 </tr>
975 <tr>
976 <th class="revision">revision 1:</th>
977 <td class="node">
978 <a href="/file/46c1a66bd8fc/c?style=spartan">46c1a66bd8fc</a>
979 <a href="/diff/46c1a66bd8fc/c?style=spartan">(diff)</a>
980 <a href="/annotate/46c1a66bd8fc/c?style=spartan">(annotate)</a>
981 </td>
982 </tr>
983
984 <tr>
985 <th class="author">author:</th>
986 <td class="author">&#116;&#101;&#115;&#116;</td>
987 </tr>
988 <tr>
989 <th class="date">date:</th>
990 <td class="date">Thu, 01 Jan 1970 00:00:00 +0000</td>
991 </tr>
992 </table>
993
994
995 <table class="logEntry parity1">
996 <tr>
997 <th class="label"><span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span>:</th>
998 <th class="firstline"><a href="/rev/c9637d3cc8ef?style=spartan">mv b</a></th>
999 </tr>
1000 <tr>
1001 <th class="revision">revision 0:</th>
1002 <td class="node">
1003 <a href="/file/c9637d3cc8ef/c?style=spartan">c9637d3cc8ef</a>
1004 <a href="/diff/c9637d3cc8ef/c?style=spartan">(diff)</a>
1005 <a href="/annotate/c9637d3cc8ef/c?style=spartan">(annotate)</a>
1006 </td>
1007 </tr>
1008
1009 <tr>
1010 <th>base:</th>
1011 <td>
1012 <a href="/file/1e88685f5dde/b?style=spartan">
1013 b@1e88685f5dde
1014 </a>
1015 </td>
1016 </tr>
1017 <tr>
1018 <th class="author">author:</th>
1019 <td class="author">&#116;&#101;&#115;&#116;</td>
1020 </tr>
1021 <tr>
1022 <th class="date">date:</th>
1023 <td class="date">Thu, 01 Jan 1970 00:00:00 +0000</td>
1024 </tr>
1025 </table>
1026
1027
1028
1029
1030
1031 <div class="logo">
1032 <a href="https://mercurial-scm.org/">
1033 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
1034 </div>
1035
1036 </body>
1037 </html>
1038
1039
1040 filelog with patch
1041
1042 $ (get-with-headers.py localhost:$HGPORT 'log/4/a?patch=1')
1043 200 Script output follows
1044
1045 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1046 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
1047 <head>
1048 <link rel="icon" href="/static/hgicon.png" type="image/png" />
1049 <meta name="robots" content="index, nofollow" />
1050 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
1051 <script type="text/javascript" src="/static/mercurial.js"></script>
1052
1053 <title>test: a history</title>
1054 <link rel="alternate" type="application/atom+xml"
1055 href="/atom-log/tip/a" title="Atom feed for test:a" />
1056 <link rel="alternate" type="application/rss+xml"
1057 href="/rss-log/tip/a" title="RSS feed for test:a" />
1058 </head>
1059 <body>
1060
1061 <div class="container">
1062 <div class="menu">
1063 <div class="logo">
1064 <a href="https://mercurial-scm.org/">
1065 <img src="/static/hglogo.png" alt="mercurial" /></a>
1066 </div>
1067 <ul>
1068 <li><a href="/shortlog/4">log</a></li>
1069 <li><a href="/graph/4">graph</a></li>
1070 <li><a href="/tags">tags</a></li>
1071 <li><a href="/bookmarks">bookmarks</a></li>
1072 <li><a href="/branches">branches</a></li>
1073 </ul>
1074 <ul>
1075 <li><a href="/rev/4">changeset</a></li>
1076 <li><a href="/file/4">browse</a></li>
1077 </ul>
1078 <ul>
1079 <li><a href="/file/4/a">file</a></li>
1080 <li><a href="/diff/4/a">diff</a></li>
1081 <li><a href="/comparison/4/a">comparison</a></li>
1082 <li><a href="/annotate/4/a">annotate</a></li>
1083 <li class="active">file log</li>
1084 <li><a href="/raw-file/4/a">raw</a></li>
1085 </ul>
1086 <ul>
1087 <li><a href="/help">help</a></li>
1088 </ul>
1089 <div class="atom-logo">
1090 <a href="/atom-log/tip/a" title="subscribe to atom feed">
1091 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
1092 </a>
1093 </div>
1094 </div>
1095
1096 <div class="main">
1097 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
1098 <h3>
1099 log a @ 4:<a href="/rev/3f41bc784e7e">3f41bc784e7e</a>
1100 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1101
1102 </h3>
1103
1104
1105 <form class="search" action="/log">
1106
1107 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
1108 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
1109 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
1110 </form>
1111
1112 <div class="navigate">
1113 <a href="/log/4/a?patch=1&revcount=30">less</a>
1114 <a href="/log/4/a?patch=1&revcount=120">more</a>
1115 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
1116
1117 <table class="bigtable">
1118 <thead>
1119 <tr>
1120 <th class="age">age</th>
1121 <th class="author">author</th>
1122 <th class="description">description</th>
1123 </tr>
1124 </thead>
1125 <tbody class="stripes2">
1126 <tr>
1127 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1128 <td class="author">test</td>
1129 <td class="description">
1130 <a href="/rev/3f41bc784e7e">second a</a>
1131 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1132 </td>
1133 </tr>
1134 <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
1135 <span id="3f41bc784e7e-l1.1" class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000</span><a href="#3f41bc784e7e-l1.1"></a>
1136 <span id="3f41bc784e7e-l1.2" class="plusline">+++ b/a Thu Jan 01 00:00:00 1970 +0000</span><a href="#3f41bc784e7e-l1.2"></a>
1137 <span id="3f41bc784e7e-l1.3" class="atline">@@ -0,0 +1,1 @@</span><a href="#3f41bc784e7e-l1.3"></a>
1138 <span id="3f41bc784e7e-l1.4" class="plusline">+b</span><a href="#3f41bc784e7e-l1.4"></a></pre></div></td></tr>
1139 <tr>
1140 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1141 <td class="author">test</td>
1142 <td class="description">
1143 <a href="/rev/5ed941583260">first a</a>
1144 <span class="phase">draft</span> <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
1145 </td>
1146 </tr>
1147 <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
1148 <span id="5ed941583260-l1.1" class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000</span><a href="#5ed941583260-l1.1"></a>
1149 <span id="5ed941583260-l1.2" class="plusline">+++ b/a Thu Jan 01 00:00:00 1970 +0000</span><a href="#5ed941583260-l1.2"></a>
1150 <span id="5ed941583260-l1.3" class="atline">@@ -0,0 +1,1 @@</span><a href="#5ed941583260-l1.3"></a>
1151 <span id="5ed941583260-l1.4" class="plusline">+a</span><a href="#5ed941583260-l1.4"></a></pre></div></td></tr>
1152
1153 </tbody>
1154 </table>
1155
1156 <div class="navigate">
1157 <a href="/log/4/a?patch=1&revcount=30">less</a>
1158 <a href="/log/4/a?patch=1&revcount=120">more</a>
1159 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
1160 </div>
1161
1162 </div>
1163 </div>
1164
1165
1166
1167 </body>
1168 </html>
1169
1170 filelog with 'linerange' and 'patch'
1171
1172 $ cat c
1173 b
1174 c
1175 $ cat <<EOF > c
1176 > 0
1177 > 0
1178 > b
1179 > c+
1180 >
1181 > a
1182 > a
1183 >
1184 > d
1185 > e
1186 > f
1187 > EOF
1188 $ hg ci -m 'make c bigger and touch its beginning' c
1189 $ cat <<EOF > c
1190 > 0
1191 > 0
1192 > b
1193 > c+
1194 >
1195 > a
1196 > a
1197 >
1198 > d
1199 > e+
1200 > f
1201 > EOF
1202 $ hg ci -m 'just touch end of c' c
1203 $ cat <<EOF > c
1204 > 0
1205 > 0
1206 > b
1207 > c++
1208 >
1209 > a
1210 > a
1211 >
1212 > d
1213 > e+
1214 > f
1215 > EOF
1216 $ hg ci -m 'touch beginning of c' c
1217 $ cat <<EOF > c
1218 > 0
1219 > 0
1220 > b-
1221 > c++
1222 >
1223 > a
1224 > a
1225 >
1226 > d
1227 > e+
1228 > f+
1229 > EOF
1230 $ hg ci -m 'touching beginning and end of c' c
1231 $ echo c > cc
1232 $ hg ci -Am 'tip does not touch c' cc
1233 $ hg log -r 'followlines(c, 3:4, startrev=tip) and follow(c)' -p
1234 changeset: 0:6563da9dcf87
1235 user: test
1236 date: Thu Jan 01 00:00:00 1970 +0000
1237 summary: b
1238
1239 diff -r 000000000000 -r 6563da9dcf87 b
1240 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1241 +++ b/b Thu Jan 01 00:00:00 1970 +0000
1242 @@ -0,0 +1,1 @@
1243 +b
1244
1245 changeset: 7:46c1a66bd8fc
1246 branch: a-branch
1247 user: test
1248 date: Thu Jan 01 00:00:00 1970 +0000
1249 summary: change c
1250
1251 diff -r c9637d3cc8ef -r 46c1a66bd8fc c
1252 --- a/c Thu Jan 01 00:00:00 1970 +0000
1253 +++ b/c Thu Jan 01 00:00:00 1970 +0000
1254 @@ -1,1 +1,2 @@
1255 b
1256 +c
1257
1258 changeset: 8:5c6574614c37
1259 branch: a-branch
1260 user: test
1261 date: Thu Jan 01 00:00:00 1970 +0000
1262 summary: make c bigger and touch its beginning
1263
1264 diff -r 46c1a66bd8fc -r 5c6574614c37 c
1265 --- a/c Thu Jan 01 00:00:00 1970 +0000
1266 +++ b/c Thu Jan 01 00:00:00 1970 +0000
1267 @@ -1,2 +1,11 @@
1268 +0
1269 +0
1270 b
1271 -c
1272 +c+
1273 +
1274 +a
1275 +a
1276 +
1277 +d
1278 +e
1279 +f
1280
1281 changeset: 10:e95928d60479
1282 branch: a-branch
1283 user: test
1284 date: Thu Jan 01 00:00:00 1970 +0000
1285 summary: touch beginning of c
1286
1287 diff -r e1d3e9c5a23f -r e95928d60479 c
1288 --- a/c Thu Jan 01 00:00:00 1970 +0000
1289 +++ b/c Thu Jan 01 00:00:00 1970 +0000
1290 @@ -1,7 +1,7 @@
1291 0
1292 0
1293 b
1294 -c+
1295 +c++
1296
1297 a
1298 a
1299
1300 changeset: 11:fb9bc322513a
1301 branch: a-branch
1302 user: test
1303 date: Thu Jan 01 00:00:00 1970 +0000
1304 summary: touching beginning and end of c
1305
1306 diff -r e95928d60479 -r fb9bc322513a c
1307 --- a/c Thu Jan 01 00:00:00 1970 +0000
1308 +++ b/c Thu Jan 01 00:00:00 1970 +0000
1309 @@ -1,6 +1,6 @@
1310 0
1311 0
1312 -b
1313 +b-
1314 c++
1315
1316 a
1317 @@ -8,4 +8,4 @@
1318
1319 d
1320 e+
1321 -f
1322 +f+
1323
1324 $ (get-with-headers.py localhost:$HGPORT 'log/tip/c?linerange=3:4&patch=')
1325 200 Script output follows
1326
1327 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1328 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
1329 <head>
1330 <link rel="icon" href="/static/hgicon.png" type="image/png" />
1331 <meta name="robots" content="index, nofollow" />
1332 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
1333 <script type="text/javascript" src="/static/mercurial.js"></script>
1334
1335 <title>test: c history</title>
1336 <link rel="alternate" type="application/atom+xml"
1337 href="/atom-log/tip/c" title="Atom feed for test:c" />
1338 <link rel="alternate" type="application/rss+xml"
1339 href="/rss-log/tip/c" title="RSS feed for test:c" />
1340 </head>
1341 <body>
1342
1343 <div class="container">
1344 <div class="menu">
1345 <div class="logo">
1346 <a href="https://mercurial-scm.org/">
1347 <img src="/static/hglogo.png" alt="mercurial" /></a>
1348 </div>
1349 <ul>
1350 <li><a href="/shortlog/tip">log</a></li>
1351 <li><a href="/graph/tip">graph</a></li>
1352 <li><a href="/tags">tags</a></li>
1353 <li><a href="/bookmarks">bookmarks</a></li>
1354 <li><a href="/branches">branches</a></li>
1355 </ul>
1356 <ul>
1357 <li><a href="/rev/tip">changeset</a></li>
1358 <li><a href="/file/tip">browse</a></li>
1359 </ul>
1360 <ul>
1361 <li><a href="/file/tip/c">file</a></li>
1362 <li><a href="/diff/tip/c">diff</a></li>
1363 <li><a href="/comparison/tip/c">comparison</a></li>
1364 <li><a href="/annotate/tip/c">annotate</a></li>
1365 <li class="active">file log</li>
1366 <li><a href="/raw-file/tip/c">raw</a></li>
1367 </ul>
1368 <ul>
1369 <li><a href="/help">help</a></li>
1370 </ul>
1371 <div class="atom-logo">
1372 <a href="/atom-log/tip/c" title="subscribe to atom feed">
1373 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
1374 </a>
1375 </div>
1376 </div>
1377
1378 <div class="main">
1379 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
1380 <h3>
1381 log c @ 12:<a href="/rev/6e4182052f7b">6e4182052f7b</a>
1382 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span>
1383 (following lines 3:4 <a href="/log/tip/c">all revisions for this file</a>)
1384 </h3>
1385
1386
1387 <form class="search" action="/log">
1388
1389 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
1390 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
1391 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
1392 </form>
1393
1394 <div class="navigate">
1395 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=30">less</a>
1396 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=120">more</a>
1397 | </div>
1398
1399 <table class="bigtable">
1400 <thead>
1401 <tr>
1402 <th class="age">age</th>
1403 <th class="author">author</th>
1404 <th class="description">description</th>
1405 </tr>
1406 </thead>
1407 <tbody class="stripes2">
1408 <tr>
1409 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1410 <td class="author">test</td>
1411 <td class="description">
1412 <a href="/rev/fb9bc322513a">touching beginning and end of c</a>
1413 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1414 </td>
1415 </tr>
1416 <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
1417 <span id="fb9bc322513a-l1.1" class="minusline">--- a/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#fb9bc322513a-l1.1"></a>
1418 <span id="fb9bc322513a-l1.2" class="plusline">+++ b/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#fb9bc322513a-l1.2"></a>
1419 <span id="fb9bc322513a-l1.3" class="atline">@@ -1,6 +1,6 @@</span><a href="#fb9bc322513a-l1.3"></a>
1420 <span id="fb9bc322513a-l1.4"> 0</span><a href="#fb9bc322513a-l1.4"></a>
1421 <span id="fb9bc322513a-l1.5"> 0</span><a href="#fb9bc322513a-l1.5"></a>
1422 <span id="fb9bc322513a-l1.6" class="minusline">-b</span><a href="#fb9bc322513a-l1.6"></a>
1423 <span id="fb9bc322513a-l1.7" class="plusline">+b-</span><a href="#fb9bc322513a-l1.7"></a>
1424 <span id="fb9bc322513a-l1.8"> c++</span><a href="#fb9bc322513a-l1.8"></a>
1425 <span id="fb9bc322513a-l1.9"> </span><a href="#fb9bc322513a-l1.9"></a>
1426 <span id="fb9bc322513a-l1.10"> a</span><a href="#fb9bc322513a-l1.10"></a></pre></div></td></tr>
1427 <tr>
1428 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1429 <td class="author">test</td>
1430 <td class="description">
1431 <a href="/rev/e95928d60479">touch beginning of c</a>
1432 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1433 </td>
1434 </tr>
1435 <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
1436 <span id="e95928d60479-l1.1" class="minusline">--- a/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#e95928d60479-l1.1"></a>
1437 <span id="e95928d60479-l1.2" class="plusline">+++ b/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#e95928d60479-l1.2"></a>
1438 <span id="e95928d60479-l1.3" class="atline">@@ -1,7 +1,7 @@</span><a href="#e95928d60479-l1.3"></a>
1439 <span id="e95928d60479-l1.4"> 0</span><a href="#e95928d60479-l1.4"></a>
1440 <span id="e95928d60479-l1.5"> 0</span><a href="#e95928d60479-l1.5"></a>
1441 <span id="e95928d60479-l1.6"> b</span><a href="#e95928d60479-l1.6"></a>
1442 <span id="e95928d60479-l1.7" class="minusline">-c+</span><a href="#e95928d60479-l1.7"></a>
1443 <span id="e95928d60479-l1.8" class="plusline">+c++</span><a href="#e95928d60479-l1.8"></a>
1444 <span id="e95928d60479-l1.9"> </span><a href="#e95928d60479-l1.9"></a>
1445 <span id="e95928d60479-l1.10"> a</span><a href="#e95928d60479-l1.10"></a>
1446 <span id="e95928d60479-l1.11"> a</span><a href="#e95928d60479-l1.11"></a></pre></div></td></tr>
1447 <tr>
1448 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1449 <td class="author">test</td>
1450 <td class="description">
1451 <a href="/rev/5c6574614c37">make c bigger and touch its beginning</a>
1452 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1453 </td>
1454 </tr>
1455 <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
1456 <span id="5c6574614c37-l1.1" class="minusline">--- a/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#5c6574614c37-l1.1"></a>
1457 <span id="5c6574614c37-l1.2" class="plusline">+++ b/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#5c6574614c37-l1.2"></a>
1458 <span id="5c6574614c37-l1.3" class="atline">@@ -1,2 +1,11 @@</span><a href="#5c6574614c37-l1.3"></a>
1459 <span id="5c6574614c37-l1.4" class="plusline">+0</span><a href="#5c6574614c37-l1.4"></a>
1460 <span id="5c6574614c37-l1.5" class="plusline">+0</span><a href="#5c6574614c37-l1.5"></a>
1461 <span id="5c6574614c37-l1.6"> b</span><a href="#5c6574614c37-l1.6"></a>
1462 <span id="5c6574614c37-l1.7" class="minusline">-c</span><a href="#5c6574614c37-l1.7"></a>
1463 <span id="5c6574614c37-l1.8" class="plusline">+c+</span><a href="#5c6574614c37-l1.8"></a>
1464 <span id="5c6574614c37-l1.9" class="plusline">+</span><a href="#5c6574614c37-l1.9"></a>
1465 <span id="5c6574614c37-l1.10" class="plusline">+a</span><a href="#5c6574614c37-l1.10"></a>
1466 <span id="5c6574614c37-l1.11" class="plusline">+a</span><a href="#5c6574614c37-l1.11"></a>
1467 <span id="5c6574614c37-l1.12" class="plusline">+</span><a href="#5c6574614c37-l1.12"></a>
1468 <span id="5c6574614c37-l1.13" class="plusline">+d</span><a href="#5c6574614c37-l1.13"></a>
1469 <span id="5c6574614c37-l1.14" class="plusline">+e</span><a href="#5c6574614c37-l1.14"></a>
1470 <span id="5c6574614c37-l1.15" class="plusline">+f</span><a href="#5c6574614c37-l1.15"></a></pre></div></td></tr>
1471 <tr>
1472 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1473 <td class="author">test</td>
1474 <td class="description">
1475 <a href="/rev/46c1a66bd8fc">change c</a>
1476 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1477 </td>
1478 </tr>
1479 <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
1480 <span id="46c1a66bd8fc-l1.1" class="minusline">--- a/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#46c1a66bd8fc-l1.1"></a>
1481 <span id="46c1a66bd8fc-l1.2" class="plusline">+++ b/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#46c1a66bd8fc-l1.2"></a>
1482 <span id="46c1a66bd8fc-l1.3" class="atline">@@ -1,1 +1,2 @@</span><a href="#46c1a66bd8fc-l1.3"></a>
1483 <span id="46c1a66bd8fc-l1.4"> b</span><a href="#46c1a66bd8fc-l1.4"></a>
1484 <span id="46c1a66bd8fc-l1.5" class="plusline">+c</span><a href="#46c1a66bd8fc-l1.5"></a></pre></div></td></tr>
1485 <tr>
1486 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1487 <td class="author">test</td>
1488 <td class="description">
1489 <a href="/rev/6563da9dcf87">b</a>
1490 <span class="phase">draft</span>
1491 </td>
1492 </tr>
1493 <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
1494 <span id="6563da9dcf87-l1.1" class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000</span><a href="#6563da9dcf87-l1.1"></a>
1495 <span id="6563da9dcf87-l1.2" class="plusline">+++ b/b Thu Jan 01 00:00:00 1970 +0000</span><a href="#6563da9dcf87-l1.2"></a></pre></div></td></tr>
1496
1497 </tbody>
1498 </table>
1499
1500 <div class="navigate">
1501 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=30">less</a>
1502 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=120">more</a>
1503 |
1504 </div>
1505
1506 </div>
1507 </div>
1508
1509
1510
1511 </body>
1512 </html>
1513
1514 $ hg log -r 'followlines(c, 3:4, startrev=8, descend=True) and follow(c)' -p
1515 changeset: 8:5c6574614c37
1516 branch: a-branch
1517 user: test
1518 date: Thu Jan 01 00:00:00 1970 +0000
1519 summary: make c bigger and touch its beginning
1520
1521 diff -r 46c1a66bd8fc -r 5c6574614c37 c
1522 --- a/c Thu Jan 01 00:00:00 1970 +0000
1523 +++ b/c Thu Jan 01 00:00:00 1970 +0000
1524 @@ -1,2 +1,11 @@
1525 +0
1526 +0
1527 b
1528 -c
1529 +c+
1530 +
1531 +a
1532 +a
1533 +
1534 +d
1535 +e
1536 +f
1537
1538 changeset: 10:e95928d60479
1539 branch: a-branch
1540 user: test
1541 date: Thu Jan 01 00:00:00 1970 +0000
1542 summary: touch beginning of c
1543
1544 diff -r e1d3e9c5a23f -r e95928d60479 c
1545 --- a/c Thu Jan 01 00:00:00 1970 +0000
1546 +++ b/c Thu Jan 01 00:00:00 1970 +0000
1547 @@ -1,7 +1,7 @@
1548 0
1549 0
1550 b
1551 -c+
1552 +c++
1553
1554 a
1555 a
1556
1557 changeset: 11:fb9bc322513a
1558 branch: a-branch
1559 user: test
1560 date: Thu Jan 01 00:00:00 1970 +0000
1561 summary: touching beginning and end of c
1562
1563 diff -r e95928d60479 -r fb9bc322513a c
1564 --- a/c Thu Jan 01 00:00:00 1970 +0000
1565 +++ b/c Thu Jan 01 00:00:00 1970 +0000
1566 @@ -1,6 +1,6 @@
1567 0
1568 0
1569 -b
1570 +b-
1571 c++
1572
1573 a
1574 @@ -8,4 +8,4 @@
1575
1576 d
1577 e+
1578 -f
1579 +f+
1580
1581 $ (get-with-headers.py localhost:$HGPORT 'log/8/c?linerange=3:4&descend=')
1582 200 Script output follows
1583
1584 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1585 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
1586 <head>
1587 <link rel="icon" href="/static/hgicon.png" type="image/png" />
1588 <meta name="robots" content="index, nofollow" />
1589 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
1590 <script type="text/javascript" src="/static/mercurial.js"></script>
1591
1592 <title>test: c history</title>
1593 <link rel="alternate" type="application/atom+xml"
1594 href="/atom-log/tip/c" title="Atom feed for test:c" />
1595 <link rel="alternate" type="application/rss+xml"
1596 href="/rss-log/tip/c" title="RSS feed for test:c" />
1597 </head>
1598 <body>
1599
1600 <div class="container">
1601 <div class="menu">
1602 <div class="logo">
1603 <a href="https://mercurial-scm.org/">
1604 <img src="/static/hglogo.png" alt="mercurial" /></a>
1605 </div>
1606 <ul>
1607 <li><a href="/shortlog/8">log</a></li>
1608 <li><a href="/graph/8">graph</a></li>
1609 <li><a href="/tags">tags</a></li>
1610 <li><a href="/bookmarks">bookmarks</a></li>
1611 <li><a href="/branches">branches</a></li>
1612 </ul>
1613 <ul>
1614 <li><a href="/rev/8">changeset</a></li>
1615 <li><a href="/file/8">browse</a></li>
1616 </ul>
1617 <ul>
1618 <li><a href="/file/8/c">file</a></li>
1619 <li><a href="/diff/8/c">diff</a></li>
1620 <li><a href="/comparison/8/c">comparison</a></li>
1621 <li><a href="/annotate/8/c">annotate</a></li>
1622 <li class="active">file log</li>
1623 <li><a href="/raw-file/8/c">raw</a></li>
1624 </ul>
1625 <ul>
1626 <li><a href="/help">help</a></li>
1627 </ul>
1628 <div class="atom-logo">
1629 <a href="/atom-log/tip/c" title="subscribe to atom feed">
1630 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
1631 </a>
1632 </div>
1633 </div>
1634
1635 <div class="main">
1636 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
1637 <h3>
1638 log c @ 8:<a href="/rev/5c6574614c37">5c6574614c37</a>
1639 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1640 (following lines 3:4, descending <a href="/log/8/c">all revisions for this file</a>)
1641 </h3>
1642
1643
1644 <form class="search" action="/log">
1645
1646 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
1647 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
1648 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
1649 </form>
1650
1651 <div class="navigate">
1652 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=30">less</a>
1653 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=120">more</a>
1654 | </div>
1655
1656 <table class="bigtable">
1657 <thead>
1658 <tr>
1659 <th class="age">age</th>
1660 <th class="author">author</th>
1661 <th class="description">description</th>
1662 </tr>
1663 </thead>
1664 <tbody class="stripes2">
1665 <tr>
1666 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1667 <td class="author">test</td>
1668 <td class="description">
1669 <a href="/rev/5c6574614c37">make c bigger and touch its beginning</a>
1670 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1671 </td>
1672 </tr>
1673
1674 <tr>
1675 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1676 <td class="author">test</td>
1677 <td class="description">
1678 <a href="/rev/e95928d60479">touch beginning of c</a>
1679 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1680 </td>
1681 </tr>
1682
1683 <tr>
1684 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1685 <td class="author">test</td>
1686 <td class="description">
1687 <a href="/rev/fb9bc322513a">touching beginning and end of c</a>
1688 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1689 </td>
1690 </tr>
1691
1692
1693 </tbody>
1694 </table>
1695
1696 <div class="navigate">
1697 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=30">less</a>
1698 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=120">more</a>
1699 |
1700 </div>
1701
1702 </div>
1703 </div>
1704
1705
1706
1707 </body>
1708 </html>
1709
1710
1711 rss log
1712
1713 $ (get-with-headers.py localhost:$HGPORT 'rss-log/tip/a')
1714 200 Script output follows
1715
1716 <?xml version="1.0" encoding="ascii"?>
1717 <rss version="2.0">
1718 <channel>
1719 <link>http://*:$HGPORT/</link> (glob)
1720 <language>en-us</language>
1721
1722 <title>test: a history</title>
1723 <description>a revision history</description>
1724 <item>
1725 <title>second a</title>
1726 <link>http://*:$HGPORT/log/3f41bc784e7e/a</link> (glob)
1727 <description><![CDATA[second a]]></description>
1728 <author>&#116;&#101;&#115;&#116;</author>
1729 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
1730 </item>
1731 <item>
1732 <title>first a</title>
1733 <link>http://*:$HGPORT/log/5ed941583260/a</link> (glob)
1734 <description><![CDATA[first a]]></description>
1735 <author>&#116;&#101;&#115;&#116;</author>
1736 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
1737 </item>
1738
1739 </channel>
1740 </rss>
1741
1742 atom log
1743
1744 $ (get-with-headers.py localhost:$HGPORT 'atom-log/tip/a')
1745 200 Script output follows
1746
1747 <?xml version="1.0" encoding="ascii"?>
1748 <feed xmlns="http://www.w3.org/2005/Atom">
1749 <id>http://*:$HGPORT/atom-log/tip/a</id> (glob)
1750 <link rel="self" href="http://*:$HGPORT/atom-log/tip/a"/> (glob)
1751 <title>test: a history</title>
1752 <updated>1970-01-01T00:00:00+00:00</updated>
1753
1754 <entry>
1755 <title>[a-branch] second a</title>
1756 <id>http://*:$HGPORT/#changeset-3f41bc784e7e73035c6d47112c6cc7efb673adf8</id> (glob)
1757 <link href="http://*:$HGPORT/rev/3f41bc784e7e"/> (glob)
1758 <author>
1759 <name>test</name>
1760 <email>&#116;&#101;&#115;&#116;</email>
1761 </author>
1762 <updated>1970-01-01T00:00:00+00:00</updated>
1763 <published>1970-01-01T00:00:00+00:00</published>
1764 <content type="xhtml">
1765 <table xmlns="http://www.w3.org/1999/xhtml">
1766 <tr>
1767 <th style="text-align:left;">changeset</th>
1768 <td>3f41bc784e7e</td>
1769 </tr>
1770 <tr>
1771 <th style="text-align:left;">branch</th>
1772 <td>a-branch</td>
1773 </tr>
1774 <tr>
1775 <th style="text-align:left;">bookmark</th>
1776 <td></td>
1777 </tr>
1778 <tr>
1779 <th style="text-align:left;">tag</th>
1780 <td></td>
1781 </tr>
1782 <tr>
1783 <th style="text-align:left;">user</th>
1784 <td>&#116;&#101;&#115;&#116;</td>
1785 </tr>
1786 <tr>
1787 <th style="text-align:left;vertical-align:top;">description</th>
1788 <td>second a</td>
1789 </tr>
1790 <tr>
1791 <th style="text-align:left;vertical-align:top;">files</th>
1792 <td></td>
1793 </tr>
1794 </table>
1795 </content>
1796 </entry>
1797 <entry>
1798 <title>first a</title>
1799 <id>http://*:$HGPORT/#changeset-5ed941583260248620985524192fdc382ef57c36</id> (glob)
1800 <link href="http://*:$HGPORT/rev/5ed941583260"/> (glob)
1801 <author>
1802 <name>test</name>
1803 <email>&#116;&#101;&#115;&#116;</email>
1804 </author>
1805 <updated>1970-01-01T00:00:00+00:00</updated>
1806 <published>1970-01-01T00:00:00+00:00</published>
1807 <content type="xhtml">
1808 <table xmlns="http://www.w3.org/1999/xhtml">
1809 <tr>
1810 <th style="text-align:left;">changeset</th>
1811 <td>5ed941583260</td>
1812 </tr>
1813 <tr>
1814 <th style="text-align:left;">branch</th>
1815 <td></td>
1816 </tr>
1817 <tr>
1818 <th style="text-align:left;">bookmark</th>
1819 <td>a-bookmark</td>
1820 </tr>
1821 <tr>
1822 <th style="text-align:left;">tag</th>
1823 <td>a-tag</td>
1824 </tr>
1825 <tr>
1826 <th style="text-align:left;">user</th>
1827 <td>&#116;&#101;&#115;&#116;</td>
1828 </tr>
1829 <tr>
1830 <th style="text-align:left;vertical-align:top;">description</th>
1831 <td>first a</td>
1832 </tr>
1833 <tr>
1834 <th style="text-align:left;vertical-align:top;">files</th>
1835 <td></td>
1836 </tr>
1837 </table>
1838 </content>
1839 </entry>
1840
1841 </feed>
1842
1843 errors
1844
1845 $ cat errors.log
1846
1847 $ cd ..