##// END OF EJS Templates
tests: actualize the comment in test-hgweb-descend-empties.t...
Anton Shestakov -
r25345:8be8c2d3 default
parent child Browse files
Show More
@@ -1,148 +1,148 b''
1 1 #require serve
2 2
3 3 Test chains of near empty directories, terminating 3 different ways:
4 4 - a1: file at level 4 (deepest)
5 5 - b1: two dirs at level 3
6 - e1: file at level 2
6 - d1: file at level 2
7 7
8 8 Set up the repo
9 9
10 10 $ hg init test
11 11 $ cd test
12 12 $ mkdir -p a1/a2/a3/a4
13 13 $ mkdir -p b1/b2/b3/b4
14 $ mkdir -p b1/b2/c3/c4
14 $ mkdir -p b1/b2/b3/c4
15 15 $ mkdir -p d1/d2/d3/d4
16 16 $ echo foo > a1/a2/a3/a4/foo
17 17 $ echo foo > b1/b2/b3/b4/foo
18 $ echo foo > b1/b2/c3/c4/foo
18 $ echo foo > b1/b2/b3/c4/foo
19 19 $ echo foo > d1/d2/d3/d4/foo
20 20 $ echo foo > d1/d2/foo
21 21 $ hg ci -Ama
22 22 adding a1/a2/a3/a4/foo
23 23 adding b1/b2/b3/b4/foo
24 adding b1/b2/c3/c4/foo
24 adding b1/b2/b3/c4/foo
25 25 adding d1/d2/d3/d4/foo
26 26 adding d1/d2/foo
27 27 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
28 28 $ cat hg.pid >> $DAEMON_PIDS
29 29
30 30 manifest with descending
31 31
32 32 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file'
33 33 200 Script output follows
34 34
35 35 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
36 36 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
37 37 <head>
38 38 <link rel="icon" href="/static/hgicon.png" type="image/png" />
39 39 <meta name="robots" content="index, nofollow" />
40 40 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
41 41 <script type="text/javascript" src="/static/mercurial.js"></script>
42 42
43 <title>test: 9087c84a0f5d /</title>
43 <title>test: c9f45f7a1659 /</title>
44 44 </head>
45 45 <body>
46 46
47 47 <div class="container">
48 48 <div class="menu">
49 49 <div class="logo">
50 50 <a href="http://mercurial.selenic.com/">
51 51 <img src="/static/hglogo.png" alt="mercurial" /></a>
52 52 </div>
53 53 <ul>
54 <li><a href="/shortlog/9087c84a0f5d">log</a></li>
55 <li><a href="/graph/9087c84a0f5d">graph</a></li>
54 <li><a href="/shortlog/c9f45f7a1659">log</a></li>
55 <li><a href="/graph/c9f45f7a1659">graph</a></li>
56 56 <li><a href="/tags">tags</a></li>
57 57 <li><a href="/bookmarks">bookmarks</a></li>
58 58 <li><a href="/branches">branches</a></li>
59 59 </ul>
60 60 <ul>
61 <li><a href="/rev/9087c84a0f5d">changeset</a></li>
61 <li><a href="/rev/c9f45f7a1659">changeset</a></li>
62 62 <li class="active">browse</li>
63 63 </ul>
64 64 <ul>
65 65
66 66 </ul>
67 67 <ul>
68 68 <li><a href="/help">help</a></li>
69 69 </ul>
70 70 </div>
71 71
72 72 <div class="main">
73 73 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
74 <h3>directory / @ 0:9087c84a0f5d <span class="tag">tip</span> </h3>
74 <h3>directory / @ 0:c9f45f7a1659 <span class="tag">tip</span> </h3>
75 75
76 76 <form class="search" action="/log">
77 77
78 78 <p><input name="rev" id="search1" type="text" size="30" /></p>
79 79 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
80 80 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
81 81 </form>
82 82
83 83 <table class="bigtable">
84 84 <thead>
85 85 <tr>
86 86 <th class="name">name</th>
87 87 <th class="size">size</th>
88 88 <th class="permissions">permissions</th>
89 89 </tr>
90 90 </thead>
91 91 <tbody class="stripes2">
92 92 <tr class="fileline">
93 <td class="name"><a href="/file/9087c84a0f5d/">[up]</a></td>
93 <td class="name"><a href="/file/c9f45f7a1659/">[up]</a></td>
94 94 <td class="size"></td>
95 95 <td class="permissions">drwxr-xr-x</td>
96 96 </tr>
97 97
98 98 <tr class="fileline">
99 99 <td class="name">
100 <a href="/file/9087c84a0f5d/a1">
100 <a href="/file/c9f45f7a1659/a1">
101 101 <img src="/static/coal-folder.png" alt="dir."/> a1/
102 102 </a>
103 <a href="/file/9087c84a0f5d/a1/a2/a3/a4">
103 <a href="/file/c9f45f7a1659/a1/a2/a3/a4">
104 104 a2/a3/a4
105 105 </a>
106 106 </td>
107 107 <td class="size"></td>
108 108 <td class="permissions">drwxr-xr-x</td>
109 109 </tr>
110 110 <tr class="fileline">
111 111 <td class="name">
112 <a href="/file/9087c84a0f5d/b1">
112 <a href="/file/c9f45f7a1659/b1">
113 113 <img src="/static/coal-folder.png" alt="dir."/> b1/
114 114 </a>
115 <a href="/file/9087c84a0f5d/b1/b2">
116 b2
115 <a href="/file/c9f45f7a1659/b1/b2/b3">
116 b2/b3
117 117 </a>
118 118 </td>
119 119 <td class="size"></td>
120 120 <td class="permissions">drwxr-xr-x</td>
121 121 </tr>
122 122 <tr class="fileline">
123 123 <td class="name">
124 <a href="/file/9087c84a0f5d/d1">
124 <a href="/file/c9f45f7a1659/d1">
125 125 <img src="/static/coal-folder.png" alt="dir."/> d1/
126 126 </a>
127 <a href="/file/9087c84a0f5d/d1/d2">
127 <a href="/file/c9f45f7a1659/d1/d2">
128 128 d2
129 129 </a>
130 130 </td>
131 131 <td class="size"></td>
132 132 <td class="permissions">drwxr-xr-x</td>
133 133 </tr>
134 134
135 135 </tbody>
136 136 </table>
137 137 </div>
138 138 </div>
139 139 <script type="text/javascript">process_dates()</script>
140 140
141 141
142 142 </body>
143 143 </html>
144 144
145 145
146 146 $ cat errors.log
147 147
148 148 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now