Mercurial > hg-stable
comparison tests/test-hgweb-descend-empties.out @ 7305:c21d236ca897
hgweb: descend empty directories in web view
When a manifest has a series of directories with nothing in them but a single
directory, displaying the entire chain of empty directories allows for
navigation down to the first non-empty directory with a single click.
Because Java links package hierarchy to directory hierarchy, and because Java
conventions include at least three empty directories at the top of this
hierarchy, descending down empty directories is very common in Java web tools.
author | Ry4an Brase <ry4an-hg@ry4an.org> |
---|---|
date | Mon, 03 Nov 2008 10:20:28 +0100 |
parents | |
children | d11473955d30 |
comparison
equal
deleted
inserted
replaced
7304:68374f1c8c87 | 7305:c21d236ca897 |
---|---|
1 % Set up the repo | |
2 adding a1/a2/a3/a4/foo | |
3 adding b1/b2/b3/b4/foo | |
4 adding b1/b2/c3/c4/foo | |
5 adding d1/d2/d3/d4/foo | |
6 adding d1/d2/foo | |
7 % manifest with descending | |
8 200 Script output follows | |
9 | |
10 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
11 <html> | |
12 <head> | |
13 <link rel="icon" href="/static/hgicon.png" type="image/png"> | |
14 <meta name="robots" content="index, nofollow" /> | |
15 <link rel="stylesheet" href="/static/style.css" type="text/css" /> | |
16 | |
17 <title>test: files for changeset 9087c84a0f5d</title> | |
18 </head> | |
19 <body> | |
20 | |
21 <div class="buttons"> | |
22 <a href="/log/0">changelog</a> | |
23 <a href="/shortlog/0">shortlog</a> | |
24 <a href="/graph">graph</a> | |
25 <a href="/tags">tags</a> | |
26 <a href="/rev/9087c84a0f5d">changeset</a> | |
27 | |
28 </div> | |
29 | |
30 <h2>files for changeset 9087c84a0f5d: /</h2> | |
31 | |
32 <table cellpadding="0" cellspacing="0"> | |
33 <tr class="parity0"> | |
34 <td><tt>drwxr-xr-x</tt> | |
35 <td> | |
36 <td> | |
37 <td><a href="/file/9087c84a0f5d/">[up]</a> | |
38 </tr> | |
39 <tr class="parity1"><td><tt>drwxr-xr-x</tt> <td> <td> <td><a href="/file/9087c84a0f5d/a1">a1/</a> <a href="/file/9087c84a0f5d/a1/a2/a3/a4">a2/a3/a4</a><tr class="parity0"><td><tt>drwxr-xr-x</tt> <td> <td> <td><a href="/file/9087c84a0f5d/b1">b1/</a> <a href="/file/9087c84a0f5d/b1/b2">b2</a><tr class="parity1"><td><tt>drwxr-xr-x</tt> <td> <td> <td><a href="/file/9087c84a0f5d/d1">d1/</a> <a href="/file/9087c84a0f5d/d1/d2">d2</a> | |
40 | |
41 </table> | |
42 | |
43 <div class="logo"> | |
44 <a href="http://www.selenic.com/mercurial/"> | |
45 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a> | |
46 </div> | |
47 | |
48 </body> | |
49 </html> | |
50 | |
51 % ERRORS ENCOUNTERED |