annotate tests/test-hgweb-filelog.t @ 31196:3af9a9628ecf

revert: always display hunks reversed when reverting to parent When reverting to the parent of working directory, operation is "discard" so we want hunks to be presented in the same order as the diff (i.e. "reversed"). So we do not query the experimental.revertalternateinteractivemode option in this case and always set "reversehunks" to True.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Mon, 06 Mar 2017 14:11:21 +0100
parents eb7de21b15be
children f36dc643ffdc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
193 </h3>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
194
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
195 <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
196
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
197 <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
198 <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
199 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
200 </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
201
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
202 <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
203 <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
204 <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
205 | <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
206
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
207 <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
208 <thead>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
209 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
210 <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
211 <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
212 <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
213 </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
214 </thead>
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
215 <tbody class="stripes2">
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
216 <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
217 <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
218 <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
219 <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
220 <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
221 <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
222 </td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
223 </tr>
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
224 <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
225 <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
226 <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
227 <td class="description">
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
228 <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
229 <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
230 </td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
231 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
232
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
233 </tbody>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
234 </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
235
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
236 <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
237 <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
238 <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
239 | <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
240 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
241
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
242 </div>
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
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
246
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
247 </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
248 </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
249
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
250
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
251 second version - two revisions
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
252
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
253 $ (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
254 200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
255
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
256 <!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
257 <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
258 <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
259 <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
260 <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
261 <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
262 <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
263
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
264 <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
265 <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
266 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
267 <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
268 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
269 </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
270 <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
271
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
272 <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
273 <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
274 <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25606
diff changeset
275 <a href="https://mercurial-scm.org/">
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
276 <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
277 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
278 <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
279 <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
280 <li><a href="/graph/4">graph</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
281 <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
282 <li><a href="/bookmarks">bookmarks</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
283 <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
284 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
285 <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
286 <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
287 <li><a href="/file/4">browse</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
288 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
289 <ul>
25606
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/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
291 <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
292 <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
293 <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
294 <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
295 <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
296 </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
297 <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
298 <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
299 </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17290
diff changeset
300 <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
301 <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
302 <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
303 </a>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17290
diff changeset
304 </div>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
305 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
306
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
307 <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
308 <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
309 <h3>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
310 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
311 <span class="branchname">a-branch</span>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
312 </h3>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
313
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
314 <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
315
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
316 <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
317 <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
318 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
319 </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
320
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
321 <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
322 <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
323 <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
324 | <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
325
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
326 <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
327 <thead>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
328 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
329 <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
330 <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
331 <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
332 </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
333 </thead>
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
334 <tbody class="stripes2">
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
335 <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
336 <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
337 <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
338 <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
339 <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
340 <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
341 </td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
342 </tr>
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
343 <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
344 <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
345 <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
346 <td class="description">
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
347 <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
348 <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
349 </td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
350 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
351
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
352 </tbody>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
353 </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
354
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
355 <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
356 <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
357 <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
358 | <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
359 </div>
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>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
362 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
363
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
364
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
365
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
366 </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
367 </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
368
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
369
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
370 first deleted - one revision
7624
f2fa1a9eede6 Improved hgweb test.
Stefan Ring <stefan@complang.tuwien.ac.at>
parents: 7612
diff changeset
371
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
372 $ (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
373 200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
374
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
375 <!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
376 <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
377 <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
378 <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
379 <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
380 <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
381 <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
382
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
383 <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
384 <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
385 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
386 <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
387 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
388 </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
389 <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
390
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
391 <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
392 <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
393 <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25606
diff changeset
394 <a href="https://mercurial-scm.org/">
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
395 <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
396 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
397 <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
398 <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
399 <li><a href="/graph/3">graph</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
400 <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
401 <li><a href="/bookmarks">bookmarks</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
402 <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
403 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
404 <ul>
25606
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="/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
406 <li><a href="/file/3">browse</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
407 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
408 <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
409 <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
410 <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
411 <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
412 <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
413 <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
414 <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
415 </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
416 <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
417 <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
418 </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17290
diff changeset
419 <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
420 <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
421 <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
422 </a>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17290
diff changeset
423 </div>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
424 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
425
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
426 <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
427 <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
428 <h3>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
429 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
430 <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
431 </h3>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
432
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
433 <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
434
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
435 <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
436 <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
437 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
438 </form>
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 <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
441 <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
442 <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
443 | <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
444
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
445 <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
446 <thead>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
447 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
448 <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
449 <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
450 <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
451 </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
452 </thead>
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
453 <tbody class="stripes2">
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
454 <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
455 <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
456 <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
457 <td class="description">
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
458 <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
459 <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
460 </td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
461 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
462
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
463 </tbody>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
464 </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
465
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
466 <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
467 <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
468 <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
469 | <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
470 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
471
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
472 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
473 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
474
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
475
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
476
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
477 </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
478 </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
479
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
480
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
481 first version - one revision
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
482
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
483 $ (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
484 200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
485
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
486 <!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
487 <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
488 <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
489 <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
490 <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
491 <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
492 <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
493
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
494 <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
495 <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
496 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
497 <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
498 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
499 </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
500 <body>
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 <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
503 <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
504 <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25606
diff changeset
505 <a href="https://mercurial-scm.org/">
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
506 <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
507 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
508 <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
509 <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
510 <li><a href="/graph/1">graph</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
511 <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
512 <li><a href="/bookmarks">bookmarks</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
513 <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
514 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
515 <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
516 <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
517 <li><a href="/file/1">browse</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
518 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
519 <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
520 <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
521 <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
522 <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
523 <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
524 <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
525 <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
526 </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
527 <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
528 <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
529 </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17290
diff changeset
530 <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
531 <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
532 <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
533 </a>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17290
diff changeset
534 </div>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
535 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
536
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
537 <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
538 <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
539 <h3>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
540 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
541 <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
37290f2f2c3b paper: show current revision on file log page
Anton Shestakov <av6@dwimlabs.net>
parents: 26421
diff changeset
542 </h3>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
543
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
544 <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
545
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
546 <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
547 <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
548 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
549 </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
550
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
551 <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
552 <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
553 <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
554 | <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
555
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
556 <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
557 <thead>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
558 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
559 <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
560 <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
561 <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
562 </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
563 </thead>
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
564 <tbody class="stripes2">
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
565 <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
566 <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
567 <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
568 <td class="description">
09ec4220a839 hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
569 <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
570 <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
571 </td>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
572 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
573
19454
f4a3b50a30bd hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
574 </tbody>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
575 </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
576
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
577 <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
578 <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
579 <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
580 | <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
581 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
582
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
583 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
584 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
585
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
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
588 </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
589 </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
590
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
591
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
592 before addition - error
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
593
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
594 $ (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
595 404 Not Found
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 <!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
598 <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
599 <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
600 <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
601 <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
602 <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
603 <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
604
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
605 <title>test: error</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
606 </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
607 <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
608
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
609 <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
610 <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
611 <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25606
diff changeset
612 <a href="https://mercurial-scm.org/">
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
613 <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
614 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
615 <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
616 <li><a href="/shortlog">log</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
617 <li><a href="/graph">graph</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
618 <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
619 <li><a href="/bookmarks">bookmarks</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
620 <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
621 </ul>
7a9246abf9fe hgweb: make paper:error consistent with template
Ross Lagerwall <rosslagerwall@gmail.com>
parents: 17202
diff changeset
622 <ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
623 <li><a href="/help">help</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
624 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
625 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
626
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
627 <div class="main">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
628
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
629 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
630 <h3>error</h3>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
631
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
632 <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
633
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
634 <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
635 <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
636 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
637 </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
638
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
639 <div class="description">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
640 <p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
641 An error occurred while processing your request:
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
642 </p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
643 <p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
644 a@6563da9dcf87: not found in manifest
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
645 </p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
646 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
647 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
648 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
649
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
650
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
651
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
652 </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
653 </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
654
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
655 [1]
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
656
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
657 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
658
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
659 $ (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
660 200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
661
20256
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
662 <!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
663 <html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
664 <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
665 <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
666 <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
667 <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
668 <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
669
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
670 <title>test: c history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
671 <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
672 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
673 <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
674 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
675 </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
676 <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
677
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
678 <div class="buttons">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
679 <a href="/log?style=spartan">changelog</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
680 <a href="/shortlog?style=spartan">shortlog</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
681 <a href="/graph?style=spartan">graph</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
682 <a href="/tags?style=spartan">tags</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
683 <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
684 <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
685 <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
686 <a href="/help?style=spartan">help</a>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
687 <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
688 <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
689 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
690
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
691 <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
692
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
693 <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
694
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
695 <table class="logEntry parity0">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
696 <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
697 <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
698 <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
699 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
700 <tr>
23828
8b79fdaa9f85 hgweb: close <th> properly in spartan/filelogentry.tmpl
Anton Shestakov <engored@ya.ru>
parents: 22046
diff changeset
701 <th class="revision">revision 1:</th>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
702 <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
703 <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
704 <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
705 <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
706 </td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
707 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
708
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
709 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
710 <th class="author">author:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
711 <td class="author">&#116;&#101;&#115;&#116;</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
712 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
713 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
714 <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
715 <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
716 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
717 </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
718
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
719
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
720 <table class="logEntry parity1">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
721 <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
722 <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
723 <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
724 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
725 <tr>
23828
8b79fdaa9f85 hgweb: close <th> properly in spartan/filelogentry.tmpl
Anton Shestakov <engored@ya.ru>
parents: 22046
diff changeset
726 <th class="revision">revision 0:</th>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
727 <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
728 <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
729 <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
730 <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
731 </td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
732 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
733
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
734 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
735 <th>base:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
736 <td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
737 <a href="/file/1e88685f5dde/b?style=spartan">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
738 b@1e88685f5dde
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
739 </a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
740 </td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
741 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
742 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
743 <th class="author">author:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
744 <td class="author">&#116;&#101;&#115;&#116;</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
745 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
746 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
747 <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
748 <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
749 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
750 </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
751
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
752
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
753
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
754
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
755
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
756 <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25606
diff changeset
757 <a href="https://mercurial-scm.org/">
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
758 <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
759 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
760
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
761 </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
762 </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
763
7612
069b29656401 web: use the correct filectx in filelog
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7300
diff changeset
764
13547
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
765 rss log
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
766
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
767 $ (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
768 200 Script output follows
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
769
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
770 <?xml version="1.0" encoding="ascii"?>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
771 <rss version="2.0">
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
772 <channel>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
773 <link>http://*:$HGPORT/</link> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
774 <language>en-us</language>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
775
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
776 <title>test: a history</title>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
777 <description>a revision history</description>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
778 <item>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
779 <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
780 <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
781 <description><![CDATA[second a]]></description>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
782 <author>&#116;&#101;&#115;&#116;</author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
783 <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
784 </item>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
785 <item>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
786 <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
787 <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
788 <description><![CDATA[first a]]></description>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
789 <author>&#116;&#101;&#115;&#116;</author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
790 <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
791 </item>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
792
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
793 </channel>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
794 </rss>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
795
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
796 atom log
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
797
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25110
diff changeset
798 $ (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
799 200 Script output follows
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
800
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
801 <?xml version="1.0" encoding="ascii"?>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
802 <feed xmlns="http://www.w3.org/2005/Atom">
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
803 <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
804 <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
805 <title>test: a history</title>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
806 <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
807
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
808 <entry>
25109
f3e0a5784ca8 tests: test branch/tag/bookmark display in test-hgweb-filelog.t
Anton Shestakov <engored@ya.ru>
parents: 25108
diff changeset
809 <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
810 <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
811 <link href="http://*:$HGPORT/rev/3f41bc784e7e"/> (glob)
13547
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
812 <author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
813 <name>test</name>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
814 <email>&#116;&#101;&#115;&#116;</email>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
815 </author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
816 <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
817 <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
818 <content type="xhtml">
29439
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
819 <table xmlns="http://www.w3.org/1999/xhtml">
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
820 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
821 <th style="text-align:left;">changeset</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
822 <td>3f41bc784e7e</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
823 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
824 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
825 <th style="text-align:left;">branch</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
826 <td>a-branch</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
827 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
828 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
829 <th style="text-align:left;">bookmark</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
830 <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
831 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
832 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
833 <th style="text-align:left;">tag</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
834 <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
835 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
836 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
837 <th style="text-align:left;">user</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
838 <td>&#116;&#101;&#115;&#116;</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
839 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
840 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
841 <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
842 <td>second a</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
843 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
844 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
845 <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
846 <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
847 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
848 </table>
13547
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
849 </content>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
850 </entry>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
851 <entry>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
852 <title>first a</title>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
853 <id>http://*:$HGPORT/#changeset-5ed941583260248620985524192fdc382ef57c36</id> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
854 <link href="http://*:$HGPORT/rev/5ed941583260"/> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
855 <author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
856 <name>test</name>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
857 <email>&#116;&#101;&#115;&#116;</email>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
858 </author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
859 <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
860 <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
861 <content type="xhtml">
29439
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
862 <table xmlns="http://www.w3.org/1999/xhtml">
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
863 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
864 <th style="text-align:left;">changeset</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
865 <td>5ed941583260</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
866 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
867 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
868 <th style="text-align:left;">branch</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
869 <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
870 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
871 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
872 <th style="text-align:left;">bookmark</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
873 <td>a-bookmark</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
874 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
875 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
876 <th style="text-align:left;">tag</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
877 <td>a-tag</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
878 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
879 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
880 <th style="text-align:left;">user</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
881 <td>&#116;&#101;&#115;&#116;</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
882 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
883 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
884 <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
885 <td>first a</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
886 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
887 <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
888 <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
889 <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
890 </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 27554
diff changeset
891 </table>
13547
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
892 </content>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
893 </entry>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
894
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
895 </feed>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
896
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
897 errors
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
898
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
899 $ cat errors.log
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 15446
diff changeset
900
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 15446
diff changeset
901 $ cd ..