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