tests/test-hgweb-descend-empties.out
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
Wed, 18 Nov 2009 12:47:58 +0100
changeset 9881 54b518fc6671
parent 8936 1de6e7e1bb9f
permissions -rw-r--r--
httprepo: suppress the `real URL is...' message in safe, common cases. When the actual and requested URL only differ by trailing slashes, there is no need to warn. As an example, this easily happens when accessing repositories on Bitbucket over HTTP(S). As far as I could tell, there were no existing tests for this behaviour.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7305
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
     1
% Set up the repo
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
     2
adding a1/a2/a3/a4/foo
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
     3
adding b1/b2/b3/b4/foo
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
     4
adding b1/b2/c3/c4/foo
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
     5
adding d1/d2/d3/d4/foo
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
     6
adding d1/d2/foo
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
     7
% manifest with descending
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
     8
200 Script output follows
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
     9
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7347
diff changeset
    10
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7347
diff changeset
    11
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
7305
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
    12
<head>
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7347
diff changeset
    13
<link rel="icon" href="/static/hgicon.png" type="image/png" />
7305
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
    14
<meta name="robots" content="index, nofollow" />
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    15
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
7305
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
    16
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    17
<title>test: 9087c84a0f5d /</title>
7305
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
    18
</head>
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
    19
<body>
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
    20
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    21
<div class="container">
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    22
<div class="menu">
7305
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
    23
<div class="logo">
8936
1de6e7e1bb9f change wiki/bts URLs to point to new hostname
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8372
diff changeset
    24
<a href="http://mercurial.selenic.com/">
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7347
diff changeset
    25
<img src="/static/hglogo.png" alt="mercurial" /></a>
7305
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
    26
</div>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    27
<ul>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    28
<li><a href="/shortlog/9087c84a0f5d">log</a></li>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    29
<li><a href="/graph/9087c84a0f5d">graph</a></li>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    30
<li><a href="/tags">tags</a></li>
8353
6058d291abdf paper/coal: add branches page
Sune Foldager <cryo@cyanite.org>
parents: 7725
diff changeset
    31
<li><a href="/branches">branches</a></li>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    32
</ul>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    33
<ul>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    34
<li><a href="/rev/9087c84a0f5d">changeset</a></li>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    35
<li class="active">browse</li>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    36
</ul>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    37
<ul>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    38
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    39
</ul>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    40
</div>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    41
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    42
<div class="main">
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    43
<h2><a href="/">test</a></h2>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    44
<h3>directory / @ 0:9087c84a0f5d <span class="tag">tip</span> </h3>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    45
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    46
<form class="search" action="/log">
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    47
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7347
diff changeset
    48
<p><input name="rev" id="search1" type="text" size="30" /></p>
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7347
diff changeset
    49
<div id="hint">find changesets by author, revision,
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7347
diff changeset
    50
files, or words in the commit message</div>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    51
</form>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    52
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    53
<table class="bigtable">
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    54
<tr>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    55
  <th class="name">name</th>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    56
  <th class="size">size</th>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    57
  <th class="permissions">permissions</th>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    58
</tr>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    59
<tr class="fileline parity0">
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    60
  <td class="name"><a href="/file/9087c84a0f5d/">[up]</a></td>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    61
  <td class="size"></td>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    62
  <td class="permissions">drwxr-xr-x</td>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    63
</tr>
8372
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    64
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    65
<tr class="fileline parity1">
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    66
<td class="name">
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    67
<a href="/file/9087c84a0f5d/a1">
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    68
<img src="/static/coal-folder.png" alt="dir."/> a1/
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    69
</a>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    70
<a href="/file/9087c84a0f5d/a1/a2/a3/a4">
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    71
a2/a3/a4
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    72
</a>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    73
</td>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    74
<td class="size"></td>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    75
<td class="permissions">drwxr-xr-x</td>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    76
</tr>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    77
<tr class="fileline parity0">
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    78
<td class="name">
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    79
<a href="/file/9087c84a0f5d/b1">
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    80
<img src="/static/coal-folder.png" alt="dir."/> b1/
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    81
</a>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    82
<a href="/file/9087c84a0f5d/b1/b2">
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    83
b2
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    84
</a>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    85
</td>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    86
<td class="size"></td>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    87
<td class="permissions">drwxr-xr-x</td>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    88
</tr>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    89
<tr class="fileline parity1">
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    90
<td class="name">
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    91
<a href="/file/9087c84a0f5d/d1">
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    92
<img src="/static/coal-folder.png" alt="dir."/> d1/
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    93
</a>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    94
<a href="/file/9087c84a0f5d/d1/d2">
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    95
d2
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    96
</a>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    97
</td>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    98
<td class="size"></td>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
    99
<td class="permissions">drwxr-xr-x</td>
783c8c78db86 paper: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8353
diff changeset
   100
</tr>
7339
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   101
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   102
</table>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   103
</div>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   104
</div>
d11473955d30 hgweb: update tests for paper style
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   105
7305
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
   106
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
   107
</body>
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
   108
</html>
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
   109
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
   110
% ERRORS ENCOUNTERED