tests/test-hgweb.t
author Patrick Mezard <pmezard@gmail.com>
Tue, 15 Feb 2011 22:25:48 +0100
changeset 13411 d4de90a612f7
parent 12846 4b334f8c941b
child 13597 38c9837b1f75
permissions -rw-r--r--
commit: abort if a subrepo is modified and ui.commitsubrepos=no The default behaviour is to commit subrepositories with uncommitted changes. In my experience this is usually undesirable: - Changes to dependencies are often debugging leftovers - Real changes should generally be applied on the source project directly, tested then committed. This is not always possible, subversion subrepos may include only a small part of the source project, without the tests. Setting ui.commitsubrepos=no will now abort commits containing such modified subrepositories like: $ hg --config ui.commitsubrepos=no ci -m msg abort: uncommitted changes in subrepo sub I ruled out the hook solution because it does not easily take --include/exclude options in account. Also, my main concern is whether this flag could cause problems with extensions. If there are legitimate reasons for callers to override this behaviour (I could not find any), they might either override at ui level, or we could add an argument to localrepo.commit() later. v2: - Renamed ui.commitsubs to ui.commitsubrepos - Mention the configuration entry in hg help subrepos
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
     1
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
     2
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
     3
  $ hg init test
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
     4
  $ cd test
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
     5
  $ mkdir da
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
     6
  $ echo foo > da/foo
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
     7
  $ echo foo > foo
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
     8
  $ hg ci -Ambase
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
     9
  adding da/foo
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    10
  adding foo
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    11
  $ 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
    12
  $ cat hg.pid >> $DAEMON_PIDS
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    13
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    14
manifest
3942
8eccfce0ab5e hgweb: simple tests
Brendan Cully <brendan@kublai.com>
parents:
diff changeset
    15
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    16
  $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/?style=raw')
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    17
  200 Script output follows
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    18
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    19
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    20
  drwxr-xr-x da
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    21
  -rw-r--r-- 4 foo
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    22
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    23
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    24
  $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/da?style=raw')
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    25
  200 Script output follows
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    26
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    27
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    28
  -rw-r--r-- 4 foo
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
  
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
plain file
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
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/foo?style=raw'
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    35
  200 Script output follows
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    36
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    37
  foo
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
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
    40
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    41
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/static/bogus'
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    42
  404 Not Found
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    43
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    44
  <!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
    45
  <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
    46
  <head>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    47
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    48
  <meta name="robots" content="index, nofollow" />
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    49
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    50
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    51
  <title>test: error</title>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    52
  </head>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    53
  <body>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    54
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    55
  <div class="container">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    56
  <div class="menu">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    57
  <div class="logo">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    58
  <a href="http://mercurial.selenic.com/">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    59
  <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
    60
  </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    61
  <ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    62
  <li><a href="/shortlog">log</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    63
  <li><a href="/graph">graph</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    64
  <li><a href="/tags">tags</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    65
  <li><a href="/branches">branches</a></li>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
    66
  <li><a href="/help">help</a></li>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    67
  </ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    68
  </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    69
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    70
  <div class="main">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    71
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    72
  <h2><a href="/">test</a></h2>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    73
  <h3>error</h3>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    74
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    75
  <form class="search" action="/log">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    76
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    77
  <p><input name="rev" id="search1" type="text" size="30"></p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    78
  <div id="hint">find changesets by author, revision,
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    79
  files, or words in the commit message</div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    80
  </form>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    81
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    82
  <div class="description">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    83
  <p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    84
  An error occurred while processing your request:
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    85
  </p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    86
  <p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    87
  Not Found
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    88
  </p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    89
  </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    90
  </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    91
  </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    92
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    93
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    94
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    95
  </body>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    96
  </html>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    97
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    98
  [1]
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
    99
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   100
should give a 404 - bad revision
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
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/spam/foo?style=raw'
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   103
  404 Not Found
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
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   106
  error: revision not found: spam
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   107
  [1]
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   108
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   109
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
   110
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   111
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/foo?cmd=spam&style=raw'
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   112
  400* (glob)
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   113
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   114
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   115
  error: no such method: spam
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   116
  [1]
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   117
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   118
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
   119
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   120
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/bork?style=raw'
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   121
  404 Not Found
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   122
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   123
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   124
  error: bork@2ef0ac749a14: not found in manifest
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   125
  [1]
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   126
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/bork'
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   127
  404 Not Found
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   128
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   129
  <!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
   130
  <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
   131
  <head>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   132
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   133
  <meta name="robots" content="index, nofollow" />
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   134
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
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
  <title>test: error</title>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   137
  </head>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   138
  <body>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   139
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   140
  <div class="container">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   141
  <div class="menu">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   142
  <div class="logo">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   143
  <a href="http://mercurial.selenic.com/">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   144
  <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
   145
  </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   146
  <ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   147
  <li><a href="/shortlog">log</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   148
  <li><a href="/graph">graph</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   149
  <li><a href="/tags">tags</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   150
  <li><a href="/branches">branches</a></li>
12680
d664547ef540 hgweb: add help link to templates missed in ead4e21f49f1
Augie Fackler <durin42@gmail.com>
parents: 12666
diff changeset
   151
  <li><a href="/help">help</a></li>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   152
  </ul>
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
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   155
  <div class="main">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   156
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   157
  <h2><a href="/">test</a></h2>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   158
  <h3>error</h3>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   159
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   160
  <form class="search" action="/log">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   161
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   162
  <p><input name="rev" id="search1" type="text" size="30"></p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   163
  <div id="hint">find changesets by author, revision,
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   164
  files, or words in the commit message</div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   165
  </form>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   166
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   167
  <div class="description">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   168
  <p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   169
  An error occurred while processing your request:
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   170
  </p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   171
  <p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   172
  bork@2ef0ac749a14: not found in manifest
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   173
  </p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   174
  </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   175
  </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   176
  </div>
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
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   179
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   180
  </body>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   181
  </html>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   182
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   183
  [1]
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   184
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/bork?style=raw'
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   185
  404 Not Found
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   186
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   187
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   188
  error: bork@2ef0ac749a14: not found in manifest
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   189
  [1]
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 5384
diff changeset
   190
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   191
try bad style
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 5384
diff changeset
   192
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   193
  $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/?style=foobar')
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   194
  200 Script output follows
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   195
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   196
  <!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
   197
  <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
   198
  <head>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   199
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   200
  <meta name="robots" content="index, nofollow" />
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   201
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   202
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   203
  <title>test: 2ef0ac749a14 /</title>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   204
  </head>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   205
  <body>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   206
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   207
  <div class="container">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   208
  <div class="menu">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   209
  <div class="logo">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   210
  <a href="http://mercurial.selenic.com/">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   211
  <img src="/static/hglogo.png" alt="mercurial" /></a>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   212
  </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   213
  <ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   214
  <li><a href="/shortlog/2ef0ac749a14">log</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   215
  <li><a href="/graph/2ef0ac749a14">graph</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   216
  <li><a href="/tags">tags</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   217
  <li><a href="/branches">branches</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   218
  </ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   219
  <ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   220
  <li><a href="/rev/2ef0ac749a14">changeset</a></li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   221
  <li class="active">browse</li>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   222
  </ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   223
  <ul>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   224
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   225
  </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12432
diff changeset
   226
  <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12432
diff changeset
   227
   <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
   228
  </ul>
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   229
  </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   230
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   231
  <div class="main">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   232
  <h2><a href="/">test</a></h2>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   233
  <h3>directory / @ 0:2ef0ac749a14 <span class="tag">tip</span> </h3>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   234
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   235
  <form class="search" action="/log">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   236
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   237
  <p><input name="rev" id="search1" type="text" size="30" /></p>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   238
  <div id="hint">find changesets by author, revision,
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   239
  files, or words in the commit message</div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   240
  </form>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   241
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   242
  <table class="bigtable">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   243
  <tr>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   244
    <th class="name">name</th>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   245
    <th class="size">size</th>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   246
    <th class="permissions">permissions</th>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   247
  </tr>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   248
  <tr class="fileline parity0">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   249
    <td class="name"><a href="/file/2ef0ac749a14/">[up]</a></td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   250
    <td class="size"></td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   251
    <td class="permissions">drwxr-xr-x</td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   252
  </tr>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   253
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   254
  <tr class="fileline parity1">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   255
  <td class="name">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   256
  <a href="/file/2ef0ac749a14/da">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   257
  <img src="/static/coal-folder.png" alt="dir."/> da/
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   258
  </a>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   259
  <a href="/file/2ef0ac749a14/da/">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   260
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   261
  </a>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   262
  </td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   263
  <td class="size"></td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   264
  <td class="permissions">drwxr-xr-x</td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   265
  </tr>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   266
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   267
  <tr class="fileline parity0">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   268
  <td class="filename">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   269
  <a href="/file/2ef0ac749a14/foo">
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   270
  <img src="/static/coal-file.png" alt="file"/> foo
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   271
  </a>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   272
  </td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   273
  <td class="size">4</td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   274
  <td class="permissions">-rw-r--r--</td>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   275
  </tr>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   276
  </table>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   277
  </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   278
  </div>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   279
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   280
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   281
  </body>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   282
  </html>
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   283
  
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 5384
diff changeset
   284
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   285
stop and restart
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   286
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   287
  $ "$TESTDIR/killdaemons.py"
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   288
  $ 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
   289
  $ 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
   290
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   291
Test the access/error files are opened in append mode
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   292
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   293
  $ 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
   294
  10 log lines written
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   295
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   296
static file
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents: 5384
diff changeset
   297
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   298
  $ "$TESTDIR/get-with-headers.py" --twice localhost:$HGPORT '/static/style-gitweb.css'
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   299
  200 Script output follows
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   300
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   301
  body { font-family: sans-serif; font-size: 12px; margin:0px; border:solid #d9d8d1; border-width:1px; margin:10px; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   302
  a { color:#0000cc; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   303
  a:hover, a:visited, a:active { color:#880000; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   304
  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
   305
  div.page_header a:visited { color:#0000cc; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   306
  div.page_header a:hover { color:#880000; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   307
  div.page_nav { padding:8px; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   308
  div.page_nav a:visited { color:#0000cc; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   309
  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
   310
  div.page_footer { padding:4px 8px; background-color: #d9d8d1; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   311
  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
   312
  div.page_body { padding:8px; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   313
  div.title, a.title {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   314
  	display:block; padding:6px 8px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   315
  	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
   316
  }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   317
  a.title:hover { background-color: #d9d8d1; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   318
  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
   319
  div.log_body { padding:8px 8px 8px 150px; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   320
  .age { white-space:nowrap; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   321
  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
   322
  div.log_link {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   323
  	padding:0px 8px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   324
  	font-size:10px; font-family:sans-serif; font-style:normal;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   325
  	position:relative; float:left; width:136px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   326
  }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   327
  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
   328
  a.list { text-decoration:none; color:#000000; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   329
  a.list:hover { text-decoration:underline; color:#880000; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   330
  table { padding:8px 4px; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   331
  th { padding:2px 5px; font-size:12px; text-align:left; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   332
  tr.light:hover, .parity0:hover { background-color:#edece6; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   333
  tr.dark, .parity1 { background-color:#f6f6f0; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   334
  tr.dark:hover, .parity1:hover { background-color:#edece6; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   335
  td { padding:2px 5px; font-size:12px; vertical-align:top; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   336
  td.closed { background-color: #99f; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   337
  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
   338
  td.indexlinks { white-space: nowrap; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   339
  td.indexlinks a {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   340
    padding: 2px 5px; line-height: 10px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   341
    border: 1px solid;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   342
    color: #ffffff; background-color: #7777bb;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   343
    border-color: #aaaadd #333366 #333366 #aaaadd;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   344
    font-weight: bold;  text-align: center; text-decoration: none;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   345
    font-size: 10px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   346
  }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   347
  td.indexlinks a:hover { background-color: #6666aa; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   348
  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
   349
  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
   350
  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
   351
  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
   352
  .linenr { color:#999999; text-decoration:none }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   353
  div.rss_logo { float: right; white-space: nowrap; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   354
  div.rss_logo a {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   355
  	padding:3px 6px; line-height:10px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   356
  	border:1px solid; border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   357
  	color:#ffffff; background-color:#ff6600;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   358
  	font-weight:bold; font-family:sans-serif; font-size:10px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   359
  	text-align:center; text-decoration:none;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   360
  }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   361
  div.rss_logo a:hover { background-color:#ee5500; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   362
  pre { margin: 0; }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   363
  span.logtags span {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   364
  	padding: 0px 4px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   365
  	font-size: 10px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   366
  	font-weight: normal;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   367
  	border: 1px solid;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   368
  	background-color: #ffaaff;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   369
  	border-color: #ffccff #ff00ee #ff00ee #ffccff;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   370
  }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   371
  span.logtags span.tagtag {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   372
  	background-color: #ffffaa;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   373
  	border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   374
  }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   375
  span.logtags span.branchtag {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   376
  	background-color: #aaffaa;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   377
  	border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   378
  }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   379
  span.logtags span.inbranchtag {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   380
  	background-color: #d5dde6;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   381
  	border-color: #e3ecf4 #9398f4 #9398f4 #e3ecf4;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   382
  }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   383
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   384
  /* Graph */
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   385
  div#wrapper {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   386
  	position: relative;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   387
  	margin: 0;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   388
  	padding: 0;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   389
  	margin-top: 3px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   390
  }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   391
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   392
  canvas {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   393
  	position: absolute;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   394
  	z-index: 5;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   395
  	top: -0.9em;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   396
  	margin: 0;
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
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   399
  ul#nodebgs {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   400
  	list-style: none inside none;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   401
  	padding: 0;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   402
  	margin: 0;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   403
  	top: -0.7em;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   404
  }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   405
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   406
  ul#graphnodes li, ul#nodebgs li {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   407
  	height: 39px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   408
  }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   409
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   410
  ul#graphnodes {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   411
  	position: absolute;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   412
  	z-index: 10;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   413
  	top: -0.8em;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   414
  	list-style: none inside none;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   415
  	padding: 0;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   416
  }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   417
  
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   418
  ul#graphnodes li .info {
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   419
  	display: block;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   420
  	font-size: 100%;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   421
  	position: relative;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   422
  	top: -3px;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   423
  	font-style: italic;
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   424
  }
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   425
  304 Not Modified
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   426
  
9842
d3dbdca92458 hgweb: don't choke when an inexistent style is requested (issue1901)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8167
diff changeset
   427
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   428
errors
5690
1b365c5723bc server: append to logfiles
Mirko Friedenhagen <mirko-lists@friedenhagen.de>
parents: 5580
diff changeset
   429
12432
7f3af5da4e6c tests: unify test-hgweb
Matt Mackall <mpm@selenic.com>
parents: 12182
diff changeset
   430
  $ cat errors.log