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