tests/test-hgweb.out
author Sune Foldager <cryo@cyanite.org>
Thu, 15 Apr 2010 21:59:21 +0200
branchstable
changeset 10925 a101a743c570
parent 9842 d3dbdca92458
child 12183 f64b416b0ac8
child 12359 55dc918c21d5
permissions -rw-r--r--
prepush: rewrite most of the code from scratch For servers with branchmap support, the algorithm now works as follows: 1. A list of branches in outgoing changesets is created. 2. Using the remote branchmap, a check for new branches is performed. 3. A map (from branch to head list) of locally known remote heads before the push is created, and one which, after step 4, will contain the locally known remote heads after the push. 4. The post-push head map is updated with the outgoing changesets, using the branch cache update mechanism. 5. A check for new heads is performed, by comparing the length of the head list before and after push, for each branch. If there are new heads, an error depending on whether or not there are incoming changes on the branch, is returned. 6. If the push is allowed, a warning is written if there are incoming changes on any branches involved in the push. For old servers, an algorithm similar to step 4-6 above is used to check for new topological heads only. Two bugs are also fixed: 1. Sometimes you would be allowed to push new branch heads without --force. A test for this case was added. 2. You would get the "note: unsynced remote changes!" warning if there were any incoming changesets, even if they were on unrelated branches.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3942
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     1
adding da/foo
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     2
adding foo
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     3
% manifest
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     4
200 Script output follows
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     5
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     6
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     7
drwxr-xr-x da
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     8
-rw-r--r-- 4 foo
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
     9
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    10
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    11
200 Script output follows
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    12
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    13
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    14
-rw-r--r-- 4 foo
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    15
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    16
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    17
% plain file
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    18
200 Script output follows
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    19
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    20
foo
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    21
% should give a 404 - static file that does not exist
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    22
404 Not Found
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    23
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7412
diff changeset
    24
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7412
diff changeset
    25
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    26
<head>
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7412
diff changeset
    27
<link rel="icon" href="/static/hgicon.png" type="image/png" />
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    28
<meta name="robots" content="index, nofollow" />
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    29
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    30
7341
6cb522c5d56a tests: fix test-hgweb to not leak directory name
Matt Mackall <mpm@selenic.com>
parents: 7339
diff changeset
    31
<title>test: error</title>
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    32
</head>
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    33
<body>
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    34
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    35
<div class="container">
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    36
<div class="menu">
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    37
<div class="logo">
8936
1de6e7e1bb9f change wiki/bts URLs to point to new hostname
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8353
diff changeset
    38
<a href="http://mercurial.selenic.com/">
7909
179fac5c10d8 coal/paper: Turn <img> into <img/> where missing
Rocco Rutte <pdmef@gmx.net>
parents: 7725
diff changeset
    39
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    40
</div>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    41
<ul>
7412
ebbfacb2eea5 coal/paper: link to shortlog instead of log from error pages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7347
diff changeset
    42
<li><a href="/shortlog">log</a></li>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    43
<li><a href="/graph">graph</a></li>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    44
<li><a href="/tags">tags</a></li>
8353
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents: 7909
diff changeset
    45
<li><a href="/branches">branches</a></li>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    46
</ul>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    47
</div>
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    48
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    49
<div class="main">
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    50
7341
6cb522c5d56a tests: fix test-hgweb to not leak directory name
Matt Mackall <mpm@selenic.com>
parents: 7339
diff changeset
    51
<h2><a href="/">test</a></h2>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    52
<h3>error</h3>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    53
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    54
<form class="search" action="/log">
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    55
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    56
<p><input name="rev" id="search1" type="text" size="30"></p>
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7412
diff changeset
    57
<div id="hint">find changesets by author, revision,
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7412
diff changeset
    58
files, or words in the commit message</div>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    59
</form>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    60
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    61
<div class="description">
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    62
<p>
5837
2580d418e3f0 Issue #880: Simple misspelling ('occured') in web error message.
Jesse Glick <jesse.glick@sun.com>
parents: 5690
diff changeset
    63
An error occurred while processing your request:
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    64
</p>
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    65
<p>
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    66
Not Found
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    67
</p>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    68
</div>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    69
</div>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    70
</div>
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    71
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    72
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    73
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    74
</body>
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    75
</html>
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    76
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    77
% should give a 404 - bad revision
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    78
404 Not Found
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    79
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    80
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    81
error: revision not found: spam
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    82
% should give a 400 - bad command
5564
b4af2dd9868a hgweb: account for Python 2.4 in one test
Bryan O'Sullivan <bos@serpentine.com>
parents: 5561
diff changeset
    83
400
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    84
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    85
6368
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    86
error: no such method: spam
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    87
% should give a 404 - file does not exist
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    88
404 Not Found
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    89
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    90
6368
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    91
error: bork@2ef0ac749a14: not found in manifest
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    92
404 Not Found
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    93
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7412
diff changeset
    94
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7412
diff changeset
    95
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
6368
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    96
<head>
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7412
diff changeset
    97
<link rel="icon" href="/static/hgicon.png" type="image/png" />
6368
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    98
<meta name="robots" content="index, nofollow" />
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
    99
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
6368
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   100
7341
6cb522c5d56a tests: fix test-hgweb to not leak directory name
Matt Mackall <mpm@selenic.com>
parents: 7339
diff changeset
   101
<title>test: error</title>
6368
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   102
</head>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   103
<body>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   104
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   105
<div class="container">
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   106
<div class="menu">
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   107
<div class="logo">
8936
1de6e7e1bb9f change wiki/bts URLs to point to new hostname
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8353
diff changeset
   108
<a href="http://mercurial.selenic.com/">
7909
179fac5c10d8 coal/paper: Turn <img> into <img/> where missing
Rocco Rutte <pdmef@gmx.net>
parents: 7725
diff changeset
   109
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   110
</div>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   111
<ul>
7412
ebbfacb2eea5 coal/paper: link to shortlog instead of log from error pages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7347
diff changeset
   112
<li><a href="/shortlog">log</a></li>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   113
<li><a href="/graph">graph</a></li>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   114
<li><a href="/tags">tags</a></li>
8353
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents: 7909
diff changeset
   115
<li><a href="/branches">branches</a></li>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   116
</ul>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   117
</div>
6368
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   118
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   119
<div class="main">
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   120
7341
6cb522c5d56a tests: fix test-hgweb to not leak directory name
Matt Mackall <mpm@selenic.com>
parents: 7339
diff changeset
   121
<h2><a href="/">test</a></h2>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   122
<h3>error</h3>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   123
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   124
<form class="search" action="/log">
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   125
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   126
<p><input name="rev" id="search1" type="text" size="30"></p>
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7412
diff changeset
   127
<div id="hint">find changesets by author, revision,
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7412
diff changeset
   128
files, or words in the commit message</div>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   129
</form>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   130
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   131
<div class="description">
6368
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   132
<p>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   133
An error occurred while processing your request:
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   134
</p>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   135
<p>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   136
bork@2ef0ac749a14: not found in manifest
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   137
</p>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   138
</div>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   139
</div>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7330
diff changeset
   140
</div>
6368
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   141
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   142
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   143
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   144
</body>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   145
</html>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   146
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   147
404 Not Found
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   148
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   149
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   150
error: bork@2ef0ac749a14: not found in manifest
9842
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   151
% try bad style
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   152
200 Script output follows
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   153
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   154
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   155
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   156
<head>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   157
<link rel="icon" href="/static/hgicon.png" type="image/png" />
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   158
<meta name="robots" content="index, nofollow" />
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   159
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   160
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   161
<title>test: 2ef0ac749a14 /</title>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   162
</head>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   163
<body>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   164
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   165
<div class="container">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   166
<div class="menu">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   167
<div class="logo">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   168
<a href="http://mercurial.selenic.com/">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   169
<img src="/static/hglogo.png" alt="mercurial" /></a>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   170
</div>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   171
<ul>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   172
<li><a href="/shortlog/2ef0ac749a14">log</a></li>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   173
<li><a href="/graph/2ef0ac749a14">graph</a></li>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   174
<li><a href="/tags">tags</a></li>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   175
<li><a href="/branches">branches</a></li>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   176
</ul>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   177
<ul>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   178
<li><a href="/rev/2ef0ac749a14">changeset</a></li>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   179
<li class="active">browse</li>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   180
</ul>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   181
<ul>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   182
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   183
</ul>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   184
</div>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   185
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   186
<div class="main">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   187
<h2><a href="/">test</a></h2>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   188
<h3>directory / @ 0:2ef0ac749a14 <span class="tag">tip</span> </h3>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   189
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   190
<form class="search" action="/log">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   191
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   192
<p><input name="rev" id="search1" type="text" size="30" /></p>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   193
<div id="hint">find changesets by author, revision,
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   194
files, or words in the commit message</div>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   195
</form>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   196
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   197
<table class="bigtable">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   198
<tr>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   199
  <th class="name">name</th>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   200
  <th class="size">size</th>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   201
  <th class="permissions">permissions</th>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   202
</tr>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   203
<tr class="fileline parity0">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   204
  <td class="name"><a href="/file/2ef0ac749a14/">[up]</a></td>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   205
  <td class="size"></td>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   206
  <td class="permissions">drwxr-xr-x</td>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   207
</tr>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   208
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   209
<tr class="fileline parity1">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   210
<td class="name">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   211
<a href="/file/2ef0ac749a14/da">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   212
<img src="/static/coal-folder.png" alt="dir."/> da/
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   213
</a>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   214
<a href="/file/2ef0ac749a14/da/">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   215
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   216
</a>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   217
</td>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   218
<td class="size"></td>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   219
<td class="permissions">drwxr-xr-x</td>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   220
</tr>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   221
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   222
<tr class="fileline parity0">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   223
<td class="filename">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   224
<a href="/file/2ef0ac749a14/foo">
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   225
<img src="/static/coal-file.png" alt="file"/> foo
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   226
</a>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   227
</td>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   228
<td class="size">4</td>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   229
<td class="permissions">-rw-r--r--</td>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   230
</tr>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   231
</table>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   232
</div>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   233
</div>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   234
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   235
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   236
</body>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   237
</html>
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   238
5690
1b365c5723bc server: append to logfiles
Mirko Friedenhagen <mirko-lists@friedenhagen.de>
parents: 5681
diff changeset
   239
% stop and restart
9842
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8936
diff changeset
   240
10 log lines written
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   241
% static file
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   242
200 Script output follows
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   243
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   244
body { font-family: sans-serif; font-size: 12px; margin:0px; border:solid #d9d8d1; border-width:1px; margin:10px; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   245
a { color:#0000cc; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   246
a:hover, a:visited, a:active { color:#880000; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   247
div.page_header { height:25px; padding:8px; font-size:18px; font-weight:bold; background-color:#d9d8d1; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   248
div.page_header a:visited { color:#0000cc; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   249
div.page_header a:hover { color:#880000; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   250
div.page_nav { padding:8px; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   251
div.page_nav a:visited { color:#0000cc; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   252
div.page_path { padding:8px; border:solid #d9d8d1; border-width:0px 0px 1px}
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   253
div.page_footer { padding:4px 8px; background-color: #d9d8d1; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   254
div.page_footer_text { float:left; color:#555555; font-style:italic; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   255
div.page_body { padding:8px; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   256
div.title, a.title {
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   257
	display:block; padding:6px 8px;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   258
	font-weight:bold; background-color:#edece6; text-decoration:none; color:#000000;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   259
}
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   260
a.title:hover { background-color: #d9d8d1; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   261
div.title_text { padding:6px 0px; border: solid #d9d8d1; border-width:0px 0px 1px; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   262
div.log_body { padding:8px 8px 8px 150px; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   263
.age { white-space:nowrap; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   264
span.age { position:relative; float:left; width:142px; font-style:italic; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   265
div.log_link {
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   266
	padding:0px 8px;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   267
	font-size:10px; font-family:sans-serif; font-style:normal;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   268
	position:relative; float:left; width:136px;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   269
}
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   270
div.list_head { padding:6px 8px 4px; border:solid #d9d8d1; border-width:1px 0px 0px; font-style:italic; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   271
a.list { text-decoration:none; color:#000000; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   272
a.list:hover { text-decoration:underline; color:#880000; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   273
table { padding:8px 4px; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   274
th { padding:2px 5px; font-size:12px; text-align:left; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   275
tr.light:hover, .parity0:hover { background-color:#edece6; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   276
tr.dark, .parity1 { background-color:#f6f6f0; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   277
tr.dark:hover, .parity1:hover { background-color:#edece6; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   278
td { padding:2px 5px; font-size:12px; vertical-align:top; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   279
td.link { padding:2px 5px; font-family:sans-serif; font-size:10px; }
6219
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   280
td.indexlinks { white-space: nowrap; }
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   281
td.indexlinks a {
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   282
  padding: 2px 5px; line-height: 10px;
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   283
  border: 1px solid;
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   284
  color: #ffffff; background-color: #7777bb;
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   285
  border-color: #aaaadd #333366 #333366 #aaaadd;
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   286
  font-weight: bold;  text-align: center; text-decoration: none;
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   287
  font-size: 10px;
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   288
}
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   289
td.indexlinks a:hover { background-color: #6666aa; }
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   290
div.pre { font-family:monospace; font-size:12px; white-space:pre; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   291
div.diff_info { font-family:monospace; color:#000099; background-color:#edece6; font-style:italic; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   292
div.index_include { border:solid #d9d8d1; border-width:0px 0px 1px; padding:12px 8px; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   293
div.search { margin:4px 8px; position:absolute; top:56px; right:12px }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   294
.linenr { color:#999999; text-decoration:none }
6219
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   295
div.rss_logo { float: right; white-space: nowrap; }
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   296
div.rss_logo a {
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   297
	padding:3px 6px; line-height:10px;
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   298
	border:1px solid; border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   299
	color:#ffffff; background-color:#ff6600;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   300
	font-weight:bold; font-family:sans-serif; font-size:10px;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   301
	text-align:center; text-decoration:none;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   302
}
6219
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   303
div.rss_logo a:hover { background-color:#ee5500; }
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   304
pre { margin: 0; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   305
span.logtags span {
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   306
	padding: 0px 4px;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   307
	font-size: 10px;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   308
	font-weight: normal;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   309
	border: 1px solid;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   310
	background-color: #ffaaff;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   311
	border-color: #ffccff #ff00ee #ff00ee #ffccff;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   312
}
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   313
span.logtags span.tagtag {
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   314
	background-color: #ffffaa;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   315
	border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   316
}
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   317
span.logtags span.branchtag {
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   318
	background-color: #aaffaa;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   319
	border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   320
}
6252
f21f6de16d41 update output of test-hgweb
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 6219
diff changeset
   321
span.logtags span.inbranchtag {
f21f6de16d41 update output of test-hgweb
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 6219
diff changeset
   322
	background-color: #d5dde6;
f21f6de16d41 update output of test-hgweb
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 6219
diff changeset
   323
	border-color: #e3ecf4 #9398f4 #9398f4 #e3ecf4;
f21f6de16d41 update output of test-hgweb
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 6219
diff changeset
   324
}
6695
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   325
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   326
/* Graph */
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   327
div#wrapper {
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   328
	position: relative;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   329
	margin: 0;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   330
	padding: 0;
6731
eed52e7ab9cc fix dumb test failure introduced in 855851eae70f
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6695
diff changeset
   331
	margin-top: 3px;
6695
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   332
}
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   333
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   334
canvas {
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   335
	position: absolute;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   336
	z-index: 5;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   337
	top: -0.9em;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   338
	margin: 0;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   339
}
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   340
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   341
ul#nodebgs {
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   342
	list-style: none inside none;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   343
	padding: 0;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   344
	margin: 0;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   345
	top: -0.7em;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   346
}
7330
781af9bb9684 Fix test output for updated gitdiffs help and web template cleanups
Thomas Arendsen Hein <thomas@intevation.de>
parents: 6731
diff changeset
   347
6695
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   348
ul#graphnodes li, ul#nodebgs li {
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   349
	height: 39px;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   350
}
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   351
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   352
ul#graphnodes {
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   353
	position: absolute;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   354
	z-index: 10;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   355
	top: -0.8em;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   356
	list-style: none inside none;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   357
	padding: 0;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   358
}
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   359
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   360
ul#graphnodes li .info {
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   361
	display: block;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   362
	font-size: 100%;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   363
	position: relative;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   364
	top: -3px;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   365
	font-style: italic;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   366
}
5924
b8009718a211 better error reporting for hg serve errors in tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5837
diff changeset
   367
% errors