##// END OF EJS Templates
hgweb: fix filelog rss links generation
Patrick Mezard -
r13547:a2dc8819 stable
parent child Browse files
Show More
@@ -1,7 +1,7 b''
1 <item>
1 <item>
2 <title>{desc|strip|firstline|strip|escape}</title>
2 <title>{desc|strip|firstline|strip|escape}</title>
3 <link>{urlbase}{url}log{{node|short}}/{file|urlescape}</link>
3 <link>{urlbase}{url}log{node|short}/{file|urlescape}</link>
4 <description><![CDATA[{desc|strip|escape|addbreaks|nonempty}]]></description>
4 <description><![CDATA[{desc|strip|escape|addbreaks|nonempty}]]></description>
5 <author>{author|obfuscate}</author>
5 <author>{author|obfuscate}</author>
6 <pubDate>{date|rfc822date}</pubDate>
6 <pubDate>{date|rfc822date}</pubDate>
7 </item>
7 </item>
@@ -1,661 +1,739 b''
1
1
2 $ hg init test
2 $ hg init test
3 $ cd test
3 $ cd test
4 $ echo b > b
4 $ echo b > b
5 $ hg ci -Am "b"
5 $ hg ci -Am "b"
6 adding b
6 adding b
7 $ echo a > a
7 $ echo a > a
8 $ hg ci -Am "first a"
8 $ hg ci -Am "first a"
9 adding a
9 adding a
10 $ hg rm a
10 $ hg rm a
11 $ hg ci -m "del a"
11 $ hg ci -m "del a"
12 $ echo b > a
12 $ echo b > a
13 $ hg ci -Am "second a"
13 $ hg ci -Am "second a"
14 adding a
14 adding a
15 $ hg rm a
15 $ hg rm a
16 $ hg ci -m "del2 a"
16 $ hg ci -m "del2 a"
17 $ hg mv b c
17 $ hg mv b c
18 $ hg ci -m "mv b"
18 $ hg ci -m "mv b"
19 $ echo c >> c
19 $ echo c >> c
20 $ hg ci -m "change c"
20 $ hg ci -m "change c"
21 $ hg log -p
21 $ hg log -p
22 changeset: 6:b7682196df1c
22 changeset: 6:b7682196df1c
23 tag: tip
23 tag: tip
24 user: test
24 user: test
25 date: Thu Jan 01 00:00:00 1970 +0000
25 date: Thu Jan 01 00:00:00 1970 +0000
26 summary: change c
26 summary: change c
27
27
28 diff -r 1a6696706df2 -r b7682196df1c c
28 diff -r 1a6696706df2 -r b7682196df1c c
29 --- a/c Thu Jan 01 00:00:00 1970 +0000
29 --- a/c Thu Jan 01 00:00:00 1970 +0000
30 +++ b/c Thu Jan 01 00:00:00 1970 +0000
30 +++ b/c Thu Jan 01 00:00:00 1970 +0000
31 @@ -1,1 +1,2 @@
31 @@ -1,1 +1,2 @@
32 b
32 b
33 +c
33 +c
34
34
35 changeset: 5:1a6696706df2
35 changeset: 5:1a6696706df2
36 user: test
36 user: test
37 date: Thu Jan 01 00:00:00 1970 +0000
37 date: Thu Jan 01 00:00:00 1970 +0000
38 summary: mv b
38 summary: mv b
39
39
40 diff -r 52e848cdcd88 -r 1a6696706df2 b
40 diff -r 52e848cdcd88 -r 1a6696706df2 b
41 --- a/b Thu Jan 01 00:00:00 1970 +0000
41 --- a/b Thu Jan 01 00:00:00 1970 +0000
42 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
42 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
43 @@ -1,1 +0,0 @@
43 @@ -1,1 +0,0 @@
44 -b
44 -b
45 diff -r 52e848cdcd88 -r 1a6696706df2 c
45 diff -r 52e848cdcd88 -r 1a6696706df2 c
46 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
46 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
47 +++ b/c Thu Jan 01 00:00:00 1970 +0000
47 +++ b/c Thu Jan 01 00:00:00 1970 +0000
48 @@ -0,0 +1,1 @@
48 @@ -0,0 +1,1 @@
49 +b
49 +b
50
50
51 changeset: 4:52e848cdcd88
51 changeset: 4:52e848cdcd88
52 user: test
52 user: test
53 date: Thu Jan 01 00:00:00 1970 +0000
53 date: Thu Jan 01 00:00:00 1970 +0000
54 summary: del2 a
54 summary: del2 a
55
55
56 diff -r 01de2d66a28d -r 52e848cdcd88 a
56 diff -r 01de2d66a28d -r 52e848cdcd88 a
57 --- a/a Thu Jan 01 00:00:00 1970 +0000
57 --- a/a Thu Jan 01 00:00:00 1970 +0000
58 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
58 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
59 @@ -1,1 +0,0 @@
59 @@ -1,1 +0,0 @@
60 -b
60 -b
61
61
62 changeset: 3:01de2d66a28d
62 changeset: 3:01de2d66a28d
63 user: test
63 user: test
64 date: Thu Jan 01 00:00:00 1970 +0000
64 date: Thu Jan 01 00:00:00 1970 +0000
65 summary: second a
65 summary: second a
66
66
67 diff -r be3ebcc91739 -r 01de2d66a28d a
67 diff -r be3ebcc91739 -r 01de2d66a28d a
68 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
68 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
69 +++ b/a Thu Jan 01 00:00:00 1970 +0000
69 +++ b/a Thu Jan 01 00:00:00 1970 +0000
70 @@ -0,0 +1,1 @@
70 @@ -0,0 +1,1 @@
71 +b
71 +b
72
72
73 changeset: 2:be3ebcc91739
73 changeset: 2:be3ebcc91739
74 user: test
74 user: test
75 date: Thu Jan 01 00:00:00 1970 +0000
75 date: Thu Jan 01 00:00:00 1970 +0000
76 summary: del a
76 summary: del a
77
77
78 diff -r 5ed941583260 -r be3ebcc91739 a
78 diff -r 5ed941583260 -r be3ebcc91739 a
79 --- a/a Thu Jan 01 00:00:00 1970 +0000
79 --- a/a Thu Jan 01 00:00:00 1970 +0000
80 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
80 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
81 @@ -1,1 +0,0 @@
81 @@ -1,1 +0,0 @@
82 -a
82 -a
83
83
84 changeset: 1:5ed941583260
84 changeset: 1:5ed941583260
85 user: test
85 user: test
86 date: Thu Jan 01 00:00:00 1970 +0000
86 date: Thu Jan 01 00:00:00 1970 +0000
87 summary: first a
87 summary: first a
88
88
89 diff -r 6563da9dcf87 -r 5ed941583260 a
89 diff -r 6563da9dcf87 -r 5ed941583260 a
90 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
90 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
91 +++ b/a Thu Jan 01 00:00:00 1970 +0000
91 +++ b/a Thu Jan 01 00:00:00 1970 +0000
92 @@ -0,0 +1,1 @@
92 @@ -0,0 +1,1 @@
93 +a
93 +a
94
94
95 changeset: 0:6563da9dcf87
95 changeset: 0:6563da9dcf87
96 user: test
96 user: test
97 date: Thu Jan 01 00:00:00 1970 +0000
97 date: Thu Jan 01 00:00:00 1970 +0000
98 summary: b
98 summary: b
99
99
100 diff -r 000000000000 -r 6563da9dcf87 b
100 diff -r 000000000000 -r 6563da9dcf87 b
101 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
101 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
102 +++ b/b Thu Jan 01 00:00:00 1970 +0000
102 +++ b/b Thu Jan 01 00:00:00 1970 +0000
103 @@ -0,0 +1,1 @@
103 @@ -0,0 +1,1 @@
104 +b
104 +b
105
105
106 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
106 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
107 $ cat hg.pid >> $DAEMON_PIDS
107 $ cat hg.pid >> $DAEMON_PIDS
108
108
109 tip - two revisions
109 tip - two revisions
110
110
111 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/tip/a')
111 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/tip/a')
112 200 Script output follows
112 200 Script output follows
113
113
114 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
114 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
115 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
115 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
116 <head>
116 <head>
117 <link rel="icon" href="/static/hgicon.png" type="image/png" />
117 <link rel="icon" href="/static/hgicon.png" type="image/png" />
118 <meta name="robots" content="index, nofollow" />
118 <meta name="robots" content="index, nofollow" />
119 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
119 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
120
120
121 <title>test: a history</title>
121 <title>test: a history</title>
122 <link rel="alternate" type="application/atom+xml"
122 <link rel="alternate" type="application/atom+xml"
123 href="/atom-log/tip/a" title="Atom feed for test:a" />
123 href="/atom-log/tip/a" title="Atom feed for test:a" />
124 <link rel="alternate" type="application/rss+xml"
124 <link rel="alternate" type="application/rss+xml"
125 href="/rss-log/tip/a" title="RSS feed for test:a" />
125 href="/rss-log/tip/a" title="RSS feed for test:a" />
126 </head>
126 </head>
127 <body>
127 <body>
128
128
129 <div class="container">
129 <div class="container">
130 <div class="menu">
130 <div class="menu">
131 <div class="logo">
131 <div class="logo">
132 <a href="http://mercurial.selenic.com/">
132 <a href="http://mercurial.selenic.com/">
133 <img src="/static/hglogo.png" alt="mercurial" /></a>
133 <img src="/static/hglogo.png" alt="mercurial" /></a>
134 </div>
134 </div>
135 <ul>
135 <ul>
136 <li><a href="/shortlog/01de2d66a28d">log</a></li>
136 <li><a href="/shortlog/01de2d66a28d">log</a></li>
137 <li><a href="/graph/01de2d66a28d">graph</a></li>
137 <li><a href="/graph/01de2d66a28d">graph</a></li>
138 <li><a href="/tags">tags</a></li>
138 <li><a href="/tags">tags</a></li>
139 <li><a href="/branches">branches</a></li>
139 <li><a href="/branches">branches</a></li>
140 </ul>
140 </ul>
141 <ul>
141 <ul>
142 <li><a href="/rev/01de2d66a28d">changeset</a></li>
142 <li><a href="/rev/01de2d66a28d">changeset</a></li>
143 <li><a href="/file/01de2d66a28d">browse</a></li>
143 <li><a href="/file/01de2d66a28d">browse</a></li>
144 </ul>
144 </ul>
145 <ul>
145 <ul>
146 <li><a href="/file/01de2d66a28d/a">file</a></li>
146 <li><a href="/file/01de2d66a28d/a">file</a></li>
147 <li><a href="/diff/01de2d66a28d/a">diff</a></li>
147 <li><a href="/diff/01de2d66a28d/a">diff</a></li>
148 <li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
148 <li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
149 <li class="active">file log</li>
149 <li class="active">file log</li>
150 <li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
150 <li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
151 </ul>
151 </ul>
152 <ul>
152 <ul>
153 <li><a href="/help">help</a></li>
153 <li><a href="/help">help</a></li>
154 </ul>
154 </ul>
155 </div>
155 </div>
156
156
157 <div class="main">
157 <div class="main">
158 <h2><a href="/">test</a></h2>
158 <h2><a href="/">test</a></h2>
159 <h3>log a</h3>
159 <h3>log a</h3>
160
160
161 <form class="search" action="/log">
161 <form class="search" action="/log">
162
162
163 <p><input name="rev" id="search1" type="text" size="30" /></p>
163 <p><input name="rev" id="search1" type="text" size="30" /></p>
164 <div id="hint">find changesets by author, revision,
164 <div id="hint">find changesets by author, revision,
165 files, or words in the commit message</div>
165 files, or words in the commit message</div>
166 </form>
166 </form>
167
167
168 <div class="navigate">
168 <div class="navigate">
169 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
169 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
170 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
170 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
171 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
171 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
172
172
173 <table class="bigtable">
173 <table class="bigtable">
174 <tr>
174 <tr>
175 <th class="age">age</th>
175 <th class="age">age</th>
176 <th class="author">author</th>
176 <th class="author">author</th>
177 <th class="description">description</th>
177 <th class="description">description</th>
178 </tr>
178 </tr>
179 <tr class="parity0">
179 <tr class="parity0">
180 <td class="age">1970-01-01</td>
180 <td class="age">1970-01-01</td>
181 <td class="author">test</td>
181 <td class="author">test</td>
182 <td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
182 <td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
183 </tr>
183 </tr>
184 <tr class="parity1">
184 <tr class="parity1">
185 <td class="age">1970-01-01</td>
185 <td class="age">1970-01-01</td>
186 <td class="author">test</td>
186 <td class="author">test</td>
187 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
187 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
188 </tr>
188 </tr>
189
189
190 </table>
190 </table>
191
191
192 <div class="navigate">
192 <div class="navigate">
193 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
193 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
194 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
194 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
195 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
195 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
196 </div>
196 </div>
197
197
198 </div>
198 </div>
199 </div>
199 </div>
200
200
201
201
202
202
203 </body>
203 </body>
204 </html>
204 </html>
205
205
206
206
207 second version - two revisions
207 second version - two revisions
208
208
209 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/3/a')
209 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/3/a')
210 200 Script output follows
210 200 Script output follows
211
211
212 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
212 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
213 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
213 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
214 <head>
214 <head>
215 <link rel="icon" href="/static/hgicon.png" type="image/png" />
215 <link rel="icon" href="/static/hgicon.png" type="image/png" />
216 <meta name="robots" content="index, nofollow" />
216 <meta name="robots" content="index, nofollow" />
217 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
217 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
218
218
219 <title>test: a history</title>
219 <title>test: a history</title>
220 <link rel="alternate" type="application/atom+xml"
220 <link rel="alternate" type="application/atom+xml"
221 href="/atom-log/tip/a" title="Atom feed for test:a" />
221 href="/atom-log/tip/a" title="Atom feed for test:a" />
222 <link rel="alternate" type="application/rss+xml"
222 <link rel="alternate" type="application/rss+xml"
223 href="/rss-log/tip/a" title="RSS feed for test:a" />
223 href="/rss-log/tip/a" title="RSS feed for test:a" />
224 </head>
224 </head>
225 <body>
225 <body>
226
226
227 <div class="container">
227 <div class="container">
228 <div class="menu">
228 <div class="menu">
229 <div class="logo">
229 <div class="logo">
230 <a href="http://mercurial.selenic.com/">
230 <a href="http://mercurial.selenic.com/">
231 <img src="/static/hglogo.png" alt="mercurial" /></a>
231 <img src="/static/hglogo.png" alt="mercurial" /></a>
232 </div>
232 </div>
233 <ul>
233 <ul>
234 <li><a href="/shortlog/01de2d66a28d">log</a></li>
234 <li><a href="/shortlog/01de2d66a28d">log</a></li>
235 <li><a href="/graph/01de2d66a28d">graph</a></li>
235 <li><a href="/graph/01de2d66a28d">graph</a></li>
236 <li><a href="/tags">tags</a></li>
236 <li><a href="/tags">tags</a></li>
237 <li><a href="/branches">branches</a></li>
237 <li><a href="/branches">branches</a></li>
238 </ul>
238 </ul>
239 <ul>
239 <ul>
240 <li><a href="/rev/01de2d66a28d">changeset</a></li>
240 <li><a href="/rev/01de2d66a28d">changeset</a></li>
241 <li><a href="/file/01de2d66a28d">browse</a></li>
241 <li><a href="/file/01de2d66a28d">browse</a></li>
242 </ul>
242 </ul>
243 <ul>
243 <ul>
244 <li><a href="/file/01de2d66a28d/a">file</a></li>
244 <li><a href="/file/01de2d66a28d/a">file</a></li>
245 <li><a href="/diff/01de2d66a28d/a">diff</a></li>
245 <li><a href="/diff/01de2d66a28d/a">diff</a></li>
246 <li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
246 <li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
247 <li class="active">file log</li>
247 <li class="active">file log</li>
248 <li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
248 <li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
249 </ul>
249 </ul>
250 <ul>
250 <ul>
251 <li><a href="/help">help</a></li>
251 <li><a href="/help">help</a></li>
252 </ul>
252 </ul>
253 </div>
253 </div>
254
254
255 <div class="main">
255 <div class="main">
256 <h2><a href="/">test</a></h2>
256 <h2><a href="/">test</a></h2>
257 <h3>log a</h3>
257 <h3>log a</h3>
258
258
259 <form class="search" action="/log">
259 <form class="search" action="/log">
260
260
261 <p><input name="rev" id="search1" type="text" size="30" /></p>
261 <p><input name="rev" id="search1" type="text" size="30" /></p>
262 <div id="hint">find changesets by author, revision,
262 <div id="hint">find changesets by author, revision,
263 files, or words in the commit message</div>
263 files, or words in the commit message</div>
264 </form>
264 </form>
265
265
266 <div class="navigate">
266 <div class="navigate">
267 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
267 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
268 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
268 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
269 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
269 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
270
270
271 <table class="bigtable">
271 <table class="bigtable">
272 <tr>
272 <tr>
273 <th class="age">age</th>
273 <th class="age">age</th>
274 <th class="author">author</th>
274 <th class="author">author</th>
275 <th class="description">description</th>
275 <th class="description">description</th>
276 </tr>
276 </tr>
277 <tr class="parity0">
277 <tr class="parity0">
278 <td class="age">1970-01-01</td>
278 <td class="age">1970-01-01</td>
279 <td class="author">test</td>
279 <td class="author">test</td>
280 <td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
280 <td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
281 </tr>
281 </tr>
282 <tr class="parity1">
282 <tr class="parity1">
283 <td class="age">1970-01-01</td>
283 <td class="age">1970-01-01</td>
284 <td class="author">test</td>
284 <td class="author">test</td>
285 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
285 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
286 </tr>
286 </tr>
287
287
288 </table>
288 </table>
289
289
290 <div class="navigate">
290 <div class="navigate">
291 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
291 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
292 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
292 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
293 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
293 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
294 </div>
294 </div>
295
295
296 </div>
296 </div>
297 </div>
297 </div>
298
298
299
299
300
300
301 </body>
301 </body>
302 </html>
302 </html>
303
303
304
304
305 first deleted - one revision
305 first deleted - one revision
306
306
307 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/2/a')
307 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/2/a')
308 200 Script output follows
308 200 Script output follows
309
309
310 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
310 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
311 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
311 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
312 <head>
312 <head>
313 <link rel="icon" href="/static/hgicon.png" type="image/png" />
313 <link rel="icon" href="/static/hgicon.png" type="image/png" />
314 <meta name="robots" content="index, nofollow" />
314 <meta name="robots" content="index, nofollow" />
315 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
315 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
316
316
317 <title>test: a history</title>
317 <title>test: a history</title>
318 <link rel="alternate" type="application/atom+xml"
318 <link rel="alternate" type="application/atom+xml"
319 href="/atom-log/tip/a" title="Atom feed for test:a" />
319 href="/atom-log/tip/a" title="Atom feed for test:a" />
320 <link rel="alternate" type="application/rss+xml"
320 <link rel="alternate" type="application/rss+xml"
321 href="/rss-log/tip/a" title="RSS feed for test:a" />
321 href="/rss-log/tip/a" title="RSS feed for test:a" />
322 </head>
322 </head>
323 <body>
323 <body>
324
324
325 <div class="container">
325 <div class="container">
326 <div class="menu">
326 <div class="menu">
327 <div class="logo">
327 <div class="logo">
328 <a href="http://mercurial.selenic.com/">
328 <a href="http://mercurial.selenic.com/">
329 <img src="/static/hglogo.png" alt="mercurial" /></a>
329 <img src="/static/hglogo.png" alt="mercurial" /></a>
330 </div>
330 </div>
331 <ul>
331 <ul>
332 <li><a href="/shortlog/5ed941583260">log</a></li>
332 <li><a href="/shortlog/5ed941583260">log</a></li>
333 <li><a href="/graph/5ed941583260">graph</a></li>
333 <li><a href="/graph/5ed941583260">graph</a></li>
334 <li><a href="/tags">tags</a></li>
334 <li><a href="/tags">tags</a></li>
335 <li><a href="/branches">branches</a></li>
335 <li><a href="/branches">branches</a></li>
336 </ul>
336 </ul>
337 <ul>
337 <ul>
338 <li><a href="/rev/5ed941583260">changeset</a></li>
338 <li><a href="/rev/5ed941583260">changeset</a></li>
339 <li><a href="/file/5ed941583260">browse</a></li>
339 <li><a href="/file/5ed941583260">browse</a></li>
340 </ul>
340 </ul>
341 <ul>
341 <ul>
342 <li><a href="/file/5ed941583260/a">file</a></li>
342 <li><a href="/file/5ed941583260/a">file</a></li>
343 <li><a href="/diff/5ed941583260/a">diff</a></li>
343 <li><a href="/diff/5ed941583260/a">diff</a></li>
344 <li><a href="/annotate/5ed941583260/a">annotate</a></li>
344 <li><a href="/annotate/5ed941583260/a">annotate</a></li>
345 <li class="active">file log</li>
345 <li class="active">file log</li>
346 <li><a href="/raw-file/5ed941583260/a">raw</a></li>
346 <li><a href="/raw-file/5ed941583260/a">raw</a></li>
347 </ul>
347 </ul>
348 <ul>
348 <ul>
349 <li><a href="/help">help</a></li>
349 <li><a href="/help">help</a></li>
350 </ul>
350 </ul>
351 </div>
351 </div>
352
352
353 <div class="main">
353 <div class="main">
354 <h2><a href="/">test</a></h2>
354 <h2><a href="/">test</a></h2>
355 <h3>log a</h3>
355 <h3>log a</h3>
356
356
357 <form class="search" action="/log">
357 <form class="search" action="/log">
358
358
359 <p><input name="rev" id="search1" type="text" size="30" /></p>
359 <p><input name="rev" id="search1" type="text" size="30" /></p>
360 <div id="hint">find changesets by author, revision,
360 <div id="hint">find changesets by author, revision,
361 files, or words in the commit message</div>
361 files, or words in the commit message</div>
362 </form>
362 </form>
363
363
364 <div class="navigate">
364 <div class="navigate">
365 <a href="/log/5ed941583260/a?revcount=30">less</a>
365 <a href="/log/5ed941583260/a?revcount=30">less</a>
366 <a href="/log/5ed941583260/a?revcount=120">more</a>
366 <a href="/log/5ed941583260/a?revcount=120">more</a>
367 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
367 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
368
368
369 <table class="bigtable">
369 <table class="bigtable">
370 <tr>
370 <tr>
371 <th class="age">age</th>
371 <th class="age">age</th>
372 <th class="author">author</th>
372 <th class="author">author</th>
373 <th class="description">description</th>
373 <th class="description">description</th>
374 </tr>
374 </tr>
375 <tr class="parity0">
375 <tr class="parity0">
376 <td class="age">1970-01-01</td>
376 <td class="age">1970-01-01</td>
377 <td class="author">test</td>
377 <td class="author">test</td>
378 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
378 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
379 </tr>
379 </tr>
380
380
381 </table>
381 </table>
382
382
383 <div class="navigate">
383 <div class="navigate">
384 <a href="/log/5ed941583260/a?revcount=30">less</a>
384 <a href="/log/5ed941583260/a?revcount=30">less</a>
385 <a href="/log/5ed941583260/a?revcount=120">more</a>
385 <a href="/log/5ed941583260/a?revcount=120">more</a>
386 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
386 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
387 </div>
387 </div>
388
388
389 </div>
389 </div>
390 </div>
390 </div>
391
391
392
392
393
393
394 </body>
394 </body>
395 </html>
395 </html>
396
396
397
397
398 first version - one revision
398 first version - one revision
399
399
400 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/1/a')
400 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/1/a')
401 200 Script output follows
401 200 Script output follows
402
402
403 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
403 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
404 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
404 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
405 <head>
405 <head>
406 <link rel="icon" href="/static/hgicon.png" type="image/png" />
406 <link rel="icon" href="/static/hgicon.png" type="image/png" />
407 <meta name="robots" content="index, nofollow" />
407 <meta name="robots" content="index, nofollow" />
408 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
408 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
409
409
410 <title>test: a history</title>
410 <title>test: a history</title>
411 <link rel="alternate" type="application/atom+xml"
411 <link rel="alternate" type="application/atom+xml"
412 href="/atom-log/tip/a" title="Atom feed for test:a" />
412 href="/atom-log/tip/a" title="Atom feed for test:a" />
413 <link rel="alternate" type="application/rss+xml"
413 <link rel="alternate" type="application/rss+xml"
414 href="/rss-log/tip/a" title="RSS feed for test:a" />
414 href="/rss-log/tip/a" title="RSS feed for test:a" />
415 </head>
415 </head>
416 <body>
416 <body>
417
417
418 <div class="container">
418 <div class="container">
419 <div class="menu">
419 <div class="menu">
420 <div class="logo">
420 <div class="logo">
421 <a href="http://mercurial.selenic.com/">
421 <a href="http://mercurial.selenic.com/">
422 <img src="/static/hglogo.png" alt="mercurial" /></a>
422 <img src="/static/hglogo.png" alt="mercurial" /></a>
423 </div>
423 </div>
424 <ul>
424 <ul>
425 <li><a href="/shortlog/5ed941583260">log</a></li>
425 <li><a href="/shortlog/5ed941583260">log</a></li>
426 <li><a href="/graph/5ed941583260">graph</a></li>
426 <li><a href="/graph/5ed941583260">graph</a></li>
427 <li><a href="/tags">tags</a></li>
427 <li><a href="/tags">tags</a></li>
428 <li><a href="/branches">branches</a></li>
428 <li><a href="/branches">branches</a></li>
429 </ul>
429 </ul>
430 <ul>
430 <ul>
431 <li><a href="/rev/5ed941583260">changeset</a></li>
431 <li><a href="/rev/5ed941583260">changeset</a></li>
432 <li><a href="/file/5ed941583260">browse</a></li>
432 <li><a href="/file/5ed941583260">browse</a></li>
433 </ul>
433 </ul>
434 <ul>
434 <ul>
435 <li><a href="/file/5ed941583260/a">file</a></li>
435 <li><a href="/file/5ed941583260/a">file</a></li>
436 <li><a href="/diff/5ed941583260/a">diff</a></li>
436 <li><a href="/diff/5ed941583260/a">diff</a></li>
437 <li><a href="/annotate/5ed941583260/a">annotate</a></li>
437 <li><a href="/annotate/5ed941583260/a">annotate</a></li>
438 <li class="active">file log</li>
438 <li class="active">file log</li>
439 <li><a href="/raw-file/5ed941583260/a">raw</a></li>
439 <li><a href="/raw-file/5ed941583260/a">raw</a></li>
440 </ul>
440 </ul>
441 <ul>
441 <ul>
442 <li><a href="/help">help</a></li>
442 <li><a href="/help">help</a></li>
443 </ul>
443 </ul>
444 </div>
444 </div>
445
445
446 <div class="main">
446 <div class="main">
447 <h2><a href="/">test</a></h2>
447 <h2><a href="/">test</a></h2>
448 <h3>log a</h3>
448 <h3>log a</h3>
449
449
450 <form class="search" action="/log">
450 <form class="search" action="/log">
451
451
452 <p><input name="rev" id="search1" type="text" size="30" /></p>
452 <p><input name="rev" id="search1" type="text" size="30" /></p>
453 <div id="hint">find changesets by author, revision,
453 <div id="hint">find changesets by author, revision,
454 files, or words in the commit message</div>
454 files, or words in the commit message</div>
455 </form>
455 </form>
456
456
457 <div class="navigate">
457 <div class="navigate">
458 <a href="/log/5ed941583260/a?revcount=30">less</a>
458 <a href="/log/5ed941583260/a?revcount=30">less</a>
459 <a href="/log/5ed941583260/a?revcount=120">more</a>
459 <a href="/log/5ed941583260/a?revcount=120">more</a>
460 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
460 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
461
461
462 <table class="bigtable">
462 <table class="bigtable">
463 <tr>
463 <tr>
464 <th class="age">age</th>
464 <th class="age">age</th>
465 <th class="author">author</th>
465 <th class="author">author</th>
466 <th class="description">description</th>
466 <th class="description">description</th>
467 </tr>
467 </tr>
468 <tr class="parity0">
468 <tr class="parity0">
469 <td class="age">1970-01-01</td>
469 <td class="age">1970-01-01</td>
470 <td class="author">test</td>
470 <td class="author">test</td>
471 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
471 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
472 </tr>
472 </tr>
473
473
474 </table>
474 </table>
475
475
476 <div class="navigate">
476 <div class="navigate">
477 <a href="/log/5ed941583260/a?revcount=30">less</a>
477 <a href="/log/5ed941583260/a?revcount=30">less</a>
478 <a href="/log/5ed941583260/a?revcount=120">more</a>
478 <a href="/log/5ed941583260/a?revcount=120">more</a>
479 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
479 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
480 </div>
480 </div>
481
481
482 </div>
482 </div>
483 </div>
483 </div>
484
484
485
485
486
486
487 </body>
487 </body>
488 </html>
488 </html>
489
489
490
490
491 before addition - error
491 before addition - error
492
492
493 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/0/a')
493 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/0/a')
494 404 Not Found
494 404 Not Found
495
495
496 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
496 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
497 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
497 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
498 <head>
498 <head>
499 <link rel="icon" href="/static/hgicon.png" type="image/png" />
499 <link rel="icon" href="/static/hgicon.png" type="image/png" />
500 <meta name="robots" content="index, nofollow" />
500 <meta name="robots" content="index, nofollow" />
501 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
501 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
502
502
503 <title>test: error</title>
503 <title>test: error</title>
504 </head>
504 </head>
505 <body>
505 <body>
506
506
507 <div class="container">
507 <div class="container">
508 <div class="menu">
508 <div class="menu">
509 <div class="logo">
509 <div class="logo">
510 <a href="http://mercurial.selenic.com/">
510 <a href="http://mercurial.selenic.com/">
511 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
511 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
512 </div>
512 </div>
513 <ul>
513 <ul>
514 <li><a href="/shortlog">log</a></li>
514 <li><a href="/shortlog">log</a></li>
515 <li><a href="/graph">graph</a></li>
515 <li><a href="/graph">graph</a></li>
516 <li><a href="/tags">tags</a></li>
516 <li><a href="/tags">tags</a></li>
517 <li><a href="/branches">branches</a></li>
517 <li><a href="/branches">branches</a></li>
518 <li><a href="/help">help</a></li>
518 <li><a href="/help">help</a></li>
519 </ul>
519 </ul>
520 </div>
520 </div>
521
521
522 <div class="main">
522 <div class="main">
523
523
524 <h2><a href="/">test</a></h2>
524 <h2><a href="/">test</a></h2>
525 <h3>error</h3>
525 <h3>error</h3>
526
526
527 <form class="search" action="/log">
527 <form class="search" action="/log">
528
528
529 <p><input name="rev" id="search1" type="text" size="30"></p>
529 <p><input name="rev" id="search1" type="text" size="30"></p>
530 <div id="hint">find changesets by author, revision,
530 <div id="hint">find changesets by author, revision,
531 files, or words in the commit message</div>
531 files, or words in the commit message</div>
532 </form>
532 </form>
533
533
534 <div class="description">
534 <div class="description">
535 <p>
535 <p>
536 An error occurred while processing your request:
536 An error occurred while processing your request:
537 </p>
537 </p>
538 <p>
538 <p>
539 a@6563da9dcf87: not found in manifest
539 a@6563da9dcf87: not found in manifest
540 </p>
540 </p>
541 </div>
541 </div>
542 </div>
542 </div>
543 </div>
543 </div>
544
544
545
545
546
546
547 </body>
547 </body>
548 </html>
548 </html>
549
549
550 [1]
550 [1]
551
551
552 should show base link, use spartan because it shows it
552 should show base link, use spartan because it shows it
553
553
554 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/tip/c?style=spartan')
554 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/tip/c?style=spartan')
555 200 Script output follows
555 200 Script output follows
556
556
557 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
557 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
558 <html>
558 <html>
559 <head>
559 <head>
560 <link rel="icon" href="/static/hgicon.png" type="image/png">
560 <link rel="icon" href="/static/hgicon.png" type="image/png">
561 <meta name="robots" content="index, nofollow" />
561 <meta name="robots" content="index, nofollow" />
562 <link rel="stylesheet" href="/static/style.css" type="text/css" />
562 <link rel="stylesheet" href="/static/style.css" type="text/css" />
563
563
564 <title>test: c history</title>
564 <title>test: c history</title>
565 <link rel="alternate" type="application/atom+xml"
565 <link rel="alternate" type="application/atom+xml"
566 href="/atom-log/tip/c" title="Atom feed for test:c">
566 href="/atom-log/tip/c" title="Atom feed for test:c">
567 <link rel="alternate" type="application/rss+xml"
567 <link rel="alternate" type="application/rss+xml"
568 href="/rss-log/tip/c" title="RSS feed for test:c">
568 href="/rss-log/tip/c" title="RSS feed for test:c">
569 </head>
569 </head>
570 <body>
570 <body>
571
571
572 <div class="buttons">
572 <div class="buttons">
573 <a href="/log?style=spartan">changelog</a>
573 <a href="/log?style=spartan">changelog</a>
574 <a href="/shortlog?style=spartan">shortlog</a>
574 <a href="/shortlog?style=spartan">shortlog</a>
575 <a href="/graph?style=spartan">graph</a>
575 <a href="/graph?style=spartan">graph</a>
576 <a href="/tags?style=spartan">tags</a>
576 <a href="/tags?style=spartan">tags</a>
577 <a href="/branches?style=spartan">branches</a>
577 <a href="/branches?style=spartan">branches</a>
578 <a href="/file/b7682196df1c/c?style=spartan">file</a>
578 <a href="/file/b7682196df1c/c?style=spartan">file</a>
579 <a href="/annotate/b7682196df1c/c?style=spartan">annotate</a>
579 <a href="/annotate/b7682196df1c/c?style=spartan">annotate</a>
580 <a href="/help?style=spartan">help</a>
580 <a href="/help?style=spartan">help</a>
581 <a type="application/rss+xml" href="/rss-log/tip/c">rss</a>
581 <a type="application/rss+xml" href="/rss-log/tip/c">rss</a>
582 <a type="application/atom+xml" href="/atom-log/tip/c" title="Atom feed for test:c">atom</a>
582 <a type="application/atom+xml" href="/atom-log/tip/c" title="Atom feed for test:c">atom</a>
583 </div>
583 </div>
584
584
585 <h2>c revision history</h2>
585 <h2>c revision history</h2>
586
586
587 <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>
587 <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>
588
588
589 <table class="logEntry parity0">
589 <table class="logEntry parity0">
590 <tr>
590 <tr>
591 <th class="age">1970-01-01:</th>
591 <th class="age">1970-01-01:</th>
592 <th class="firstline"><a href="/rev/b7682196df1c?style=spartan">change c</a></th>
592 <th class="firstline"><a href="/rev/b7682196df1c?style=spartan">change c</a></th>
593 </tr>
593 </tr>
594 <tr>
594 <tr>
595 <th class="revision">revision 1:</td>
595 <th class="revision">revision 1:</td>
596 <td class="node">
596 <td class="node">
597 <a href="/file/b7682196df1c/c?style=spartan">b7682196df1c</a>
597 <a href="/file/b7682196df1c/c?style=spartan">b7682196df1c</a>
598 <a href="/diff/b7682196df1c/c?style=spartan">(diff)</a>
598 <a href="/diff/b7682196df1c/c?style=spartan">(diff)</a>
599 <a href="/annotate/b7682196df1c/c?style=spartan">(annotate)</a>
599 <a href="/annotate/b7682196df1c/c?style=spartan">(annotate)</a>
600 </td>
600 </td>
601 </tr>
601 </tr>
602
602
603 <tr>
603 <tr>
604 <th class="author">author:</th>
604 <th class="author">author:</th>
605 <td class="author">&#116;&#101;&#115;&#116;</td>
605 <td class="author">&#116;&#101;&#115;&#116;</td>
606 </tr>
606 </tr>
607 <tr>
607 <tr>
608 <th class="date">date:</th>
608 <th class="date">date:</th>
609 <td class="date">Thu Jan 01 00:00:00 1970 +0000</td>
609 <td class="date">Thu Jan 01 00:00:00 1970 +0000</td>
610 </tr>
610 </tr>
611 </table>
611 </table>
612
612
613
613
614 <table class="logEntry parity1">
614 <table class="logEntry parity1">
615 <tr>
615 <tr>
616 <th class="age">1970-01-01:</th>
616 <th class="age">1970-01-01:</th>
617 <th class="firstline"><a href="/rev/1a6696706df2?style=spartan">mv b</a></th>
617 <th class="firstline"><a href="/rev/1a6696706df2?style=spartan">mv b</a></th>
618 </tr>
618 </tr>
619 <tr>
619 <tr>
620 <th class="revision">revision 0:</td>
620 <th class="revision">revision 0:</td>
621 <td class="node">
621 <td class="node">
622 <a href="/file/1a6696706df2/c?style=spartan">1a6696706df2</a>
622 <a href="/file/1a6696706df2/c?style=spartan">1a6696706df2</a>
623 <a href="/diff/1a6696706df2/c?style=spartan">(diff)</a>
623 <a href="/diff/1a6696706df2/c?style=spartan">(diff)</a>
624 <a href="/annotate/1a6696706df2/c?style=spartan">(annotate)</a>
624 <a href="/annotate/1a6696706df2/c?style=spartan">(annotate)</a>
625 </td>
625 </td>
626 </tr>
626 </tr>
627
627
628 <tr>
628 <tr>
629 <th>base:</th>
629 <th>base:</th>
630 <td>
630 <td>
631 <a href="/file/1e88685f5dde/b?style=spartan">
631 <a href="/file/1e88685f5dde/b?style=spartan">
632 b@1e88685f5dde
632 b@1e88685f5dde
633 </a>
633 </a>
634 </td>
634 </td>
635 </tr>
635 </tr>
636 <tr>
636 <tr>
637 <th class="author">author:</th>
637 <th class="author">author:</th>
638 <td class="author">&#116;&#101;&#115;&#116;</td>
638 <td class="author">&#116;&#101;&#115;&#116;</td>
639 </tr>
639 </tr>
640 <tr>
640 <tr>
641 <th class="date">date:</th>
641 <th class="date">date:</th>
642 <td class="date">Thu Jan 01 00:00:00 1970 +0000</td>
642 <td class="date">Thu Jan 01 00:00:00 1970 +0000</td>
643 </tr>
643 </tr>
644 </table>
644 </table>
645
645
646
646
647
647
648
648
649
649
650 <div class="logo">
650 <div class="logo">
651 <a href="http://mercurial.selenic.com/">
651 <a href="http://mercurial.selenic.com/">
652 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
652 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
653 </div>
653 </div>
654
654
655 </body>
655 </body>
656 </html>
656 </html>
657
657
658
658
659 rss log
660
661 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rss-log/tip/a')
662 200 Script output follows
663
664 <?xml version="1.0" encoding="ascii"?>
665 <rss version="2.0">
666 <channel>
667 <link>http://*:$HGPORT/</link> (glob)
668 <language>en-us</language>
669
670 <title>test: a history</title>
671 <description>a revision history</description>
672 <item>
673 <title>second a</title>
674 <link>http://*:$HGPORT/log01de2d66a28d/a</link> (glob)
675 <description><![CDATA[second a]]></description>
676 <author>&#116;&#101;&#115;&#116;</author>
677 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
678 </item>
679 <item>
680 <title>first a</title>
681 <link>http://*:$HGPORT/log5ed941583260/a</link> (glob)
682 <description><![CDATA[first a]]></description>
683 <author>&#116;&#101;&#115;&#116;</author>
684 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
685 </item>
686
687 </channel>
688 </rss>
689
690 atom log
691
692 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/atom-log/tip/a')
693 200 Script output follows
694
695 <?xml version="1.0" encoding="ascii"?>
696 <feed xmlns="http://www.w3.org/2005/Atom">
697 <id>http://*:$HGPORT/atom-log/tip/a</id> (glob)
698 <link rel="self" href="http://*:$HGPORT/atom-log/tip/a"/> (glob)
699 <title>test: a history</title>
700 <updated>1970-01-01T00:00:00+00:00</updated>
701
702 <entry>
703 <title>second a</title>
704 <id>http://*:$HGPORT/#changeset-01de2d66a28df5549090991dccda788726948517</id> (glob)
705 <link href="http://*:$HGPORT/rev/01de2d66a28d"/> (glob)
706 <author>
707 <name>test</name>
708 <email>&#116;&#101;&#115;&#116;</email>
709 </author>
710 <updated>1970-01-01T00:00:00+00:00</updated>
711 <published>1970-01-01T00:00:00+00:00</published>
712 <content type="xhtml">
713 <div xmlns="http://www.w3.org/1999/xhtml">
714 <pre xml:space="preserve">second a</pre>
715 </div>
716 </content>
717 </entry>
718 <entry>
719 <title>first a</title>
720 <id>http://*:$HGPORT/#changeset-5ed941583260248620985524192fdc382ef57c36</id> (glob)
721 <link href="http://*:$HGPORT/rev/5ed941583260"/> (glob)
722 <author>
723 <name>test</name>
724 <email>&#116;&#101;&#115;&#116;</email>
725 </author>
726 <updated>1970-01-01T00:00:00+00:00</updated>
727 <published>1970-01-01T00:00:00+00:00</published>
728 <content type="xhtml">
729 <div xmlns="http://www.w3.org/1999/xhtml">
730 <pre xml:space="preserve">first a</pre>
731 </div>
732 </content>
733 </entry>
734
735 </feed>
736
659 errors
737 errors
660
738
661 $ cat errors.log
739 $ cat errors.log
General Comments 0
You need to be logged in to leave comments. Login now