tests/test-hgweb.out
author Matt Mackall <mpm@selenic.com>
Wed, 13 Aug 2008 20:18:43 -0500
changeset 6899 56a7a54e074f
parent 6731 eed52e7ab9cc
child 7330 781af9bb9684
permissions -rw-r--r--
store: simplify walking - fold in main walking function - eliminate recursion (especially recursive yielding!) - eliminate default args
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
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    24
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    25
<html>
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    26
<head>
6048
cfb4a51da7d5 Merge with crew-stable
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 6001
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" />
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    29
<link rel="stylesheet" href="/static/style.css" type="text/css" />
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    30
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    31
<title>Mercurial Error</title>
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
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    35
<h2>Mercurial Error</h2>
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    36
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    37
<p>
5837
2580d418e3f0 Issue #880: Simple misspelling ('occured') in web error message.
Jesse Glick <jesse.glick@sun.com>
parents: 5690
diff changeset
    38
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
    39
</p>
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    40
<p>
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    41
Not Found
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    42
</p>
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    43
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    44
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    45
<div class="logo">
6097
9b817c0a82f1 hgweb: Fix stray quote in logo img tag
Matt Mackall <mpm@selenic.com>
parents: 6048
diff changeset
    46
<a href="http://www.selenic.com/mercurial/">
9b817c0a82f1 hgweb: Fix stray quote in logo img tag
Matt Mackall <mpm@selenic.com>
parents: 6048
diff changeset
    47
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    48
</div>
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    49
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    50
</body>
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    51
</html>
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    52
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    53
% 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
    54
404 Not Found
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    55
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    56
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    57
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
    58
% 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
    59
400
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    60
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    61
6368
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    62
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
    63
% 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
    64
404 Not Found
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    65
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
    66
6368
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    67
error: bork@2ef0ac749a14: not found in manifest
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    68
404 Not Found
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    69
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    70
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    71
<html>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    72
<head>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    73
<link rel="icon" href="/static/hgicon.png" type="image/png">
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    74
<meta name="robots" content="index, nofollow" />
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    75
<link rel="stylesheet" href="/static/style.css" type="text/css" />
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    76
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    77
<title>Mercurial Error</title>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    78
</head>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    79
<body>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    80
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    81
<h2>Mercurial Error</h2>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    82
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    83
<p>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    84
An error occurred while processing your request:
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    85
</p>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    86
<p>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    87
bork@2ef0ac749a14: not found in manifest
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    88
</p>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    89
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    90
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    91
<div class="logo">
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    92
<a href="http://www.selenic.com/mercurial/">
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    93
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    94
</div>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    95
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    96
</body>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    97
</html>
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    98
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
    99
404 Not Found
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   100
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   101
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   102
error: bork@2ef0ac749a14: not found in manifest
5690
1b365c5723bc server: append to logfiles
Mirko Friedenhagen <mirko-lists@friedenhagen.de>
parents: 5681
diff changeset
   103
% stop and restart
6368
2c370f08c486 hgweb: better error messages
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6252
diff changeset
   104
9 log lines written
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   105
% static file
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   106
200 Script output follows
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   107
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   108
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
   109
a { color:#0000cc; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   110
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
   111
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
   112
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
   113
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
   114
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
   115
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
   116
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
   117
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
   118
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
   119
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
   120
div.title, a.title {
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   121
	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
   122
	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
   123
}
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   124
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
   125
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
   126
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
   127
.age { white-space:nowrap; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   128
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
   129
div.log_link {
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   130
	padding:0px 8px;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   131
	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
   132
	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
   133
}
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   134
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
   135
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
   136
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
   137
table { padding:8px 4px; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   138
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
   139
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
   140
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
   141
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
   142
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
   143
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
   144
td.indexlinks { white-space: nowrap; }
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   145
td.indexlinks a {
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   146
  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
   147
  border: 1px solid;
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   148
  color: #ffffff; background-color: #7777bb;
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   149
  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
   150
  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
   151
  font-size: 10px;
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   152
}
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   153
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
   154
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
   155
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
   156
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
   157
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
   158
.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
   159
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
   160
div.rss_logo a {
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   161
	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
   162
	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
   163
	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
   164
	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
   165
	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
   166
}
6219
d43c94414ba1 hgweb: fix test results missed by 6218:345a23eca8f6
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 6097
diff changeset
   167
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
   168
pre { margin: 0; }
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   169
span.logtags span {
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   170
	padding: 0px 4px;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   171
	font-size: 10px;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   172
	font-weight: normal;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   173
	border: 1px solid;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   174
	background-color: #ffaaff;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   175
	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
   176
}
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   177
span.logtags span.tagtag {
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   178
	background-color: #ffffaa;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   179
	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
   180
}
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   181
span.logtags span.branchtag {
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   182
	background-color: #aaffaa;
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 3942
diff changeset
   183
	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
   184
}
6252
f21f6de16d41 update output of test-hgweb
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 6219
diff changeset
   185
span.logtags span.inbranchtag {
f21f6de16d41 update output of test-hgweb
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 6219
diff changeset
   186
	background-color: #d5dde6;
f21f6de16d41 update output of test-hgweb
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 6219
diff changeset
   187
	border-color: #e3ecf4 #9398f4 #9398f4 #e3ecf4;
f21f6de16d41 update output of test-hgweb
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 6219
diff changeset
   188
}
6695
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   189
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   190
/* Graph */
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   191
div#wrapper {
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   192
	position: relative;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   193
	margin: 0;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   194
	padding: 0;
6731
eed52e7ab9cc fix dumb test failure introduced in 855851eae70f
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6695
diff changeset
   195
	margin-top: 3px;
6695
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   196
}
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   197
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   198
canvas {
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   199
	position: absolute;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   200
	z-index: 5;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   201
	top: -0.9em;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   202
	margin: 0;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   203
}
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   204
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   205
ul#nodebgs {
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   206
	list-style: none inside none;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   207
	padding: 0;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   208
	margin: 0;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   209
	top: -0.7em;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   210
}
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   211
 
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   212
ul#graphnodes li, ul#nodebgs li {
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   213
	height: 39px;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   214
}
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   215
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   216
ul#graphnodes {
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   217
	position: absolute;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   218
	z-index: 10;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   219
	top: -0.8em;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   220
	list-style: none inside none;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   221
	padding: 0;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   222
}
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   223
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   224
ul#graphnodes li .info {
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   225
	display: block;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   226
	font-size: 100%;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   227
	position: relative;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   228
	top: -3px;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   229
	font-style: italic;
001647a33ff8 tests: fix test breakage from graph template changes
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6368
diff changeset
   230
}
5924
b8009718a211 better error reporting for hg serve errors in tests
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5837
diff changeset
   231
% errors