annotate tests/test-hgweb-filelog.t @ 17202:1ae119269ddc

hgweb: side-by-side comparison functionality Adds new web command to the core, ``comparison``, which enables colorful side-by-side change display, which for some might be much easier to work with than the standard line diff output. The idea how to implement comes from the SonicHq extension. The web interface gets a new link to call the comparison functionality. It lets users configure the amount of context lines around change blocks, or to show full files - check help (also in this changeset) for details and defaults. The setting in hgrc can be overridden by adding ``context=<value>`` to the request query string. The comparison creates addressable lines, so as to enable sharing links to specific lines, just as standard diff does. Incorporates updates to all web related styles. Known limitations: * the column diff is done against the first parent, just as the standard diff * this change allows examining diffs for single files only (as I am not sure if examining the whole changeset in this way would be helpful) * syntax highlighting of the output changes is not performed (enabling the highlight extension has no influence on it)
author wujek srujek
date Sun, 08 Jul 2012 17:17:02 +0200
parents 953faba28e91
children 7a9246abf9fe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15446
c5c9ca3719f9 tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents: 15375
diff changeset
1 $ "$TESTDIR/hghave" serve || exit 80
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
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
11 $ hg rm a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
12 $ hg ci -m "del a"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
13 $ echo b > a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
14 $ hg ci -Am "second a"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
15 adding a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
16 $ hg rm a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
17 $ hg ci -m "del2 a"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
18 $ hg mv b c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
19 $ hg ci -m "mv b"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
20 $ echo c >> c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
21 $ hg ci -m "change c"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
22 $ hg log -p
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
23 changeset: 6:b7682196df1c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
24 tag: tip
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
25 user: test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
26 date: Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
27 summary: change c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
28
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
29 diff -r 1a6696706df2 -r b7682196df1c c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
30 --- 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
31 +++ 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
32 @@ -1,1 +1,2 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
33 b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
34 +c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
35
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
36 changeset: 5:1a6696706df2
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
37 user: test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
38 date: Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
39 summary: mv b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
40
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
41 diff -r 52e848cdcd88 -r 1a6696706df2 b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
42 --- 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
43 +++ /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
44 @@ -1,1 +0,0 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
45 -b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
46 diff -r 52e848cdcd88 -r 1a6696706df2 c
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
47 --- /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
48 +++ 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
49 @@ -0,0 +1,1 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
50 +b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
51
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
52 changeset: 4:52e848cdcd88
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
53 user: test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
54 date: Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
55 summary: del2 a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
56
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
57 diff -r 01de2d66a28d -r 52e848cdcd88 a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
58 --- 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
59 +++ /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
60 @@ -1,1 +0,0 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
61 -b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
62
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
63 changeset: 3:01de2d66a28d
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
64 user: test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
65 date: Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
66 summary: second a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
67
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
68 diff -r be3ebcc91739 -r 01de2d66a28d a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
69 --- /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
70 +++ 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
71 @@ -0,0 +1,1 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
72 +b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
73
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
74 changeset: 2:be3ebcc91739
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
75 user: test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
76 date: Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
77 summary: del a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
78
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
79 diff -r 5ed941583260 -r be3ebcc91739 a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
80 --- 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
81 +++ /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
82 @@ -1,1 +0,0 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
83 -a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
84
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
85 changeset: 1:5ed941583260
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
86 user: test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
87 date: Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
88 summary: first a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
89
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
90 diff -r 6563da9dcf87 -r 5ed941583260 a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
91 --- /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
92 +++ 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
93 @@ -0,0 +1,1 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
94 +a
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
95
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
96 changeset: 0:6563da9dcf87
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
97 user: test
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
98 date: Thu Jan 01 00:00:00 1970 +0000
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
99 summary: b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
100
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
101 diff -r 000000000000 -r 6563da9dcf87 b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
102 --- /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
103 +++ 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
104 @@ -0,0 +1,1 @@
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
105 +b
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
106
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
107 $ 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
108 $ cat hg.pid >> $DAEMON_PIDS
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
109
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
110 tip - two revisions
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
111
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
112 $ ("$TESTDIR/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
113 200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
114
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
115 <!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
116 <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
117 <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
118 <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
119 <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
120 <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
121 <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
122
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
123 <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
124 <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
125 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
126 <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
127 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
128 </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
129 <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
130
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
131 <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
132 <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
133 <div class="logo">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
134 <a href="http://mercurial.selenic.com/">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
135 <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
136 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
137 <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
138 <li><a href="/shortlog/01de2d66a28d">log</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
139 <li><a href="/graph/01de2d66a28d">graph</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
140 <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
141 <li><a href="/bookmarks">bookmarks</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
142 <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
143 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
144 <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
145 <li><a href="/rev/01de2d66a28d">changeset</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
146 <li><a href="/file/01de2d66a28d">browse</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
147 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
148 <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
149 <li><a href="/file/01de2d66a28d/a">file</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
150 <li><a href="/diff/01de2d66a28d/a">diff</a></li>
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
151 <li><a href="/comparison/01de2d66a28d/a">comparison</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
152 <li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
153 <li class="active">file log</li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
154 <li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
155 </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
156 <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
157 <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
158 </ul>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
159 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
160
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
161 <div class="main">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
162 <h2><a href="/">test</a></h2>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
163 <h3>log a</h3>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
164
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
165 <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
166
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
167 <p><input name="rev" id="search1" type="text" size="30" /></p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
168 <div id="hint">find changesets by author, revision,
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
169 files, or words in the commit message</div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
170 </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
171
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
172 <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
173 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
174 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
175 | <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
176
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
177 <table class="bigtable">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
178 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
179 <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
180 <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
181 <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
182 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
183 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
184 <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
185 <td class="author">test</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
186 <td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
187 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
188 <tr class="parity1">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
189 <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
190 <td class="author">test</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
191 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
192 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
193
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
194 </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
195
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
196 <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
197 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
198 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
199 | <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
200 </div>
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>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
203 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
204
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
205 <script type="text/javascript">process_dates()</script>
12437
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
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
208 </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
209 </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
210
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
211
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
212 second version - two revisions
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
213
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
214 $ ("$TESTDIR/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
215 200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
216
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
217 <!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
218 <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
219 <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
220 <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
221 <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
222 <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
223 <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
224
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
225 <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
226 <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
227 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
228 <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
229 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
230 </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
231 <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
232
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
233 <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
234 <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
235 <div class="logo">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
236 <a href="http://mercurial.selenic.com/">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
237 <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
238 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
239 <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
240 <li><a href="/shortlog/01de2d66a28d">log</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
241 <li><a href="/graph/01de2d66a28d">graph</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
242 <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
243 <li><a href="/bookmarks">bookmarks</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
244 <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
245 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
246 <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
247 <li><a href="/rev/01de2d66a28d">changeset</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
248 <li><a href="/file/01de2d66a28d">browse</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
249 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
250 <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
251 <li><a href="/file/01de2d66a28d/a">file</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
252 <li><a href="/diff/01de2d66a28d/a">diff</a></li>
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
253 <li><a href="/comparison/01de2d66a28d/a">comparison</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
254 <li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
255 <li class="active">file log</li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
256 <li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
257 </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
258 <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
259 <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
260 </ul>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
261 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
262
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
263 <div class="main">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
264 <h2><a href="/">test</a></h2>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
265 <h3>log a</h3>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
266
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
267 <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
268
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
269 <p><input name="rev" id="search1" type="text" size="30" /></p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
270 <div id="hint">find changesets by author, revision,
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
271 files, or words in the commit message</div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
272 </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
273
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
274 <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
275 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
276 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
277 | <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
278
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
279 <table class="bigtable">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
280 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
281 <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
282 <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
283 <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
284 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
285 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
286 <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
287 <td class="author">test</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
288 <td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
289 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
290 <tr class="parity1">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
291 <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
292 <td class="author">test</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
293 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
294 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
295
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
296 </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
297
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
298 <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
299 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
300 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
301 | <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
302 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
303
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
304 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
305 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
306
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
307 <script type="text/javascript">process_dates()</script>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
308
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
309
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
310 </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
311 </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
312
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
313
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
314 first deleted - one revision
7624
f2fa1a9eede6 Improved hgweb test.
Stefan Ring <stefan@complang.tuwien.ac.at>
parents: 7612
diff changeset
315
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
316 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'log/2/a')
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
317 200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
318
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
319 <!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
320 <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
321 <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
322 <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
323 <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
324 <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
325 <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
326
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
327 <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
328 <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
329 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
330 <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
331 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
332 </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
333 <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
334
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
335 <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
336 <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
337 <div class="logo">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
338 <a href="http://mercurial.selenic.com/">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
339 <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
340 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
341 <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
342 <li><a href="/shortlog/5ed941583260">log</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
343 <li><a href="/graph/5ed941583260">graph</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
344 <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
345 <li><a href="/bookmarks">bookmarks</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
346 <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
347 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
348 <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
349 <li><a href="/rev/5ed941583260">changeset</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
350 <li><a href="/file/5ed941583260">browse</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
351 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
352 <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
353 <li><a href="/file/5ed941583260/a">file</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
354 <li><a href="/diff/5ed941583260/a">diff</a></li>
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
355 <li><a href="/comparison/5ed941583260/a">comparison</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
356 <li><a href="/annotate/5ed941583260/a">annotate</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
357 <li class="active">file log</li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
358 <li><a href="/raw-file/5ed941583260/a">raw</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
359 </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
360 <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
361 <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
362 </ul>
12437
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
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
365 <div class="main">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
366 <h2><a href="/">test</a></h2>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
367 <h3>log a</h3>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
368
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
369 <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
370
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
371 <p><input name="rev" id="search1" type="text" size="30" /></p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
372 <div id="hint">find changesets by author, revision,
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
373 files, or words in the commit message</div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
374 </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
375
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
376 <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
377 <a href="/log/5ed941583260/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
378 <a href="/log/5ed941583260/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
379 | <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
380
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
381 <table class="bigtable">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
382 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
383 <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
384 <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
385 <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
386 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
387 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
388 <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
389 <td class="author">test</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
390 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
391 </tr>
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 </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
394
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
395 <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
396 <a href="/log/5ed941583260/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
397 <a href="/log/5ed941583260/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
398 | <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
399 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
400
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
401 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
402 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
403
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
404 <script type="text/javascript">process_dates()</script>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
405
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
406
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
407 </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
408 </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
409
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
410
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
411 first version - one revision
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
412
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
413 $ ("$TESTDIR/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
414 200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
415
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
416 <!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
417 <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
418 <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
419 <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
420 <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
421 <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
422 <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
423
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
424 <title>test: a history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
425 <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
426 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
427 <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
428 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
429 </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
430 <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
431
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
432 <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
433 <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
434 <div class="logo">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
435 <a href="http://mercurial.selenic.com/">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
436 <img src="/static/hglogo.png" alt="mercurial" /></a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
437 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
438 <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
439 <li><a href="/shortlog/5ed941583260">log</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
440 <li><a href="/graph/5ed941583260">graph</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
441 <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
442 <li><a href="/bookmarks">bookmarks</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
443 <li><a href="/branches">branches</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
444 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
445 <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
446 <li><a href="/rev/5ed941583260">changeset</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
447 <li><a href="/file/5ed941583260">browse</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
448 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
449 <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
450 <li><a href="/file/5ed941583260/a">file</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
451 <li><a href="/diff/5ed941583260/a">diff</a></li>
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
452 <li><a href="/comparison/5ed941583260/a">comparison</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
453 <li><a href="/annotate/5ed941583260/a">annotate</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
454 <li class="active">file log</li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
455 <li><a href="/raw-file/5ed941583260/a">raw</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
456 </ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
457 <ul>
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
458 <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
459 </ul>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
460 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
461
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
462 <div class="main">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
463 <h2><a href="/">test</a></h2>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
464 <h3>log a</h3>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
465
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
466 <form class="search" action="/log">
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 <p><input name="rev" id="search1" type="text" size="30" /></p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
469 <div id="hint">find changesets by author, revision,
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
470 files, or words in the commit message</div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
471 </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
472
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
473 <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
474 <a href="/log/5ed941583260/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
475 <a href="/log/5ed941583260/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
476 | <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
477
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
478 <table class="bigtable">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
479 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
480 <th class="age">age</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
481 <th class="author">author</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
482 <th class="description">description</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
483 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
484 <tr class="parity0">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
485 <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
486 <td class="author">test</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
487 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
488 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
489
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
490 </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
491
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
492 <div class="navigate">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
493 <a href="/log/5ed941583260/a?revcount=30">less</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
494 <a href="/log/5ed941583260/a?revcount=120">more</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
495 | <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
496 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
497
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
498 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
499 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
500
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
501 <script type="text/javascript">process_dates()</script>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
502
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
503
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
504 </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
505 </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
506
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
507
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
508 before addition - error
7300
591767e6ea7a hgweb: conditionally show file logs for deleted files
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
509
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
510 $ ("$TESTDIR/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
511 404 Not Found
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
512
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
513 <!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
514 <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
515 <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
516 <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
517 <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
518 <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
519 <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
520
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
521 <title>test: error</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
522 </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
523 <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
524
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
525 <div class="container">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
526 <div class="menu">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
527 <div class="logo">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
528 <a href="http://mercurial.selenic.com/">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
529 <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
530 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
531 <ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
532 <li><a href="/shortlog">log</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
533 <li><a href="/graph">graph</a></li>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
534 <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
535 <li><a href="/bookmarks">bookmarks</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
536 <li><a href="/branches">branches</a></li>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12437
diff changeset
537 <li><a href="/help">help</a></li>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
538 </ul>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
539 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
540
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
541 <div class="main">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
542
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
543 <h2><a href="/">test</a></h2>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
544 <h3>error</h3>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
545
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
546 <form class="search" action="/log">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
547
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
548 <p><input name="rev" id="search1" type="text" size="30"></p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
549 <div id="hint">find changesets by author, revision,
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
550 files, or words in the commit message</div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
551 </form>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
552
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
553 <div class="description">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
554 <p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
555 An error occurred while processing your request:
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
556 </p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
557 <p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
558 a@6563da9dcf87: not found in manifest
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
559 </p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
560 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
561 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
562 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
563
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
564 <script type="text/javascript">process_dates()</script>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
565
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
566
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
567 </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
568 </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
569
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
570 [1]
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
571
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
572 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
573
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
574 $ ("$TESTDIR/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
575 200 Script output follows
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
576
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
577 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
578 <html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
579 <head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
580 <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
581 <meta name="robots" content="index, nofollow" />
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
582 <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
583 <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
584
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
585 <title>test: c history</title>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
586 <link rel="alternate" type="application/atom+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
587 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
588 <link rel="alternate" type="application/rss+xml"
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
589 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
590 </head>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
591 <body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
592
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
593 <div class="buttons">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
594 <a href="/log?style=spartan">changelog</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
595 <a href="/shortlog?style=spartan">shortlog</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
596 <a href="/graph?style=spartan">graph</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
597 <a href="/tags?style=spartan">tags</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
598 <a href="/branches?style=spartan">branches</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
599 <a href="/file/b7682196df1c/c?style=spartan">file</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
600 <a href="/annotate/b7682196df1c/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
601 <a href="/help?style=spartan">help</a>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
602 <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
603 <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
604 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
605
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
606 <h2>c revision history</h2>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
607
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
608 <p>navigate: <small class="navigate"><a href="/log/1a6696706df2/c?style=spartan">(0)</a> <a href="/log/tip/c?style=spartan">tip</a> </small></p>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
609
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
610 <table class="logEntry parity0">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
611 <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
612 <th><span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span>:</th>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
613 <th class="firstline"><a href="/rev/b7682196df1c?style=spartan">change c</a></th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
614 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
615 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
616 <th class="revision">revision 1:</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
617 <td class="node">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
618 <a href="/file/b7682196df1c/c?style=spartan">b7682196df1c</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
619 <a href="/diff/b7682196df1c/c?style=spartan">(diff)</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
620 <a href="/annotate/b7682196df1c/c?style=spartan">(annotate)</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
621 </td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
622 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
623
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
624 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
625 <th class="author">author:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
626 <td class="author">&#116;&#101;&#115;&#116;</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
627 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
628 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
629 <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
630 <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
631 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
632 </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
633
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
634
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
635 <table class="logEntry parity1">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
636 <tr>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14046
diff changeset
637 <th><span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span>:</th>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
638 <th class="firstline"><a href="/rev/1a6696706df2?style=spartan">mv b</a></th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
639 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
640 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
641 <th class="revision">revision 0:</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
642 <td class="node">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
643 <a href="/file/1a6696706df2/c?style=spartan">1a6696706df2</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
644 <a href="/diff/1a6696706df2/c?style=spartan">(diff)</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
645 <a href="/annotate/1a6696706df2/c?style=spartan">(annotate)</a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
646 </td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
647 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
648
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
649 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
650 <th>base:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
651 <td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
652 <a href="/file/1e88685f5dde/b?style=spartan">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
653 b@1e88685f5dde
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
654 </a>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
655 </td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
656 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
657 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
658 <th class="author">author:</th>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
659 <td class="author">&#116;&#101;&#115;&#116;</td>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
660 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
661 <tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
662 <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
663 <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
664 </tr>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
665 </table>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
666
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
667
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
668
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
669
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
670 <script type="text/javascript">process_dates()</script>
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
671
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
672 <div class="logo">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
673 <a href="http://mercurial.selenic.com/">
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
674 <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
675 </div>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
676
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
677 </body>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
678 </html>
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
679
7612
069b29656401 web: use the correct filectx in filelog
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7300
diff changeset
680
13547
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
681 rss log
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
682
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
683 $ ("$TESTDIR/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
684 200 Script output follows
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
685
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
686 <?xml version="1.0" encoding="ascii"?>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
687 <rss version="2.0">
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
688 <channel>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
689 <link>http://*:$HGPORT/</link> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
690 <language>en-us</language>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
691
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
692 <title>test: a history</title>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
693 <description>a revision history</description>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
694 <item>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
695 <title>second a</title>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
696 <link>http://*:$HGPORT/log01de2d66a28d/a</link> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
697 <description><![CDATA[second a]]></description>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
698 <author>&#116;&#101;&#115;&#116;</author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
699 <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
700 </item>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
701 <item>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
702 <title>first a</title>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
703 <link>http://*:$HGPORT/log5ed941583260/a</link> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
704 <description><![CDATA[first a]]></description>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
705 <author>&#116;&#101;&#115;&#116;</author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
706 <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
707 </item>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
708
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
709 </channel>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
710 </rss>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
711
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
712 atom log
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
713
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
714 $ ("$TESTDIR/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
715 200 Script output follows
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
716
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
717 <?xml version="1.0" encoding="ascii"?>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
718 <feed xmlns="http://www.w3.org/2005/Atom">
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
719 <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
720 <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
721 <title>test: a history</title>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
722 <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
723
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
724 <entry>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
725 <title>second a</title>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
726 <id>http://*:$HGPORT/#changeset-01de2d66a28df5549090991dccda788726948517</id> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
727 <link href="http://*:$HGPORT/rev/01de2d66a28d"/> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
728 <author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
729 <name>test</name>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
730 <email>&#116;&#101;&#115;&#116;</email>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
731 </author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
732 <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
733 <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
734 <content type="xhtml">
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
735 <div xmlns="http://www.w3.org/1999/xhtml">
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
736 <pre xml:space="preserve">second a</pre>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
737 </div>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
738 </content>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
739 </entry>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
740 <entry>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
741 <title>first a</title>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
742 <id>http://*:$HGPORT/#changeset-5ed941583260248620985524192fdc382ef57c36</id> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
743 <link href="http://*:$HGPORT/rev/5ed941583260"/> (glob)
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
744 <author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
745 <name>test</name>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
746 <email>&#116;&#101;&#115;&#116;</email>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
747 </author>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
748 <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
749 <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
750 <content type="xhtml">
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
751 <div xmlns="http://www.w3.org/1999/xhtml">
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
752 <pre xml:space="preserve">first a</pre>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
753 </div>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
754 </content>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
755 </entry>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
756
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
757 </feed>
a2dc8819bb0d hgweb: fix filelog rss links generation
Patrick Mezard <pmezard@gmail.com>
parents: 12680
diff changeset
758
12437
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
759 errors
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
760
b5538f89e5aa tests: unify test-hgweb-filelog
Matt Mackall <mpm@selenic.com>
parents: 8452
diff changeset
761 $ cat errors.log
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 15446
diff changeset
762
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 15446
diff changeset
763 $ cd ..