annotate tests/test-hgweb-filelog.t @ 28364:f1460af18c50

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