annotate tests/test-hgweb.t @ 20954:dba91f8060eb

bundle2: add an exchange.getbundle function This function can return a `HG10` or `HG20` bundle. It uses the `bundlecaps` parameters to decides which one to return. This is a distinct function from `changegroup.getbundle` for two reasons. First the APIs of `bundle10` and `bundle20` are not compatible yet. The two functions may be reunited in the future. Second `exchange.getbundle` will grow parameters for all kinds of data (phases, obsmarkers, ...) so it's better to keep the changegroup generation in its own function for now. This function will be used it in the next changesets.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 04 Apr 2014 01:51:54 -0700
parents b786754ba604
children 7a9cbb315d84 6e1fbcb18a75
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15446
c5c9ca3719f9 tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents: 14046
diff changeset
1 $ "$TESTDIR/hghave" serve || exit 80
c5c9ca3719f9 tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents: 14046
diff changeset
2
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
3 Some tests for hgweb. Tests static files, plain files and different 404's.
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
4
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
5 $ hg init test
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
6 $ cd test
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
7 $ mkdir da
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
8 $ echo foo > da/foo
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
9 $ echo foo > foo
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
10 $ hg ci -Ambase
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
11 adding da/foo
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
12 adding foo
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
13 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
14 $ cat hg.pid >> $DAEMON_PIDS
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
15
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
16 manifest
3942
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
17
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
18 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'file/tip/?style=raw')
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
19 200 Script output follows
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
20
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
21
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
22 drwxr-xr-x da
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
23 -rw-r--r-- 4 foo
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
24
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
25
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
26 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'file/tip/da?style=raw')
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
27 200 Script output follows
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
28
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
29
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
30 -rw-r--r-- 4 foo
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
31
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
32
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
33
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
34 plain file
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
35
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
36 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'file/tip/foo?style=raw'
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
37 200 Script output follows
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
38
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
39 foo
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
40
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
41 should give a 404 - static file that does not exist
9842
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8167
diff changeset
42
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
43 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'static/bogus'
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
44 404 Not Found
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
45
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
46 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
47 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
48 <head>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
49 <link rel="icon" href="/static/hgicon.png" type="image/png" />
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
50 <meta name="robots" content="index, nofollow" />
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
51 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13863
diff changeset
52 <script type="text/javascript" src="/static/mercurial.js"></script>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
53
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
54 <title>test: error</title>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
55 </head>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
56 <body>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
57
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
58 <div class="container">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
59 <div class="menu">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
60 <div class="logo">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
61 <a href="http://mercurial.selenic.com/">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
62 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
63 </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
64 <ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
65 <li><a href="/shortlog">log</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
66 <li><a href="/graph">graph</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
67 <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 12846
diff changeset
68 <li><a href="/bookmarks">bookmarks</a></li>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
69 <li><a href="/branches">branches</a></li>
17290
7a9246abf9fe hgweb: make paper:error consistent with template
Ross Lagerwall <rosslagerwall@gmail.com>
parents: 17243
diff changeset
70 </ul>
7a9246abf9fe hgweb: make paper:error consistent with template
Ross Lagerwall <rosslagerwall@gmail.com>
parents: 17243
diff changeset
71 <ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
72 <li><a href="/help">help</a></li>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
73 </ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
74 </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
75
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
76 <div class="main">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
77
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 17466
diff changeset
78 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
79 <h3>error</h3>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
80
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
81 <form class="search" action="/log">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
82
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
83 <p><input name="rev" id="search1" type="text" size="30"></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
84 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
85 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
86 </form>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
87
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
88 <div class="description">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
89 <p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
90 An error occurred while processing your request:
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
91 </p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
92 <p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
93 Not Found
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
94 </p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
95 </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
96 </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
97 </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
98
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13863
diff changeset
99 <script type="text/javascript">process_dates()</script>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
100
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
101
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
102 </body>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
103 </html>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
104
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
105 [1]
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
106
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
107 should give a 404 - bad revision
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
108
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
109 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'file/spam/foo?style=raw'
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
110 404 Not Found
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
111
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
112
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
113 error: revision not found: spam
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
114 [1]
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
115
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
116 should give a 400 - bad command
9842
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8167
diff changeset
117
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
118 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'file/tip/foo?cmd=spam&style=raw'
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
119 400* (glob)
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
120
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
121
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
122 error: no such method: spam
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
123 [1]
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
124
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
125 should give a 404 - file does not exist
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 5384
diff changeset
126
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
127 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'file/tip/bork?style=raw'
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
128 404 Not Found
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
129
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
130
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
131 error: bork@2ef0ac749a14: not found in manifest
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
132 [1]
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
133 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'file/tip/bork'
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
134 404 Not Found
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
135
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
136 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
137 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
138 <head>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
139 <link rel="icon" href="/static/hgicon.png" type="image/png" />
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
140 <meta name="robots" content="index, nofollow" />
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
141 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13863
diff changeset
142 <script type="text/javascript" src="/static/mercurial.js"></script>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
143
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
144 <title>test: error</title>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
145 </head>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
146 <body>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
147
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
148 <div class="container">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
149 <div class="menu">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
150 <div class="logo">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
151 <a href="http://mercurial.selenic.com/">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
152 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
153 </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
154 <ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
155 <li><a href="/shortlog">log</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
156 <li><a href="/graph">graph</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
157 <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 12846
diff changeset
158 <li><a href="/bookmarks">bookmarks</a></li>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
159 <li><a href="/branches">branches</a></li>
17290
7a9246abf9fe hgweb: make paper:error consistent with template
Ross Lagerwall <rosslagerwall@gmail.com>
parents: 17243
diff changeset
160 </ul>
7a9246abf9fe hgweb: make paper:error consistent with template
Ross Lagerwall <rosslagerwall@gmail.com>
parents: 17243
diff changeset
161 <ul>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
162 <li><a href="/help">help</a></li>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
163 </ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
164 </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
165
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
166 <div class="main">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
167
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 17466
diff changeset
168 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
169 <h3>error</h3>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
170
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
171 <form class="search" action="/log">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
172
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
173 <p><input name="rev" id="search1" type="text" size="30"></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
174 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
175 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
176 </form>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
177
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
178 <div class="description">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
179 <p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
180 An error occurred while processing your request:
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
181 </p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
182 <p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
183 bork@2ef0ac749a14: not found in manifest
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
184 </p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
185 </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
186 </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
187 </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
188
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13863
diff changeset
189 <script type="text/javascript">process_dates()</script>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
190
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
191
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
192 </body>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
193 </html>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
194
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
195 [1]
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
196 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'diff/tip/bork?style=raw'
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
197 404 Not Found
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
198
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
199
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
200 error: bork@2ef0ac749a14: not found in manifest
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
201 [1]
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 5384
diff changeset
202
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
203 try bad style
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 5384
diff changeset
204
17017
953faba28e91 tests: prepare get-with-headers.py for MSYS
Mads Kiilerich <mads@kiilerich.com>
parents: 16913
diff changeset
205 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'file/tip/?style=foobar')
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
206 200 Script output follows
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
207
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
208 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
209 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
210 <head>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
211 <link rel="icon" href="/static/hgicon.png" type="image/png" />
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
212 <meta name="robots" content="index, nofollow" />
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
213 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13863
diff changeset
214 <script type="text/javascript" src="/static/mercurial.js"></script>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
215
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
216 <title>test: 2ef0ac749a14 /</title>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
217 </head>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
218 <body>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
219
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
220 <div class="container">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
221 <div class="menu">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
222 <div class="logo">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
223 <a href="http://mercurial.selenic.com/">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
224 <img src="/static/hglogo.png" alt="mercurial" /></a>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
225 </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
226 <ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
227 <li><a href="/shortlog/2ef0ac749a14">log</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
228 <li><a href="/graph/2ef0ac749a14">graph</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
229 <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 12846
diff changeset
230 <li><a href="/bookmarks">bookmarks</a></li>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
231 <li><a href="/branches">branches</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
232 </ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
233 <ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
234 <li><a href="/rev/2ef0ac749a14">changeset</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
235 <li class="active">browse</li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
236 </ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
237 <ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
238
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
239 </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12432
diff changeset
240 <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12432
diff changeset
241 <li><a href="/help">help</a></li>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12432
diff changeset
242 </ul>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
243 </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
244
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
245 <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 17466
diff changeset
246 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
247 <h3>directory / @ 0:2ef0ac749a14 <span class="tag">tip</span> </h3>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
248
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
249 <form class="search" action="/log">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
250
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
251 <p><input name="rev" id="search1" type="text" size="30" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
252 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
253 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
254 </form>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
255
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
256 <table class="bigtable">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
257 <tr>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
258 <th class="name">name</th>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
259 <th class="size">size</th>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
260 <th class="permissions">permissions</th>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
261 </tr>
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19076
diff changeset
262 <tbody class="stripes2">
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19076
diff changeset
263 <tr class="fileline">
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
264 <td class="name"><a href="/file/2ef0ac749a14/">[up]</a></td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
265 <td class="size"></td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
266 <td class="permissions">drwxr-xr-x</td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
267 </tr>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
268
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19076
diff changeset
269 <tr class="fileline">
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
270 <td class="name">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
271 <a href="/file/2ef0ac749a14/da">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
272 <img src="/static/coal-folder.png" alt="dir."/> da/
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
273 </a>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
274 <a href="/file/2ef0ac749a14/da/">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
275
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
276 </a>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
277 </td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
278 <td class="size"></td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
279 <td class="permissions">drwxr-xr-x</td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
280 </tr>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
281
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19076
diff changeset
282 <tr class="fileline">
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
283 <td class="filename">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
284 <a href="/file/2ef0ac749a14/foo">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
285 <img src="/static/coal-file.png" alt="file"/> foo
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
286 </a>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
287 </td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
288 <td class="size">4</td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
289 <td class="permissions">-rw-r--r--</td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
290 </tr>
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19076
diff changeset
291 </tbody>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
292 </table>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
293 </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
294 </div>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13863
diff changeset
295 <script type="text/javascript">process_dates()</script>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
296
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
297
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
298 </body>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
299 </html>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
300
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 5384
diff changeset
301
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
302 stop and restart
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
303
17466
d5a3bda6e170 killdaemons: take file argument explicitely
Patrick Mezard <patrick@mezard.eu>
parents: 17290
diff changeset
304 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
305 $ hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
306 $ cat hg.pid >> $DAEMON_PIDS
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 5384
diff changeset
307
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
308 Test the access/error files are opened in append mode
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
309
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
310 $ python -c "print len(file('access.log').readlines()), 'log lines written'"
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
311 10 log lines written
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
312
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
313 static file
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 5384
diff changeset
314
18380
a4d7fd7ad1f7 serve: don't send any content headers with 304 responses
Mads Kiilerich <madski@unity3d.com>
parents: 18264
diff changeset
315 $ "$TESTDIR/get-with-headers.py" --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
316 200 Script output follows
20256
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
317 content-length: 5262
18380
a4d7fd7ad1f7 serve: don't send any content headers with 304 responses
Mads Kiilerich <madski@unity3d.com>
parents: 18264
diff changeset
318 content-type: text/css
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
319
19076
93493746c89a css: remove repeated property
Alexander Plavin <me@aplavin.ru>
parents: 18380
diff changeset
320 body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; }
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
321 a { color:#0000cc; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
322 a:hover, a:visited, a:active { color:#880000; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
323 div.page_header { height:25px; padding:8px; font-size:18px; font-weight:bold; background-color:#d9d8d1; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
324 div.page_header a:visited { color:#0000cc; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
325 div.page_header a:hover { color:#880000; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
326 div.page_nav { padding:8px; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
327 div.page_nav a:visited { color:#0000cc; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
328 div.page_path { padding:8px; border:solid #d9d8d1; border-width:0px 0px 1px}
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
329 div.page_footer { padding:4px 8px; background-color: #d9d8d1; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
330 div.page_footer_text { float:left; color:#555555; font-style:italic; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
331 div.page_body { padding:8px; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
332 div.title, a.title {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
333 display:block; padding:6px 8px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
334 font-weight:bold; background-color:#edece6; text-decoration:none; color:#000000;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
335 }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
336 a.title:hover { background-color: #d9d8d1; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
337 div.title_text { padding:6px 0px; border: solid #d9d8d1; border-width:0px 0px 1px; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
338 div.log_body { padding:8px 8px 8px 150px; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
339 .age { white-space:nowrap; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
340 span.age { position:relative; float:left; width:142px; font-style:italic; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
341 div.log_link {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
342 padding:0px 8px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
343 font-size:10px; font-family:sans-serif; font-style:normal;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
344 position:relative; float:left; width:136px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
345 }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
346 div.list_head { padding:6px 8px 4px; border:solid #d9d8d1; border-width:1px 0px 0px; font-style:italic; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
347 a.list { text-decoration:none; color:#000000; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
348 a.list:hover { text-decoration:underline; color:#880000; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
349 table { padding:8px 4px; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
350 th { padding:2px 5px; font-size:12px; text-align:left; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
351 tr.light:hover, .parity0:hover { background-color:#edece6; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
352 tr.dark, .parity1 { background-color:#f6f6f0; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
353 tr.dark:hover, .parity1:hover { background-color:#edece6; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
354 td { padding:2px 5px; font-size:12px; vertical-align:top; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
355 td.closed { background-color: #99f; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
356 td.link { padding:2px 5px; font-family:sans-serif; font-size:10px; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
357 td.indexlinks { white-space: nowrap; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
358 td.indexlinks a {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
359 padding: 2px 5px; line-height: 10px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
360 border: 1px solid;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
361 color: #ffffff; background-color: #7777bb;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
362 border-color: #aaaadd #333366 #333366 #aaaadd;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
363 font-weight: bold; text-align: center; text-decoration: none;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
364 font-size: 10px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
365 }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
366 td.indexlinks a:hover { background-color: #6666aa; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
367 div.pre { font-family:monospace; font-size:12px; white-space:pre; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
368 div.diff_info { font-family:monospace; color:#000099; background-color:#edece6; font-style:italic; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
369 div.index_include { border:solid #d9d8d1; border-width:0px 0px 1px; padding:12px 8px; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
370 div.search { margin:4px 8px; position:absolute; top:56px; right:12px }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
371 .linenr { color:#999999; text-decoration:none }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
372 div.rss_logo { float: right; white-space: nowrap; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
373 div.rss_logo a {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
374 padding:3px 6px; line-height:10px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
375 border:1px solid; border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
376 color:#ffffff; background-color:#ff6600;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
377 font-weight:bold; font-family:sans-serif; font-size:10px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
378 text-align:center; text-decoration:none;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
379 }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
380 div.rss_logo a:hover { background-color:#ee5500; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
381 pre { margin: 0; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
382 span.logtags span {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
383 padding: 0px 4px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
384 font-size: 10px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
385 font-weight: normal;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
386 border: 1px solid;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
387 background-color: #ffaaff;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
388 border-color: #ffccff #ff00ee #ff00ee #ffccff;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
389 }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
390 span.logtags span.tagtag {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
391 background-color: #ffffaa;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
392 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
393 }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
394 span.logtags span.branchtag {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
395 background-color: #aaffaa;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
396 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
397 }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
398 span.logtags span.inbranchtag {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
399 background-color: #d5dde6;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
400 border-color: #e3ecf4 #9398f4 #9398f4 #e3ecf4;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
401 }
13863
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13597
diff changeset
402 span.logtags span.bookmarktag {
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13597
diff changeset
403 background-color: #afdffa;
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13597
diff changeset
404 border-color: #ccecff #46ace6 #46ace6 #ccecff;
b602ac02f1ba hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 13597
diff changeset
405 }
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
406
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
407 /* Graph */
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
408 div#wrapper {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
409 position: relative;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
410 margin: 0;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
411 padding: 0;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
412 margin-top: 3px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
413 }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
414
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
415 canvas {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
416 position: absolute;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
417 z-index: 5;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
418 top: -0.9em;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
419 margin: 0;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
420 }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
421
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
422 ul#nodebgs {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
423 list-style: none inside none;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
424 padding: 0;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
425 margin: 0;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
426 top: -0.7em;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
427 }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
428
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
429 ul#graphnodes li, ul#nodebgs li {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
430 height: 39px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
431 }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
433 ul#graphnodes {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
434 position: absolute;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
435 z-index: 10;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
436 top: -0.8em;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
437 list-style: none inside none;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
438 padding: 0;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
439 }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
440
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
441 ul#graphnodes li .info {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
442 display: block;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
443 font-size: 100%;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
444 position: relative;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
445 top: -3px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
446 font-style: italic;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
447 }
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
448
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
449 /* Comparison */
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
450 .legend {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
451 padding: 1.5% 0 1.5% 0;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
452 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
453
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
454 .legendinfo {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
455 border: 1px solid #d9d8d1;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
456 font-size: 80%;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
457 text-align: center;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
458 padding: 0.5%;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
459 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
460
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
461 .equal {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
462 background-color: #ffffff;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
463 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
464
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
465 .delete {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
466 background-color: #faa;
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
467 color: #333;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
468 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
469
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
470 .insert {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
471 background-color: #ffa;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
472 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
473
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
474 .replace {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
475 background-color: #e8e8e8;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
476 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
477
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
478 .comparison {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
479 overflow-x: auto;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
480 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
481
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
482 .header th {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
483 text-align: center;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
484 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
485
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
486 .block {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
487 border-top: 1px solid #d9d8d1;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 17017
diff changeset
488 }
20256
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
489
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
490 .scroll-loading {
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
491 -webkit-animation: change_color 1s linear 0s infinite alternate;
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
492 -moz-animation: change_color 1s linear 0s infinite alternate;
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
493 -o-animation: change_color 1s linear 0s infinite alternate;
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
494 animation: change_color 1s linear 0s infinite alternate;
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
495 }
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
496
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
497 @-webkit-keyframes change_color {
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
498 from { background-color: #A0CEFF; } to { }
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
499 }
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
500 @-moz-keyframes change_color {
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
501 from { background-color: #A0CEFF; } to { }
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
502 }
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
503 @-o-keyframes change_color {
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
504 from { background-color: #A0CEFF; } to { }
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
505 }
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
506 @keyframes change_color {
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
507 from { background-color: #A0CEFF; } to { }
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
508 }
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
509
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
510 .scroll-loading-error {
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
511 background-color: #FFCCCC !important;
b786754ba604 test-hgweb-*: output change fixes from b1d65cb8
Augie Fackler <raf@durin42.com>
parents: 19796
diff changeset
512 }
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
513 304 Not Modified
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
514
9842
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8167
diff changeset
515
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
516 errors
5690
1b365c5723bc server: append to logfiles
Mirko Friedenhagen <mirko-lists@friedenhagen.de>
parents: 5580
diff changeset
517
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
518 $ cat errors.log
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 15446
diff changeset
519
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 15446
diff changeset
520 $ cd ..