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