1 adding a |
|
2 adding b |
|
3 adding d |
|
4 adding c |
|
5 % should give a 404 - file does not exist |
|
6 404 Not Found |
|
7 |
|
8 |
|
9 error: bork@8580ff50825a: not found in manifest |
|
10 % should succeed |
|
11 200 Script output follows |
|
12 |
|
13 |
|
14 /a/ |
|
15 /b/ |
|
16 |
|
17 200 Script output follows |
|
18 |
|
19 a |
|
20 200 Script output follows |
|
21 |
|
22 b |
|
23 % should give a 404 - repo is not published |
|
24 404 Not Found |
|
25 |
|
26 |
|
27 error: repository c not found |
|
28 % atom-log without basedir |
|
29 <link rel="self" href="http://example.com:8080/a/atom-log"/> |
|
30 <link rel="alternate" href="http://example.com:8080/a/"/> |
|
31 <link href="http://example.com:8080/a/rev/8580ff50825a"/> |
|
32 % rss-log without basedir |
|
33 <guid isPermaLink="true">http://example.com:8080/a/rev/8580ff50825a</guid> |
|
34 % should succeed, slashy names |
|
35 200 Script output follows |
|
36 |
|
37 |
|
38 /t/a/ |
|
39 /b/ |
|
40 /coll/a/ |
|
41 /coll/a/.hg/patches/ |
|
42 /coll/b/ |
|
43 /coll/c/ |
|
44 /rcoll/a/ |
|
45 /rcoll/a/.hg/patches/ |
|
46 /rcoll/b/ |
|
47 /rcoll/b/d/ |
|
48 /rcoll/c/ |
|
49 /star/webdir/a/ |
|
50 /star/webdir/a/.hg/patches/ |
|
51 /star/webdir/b/ |
|
52 /star/webdir/c/ |
|
53 /starstar/webdir/a/ |
|
54 /starstar/webdir/a/.hg/patches/ |
|
55 /starstar/webdir/b/ |
|
56 /starstar/webdir/b/d/ |
|
57 /starstar/webdir/c/ |
|
58 |
|
59 200 Script output follows |
|
60 |
|
61 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
62 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
|
63 <head> |
|
64 <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
|
65 <meta name="robots" content="index, nofollow" /> |
|
66 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
|
67 |
|
68 <title>Mercurial repositories index</title> |
|
69 </head> |
|
70 <body> |
|
71 |
|
72 <div class="container"> |
|
73 <div class="menu"> |
|
74 <a href="http://mercurial.selenic.com/"> |
|
75 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a> |
|
76 </div> |
|
77 <div class="main"> |
|
78 <h2>Mercurial Repositories</h2> |
|
79 |
|
80 <table class="bigtable"> |
|
81 <tr> |
|
82 <th><a href="?sort=name">Name</a></th> |
|
83 <th><a href="?sort=description">Description</a></th> |
|
84 <th><a href="?sort=contact">Contact</a></th> |
|
85 <th><a href="?sort=lastchange">Last modified</a></th> |
|
86 <th> </th> |
|
87 </tr> |
|
88 |
|
89 <tr class="parity0"> |
|
90 <td><a href="/t/a/?style=paper">t/a</a></td> |
|
91 <td>unknown</td> |
|
92 <td>Foo Bar <foo.bar@example.com></td> |
|
93 <td class="age">seconds ago</td> |
|
94 <td class="indexlinks"></td> |
|
95 </tr> |
|
96 |
|
97 <tr class="parity1"> |
|
98 <td><a href="/b/?style=paper">b</a></td> |
|
99 <td>unknown</td> |
|
100 <td>Foo Bar <foo.bar@example.com></td> |
|
101 <td class="age">seconds ago</td> |
|
102 <td class="indexlinks"></td> |
|
103 </tr> |
|
104 |
|
105 <tr class="parity0"> |
|
106 <td><a href="/coll/a/?style=paper">coll/a</a></td> |
|
107 <td>unknown</td> |
|
108 <td>Foo Bar <foo.bar@example.com></td> |
|
109 <td class="age">seconds ago</td> |
|
110 <td class="indexlinks"></td> |
|
111 </tr> |
|
112 |
|
113 <tr class="parity1"> |
|
114 <td><a href="/coll/a/.hg/patches/?style=paper">coll/a/.hg/patches</a></td> |
|
115 <td>unknown</td> |
|
116 <td>Foo Bar <foo.bar@example.com></td> |
|
117 <td class="age">seconds ago</td> |
|
118 <td class="indexlinks"></td> |
|
119 </tr> |
|
120 |
|
121 <tr class="parity0"> |
|
122 <td><a href="/coll/b/?style=paper">coll/b</a></td> |
|
123 <td>unknown</td> |
|
124 <td>Foo Bar <foo.bar@example.com></td> |
|
125 <td class="age">seconds ago</td> |
|
126 <td class="indexlinks"></td> |
|
127 </tr> |
|
128 |
|
129 <tr class="parity1"> |
|
130 <td><a href="/coll/c/?style=paper">coll/c</a></td> |
|
131 <td>unknown</td> |
|
132 <td>Foo Bar <foo.bar@example.com></td> |
|
133 <td class="age">seconds ago</td> |
|
134 <td class="indexlinks"></td> |
|
135 </tr> |
|
136 |
|
137 <tr class="parity0"> |
|
138 <td><a href="/rcoll/a/?style=paper">rcoll/a</a></td> |
|
139 <td>unknown</td> |
|
140 <td>Foo Bar <foo.bar@example.com></td> |
|
141 <td class="age">seconds ago</td> |
|
142 <td class="indexlinks"></td> |
|
143 </tr> |
|
144 |
|
145 <tr class="parity1"> |
|
146 <td><a href="/rcoll/a/.hg/patches/?style=paper">rcoll/a/.hg/patches</a></td> |
|
147 <td>unknown</td> |
|
148 <td>Foo Bar <foo.bar@example.com></td> |
|
149 <td class="age">seconds ago</td> |
|
150 <td class="indexlinks"></td> |
|
151 </tr> |
|
152 |
|
153 <tr class="parity0"> |
|
154 <td><a href="/rcoll/b/?style=paper">rcoll/b</a></td> |
|
155 <td>unknown</td> |
|
156 <td>Foo Bar <foo.bar@example.com></td> |
|
157 <td class="age">seconds ago</td> |
|
158 <td class="indexlinks"></td> |
|
159 </tr> |
|
160 |
|
161 <tr class="parity1"> |
|
162 <td><a href="/rcoll/b/d/?style=paper">rcoll/b/d</a></td> |
|
163 <td>unknown</td> |
|
164 <td>Foo Bar <foo.bar@example.com></td> |
|
165 <td class="age">seconds ago</td> |
|
166 <td class="indexlinks"></td> |
|
167 </tr> |
|
168 |
|
169 <tr class="parity0"> |
|
170 <td><a href="/rcoll/c/?style=paper">rcoll/c</a></td> |
|
171 <td>unknown</td> |
|
172 <td>Foo Bar <foo.bar@example.com></td> |
|
173 <td class="age">seconds ago</td> |
|
174 <td class="indexlinks"></td> |
|
175 </tr> |
|
176 |
|
177 <tr class="parity1"> |
|
178 <td><a href="/star/webdir/a/?style=paper">star/webdir/a</a></td> |
|
179 <td>unknown</td> |
|
180 <td>Foo Bar <foo.bar@example.com></td> |
|
181 <td class="age">seconds ago</td> |
|
182 <td class="indexlinks"></td> |
|
183 </tr> |
|
184 |
|
185 <tr class="parity0"> |
|
186 <td><a href="/star/webdir/a/.hg/patches/?style=paper">star/webdir/a/.hg/patches</a></td> |
|
187 <td>unknown</td> |
|
188 <td>Foo Bar <foo.bar@example.com></td> |
|
189 <td class="age">seconds ago</td> |
|
190 <td class="indexlinks"></td> |
|
191 </tr> |
|
192 |
|
193 <tr class="parity1"> |
|
194 <td><a href="/star/webdir/b/?style=paper">star/webdir/b</a></td> |
|
195 <td>unknown</td> |
|
196 <td>Foo Bar <foo.bar@example.com></td> |
|
197 <td class="age">seconds ago</td> |
|
198 <td class="indexlinks"></td> |
|
199 </tr> |
|
200 |
|
201 <tr class="parity0"> |
|
202 <td><a href="/star/webdir/c/?style=paper">star/webdir/c</a></td> |
|
203 <td>unknown</td> |
|
204 <td>Foo Bar <foo.bar@example.com></td> |
|
205 <td class="age">seconds ago</td> |
|
206 <td class="indexlinks"></td> |
|
207 </tr> |
|
208 |
|
209 <tr class="parity1"> |
|
210 <td><a href="/starstar/webdir/a/?style=paper">starstar/webdir/a</a></td> |
|
211 <td>unknown</td> |
|
212 <td>Foo Bar <foo.bar@example.com></td> |
|
213 <td class="age">seconds ago</td> |
|
214 <td class="indexlinks"></td> |
|
215 </tr> |
|
216 |
|
217 <tr class="parity0"> |
|
218 <td><a href="/starstar/webdir/a/.hg/patches/?style=paper">starstar/webdir/a/.hg/patches</a></td> |
|
219 <td>unknown</td> |
|
220 <td>Foo Bar <foo.bar@example.com></td> |
|
221 <td class="age">seconds ago</td> |
|
222 <td class="indexlinks"></td> |
|
223 </tr> |
|
224 |
|
225 <tr class="parity1"> |
|
226 <td><a href="/starstar/webdir/b/?style=paper">starstar/webdir/b</a></td> |
|
227 <td>unknown</td> |
|
228 <td>Foo Bar <foo.bar@example.com></td> |
|
229 <td class="age">seconds ago</td> |
|
230 <td class="indexlinks"></td> |
|
231 </tr> |
|
232 |
|
233 <tr class="parity0"> |
|
234 <td><a href="/starstar/webdir/b/d/?style=paper">starstar/webdir/b/d</a></td> |
|
235 <td>unknown</td> |
|
236 <td>Foo Bar <foo.bar@example.com></td> |
|
237 <td class="age">seconds ago</td> |
|
238 <td class="indexlinks"></td> |
|
239 </tr> |
|
240 |
|
241 <tr class="parity1"> |
|
242 <td><a href="/starstar/webdir/c/?style=paper">starstar/webdir/c</a></td> |
|
243 <td>unknown</td> |
|
244 <td>Foo Bar <foo.bar@example.com></td> |
|
245 <td class="age">seconds ago</td> |
|
246 <td class="indexlinks"></td> |
|
247 </tr> |
|
248 |
|
249 </table> |
|
250 </div> |
|
251 </div> |
|
252 |
|
253 |
|
254 </body> |
|
255 </html> |
|
256 |
|
257 200 Script output follows |
|
258 |
|
259 |
|
260 /t/a/ |
|
261 |
|
262 200 Script output follows |
|
263 |
|
264 |
|
265 /t/a/ |
|
266 |
|
267 200 Script output follows |
|
268 |
|
269 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
270 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
|
271 <head> |
|
272 <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
|
273 <meta name="robots" content="index, nofollow" /> |
|
274 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
|
275 |
|
276 <title>Mercurial repositories index</title> |
|
277 </head> |
|
278 <body> |
|
279 |
|
280 <div class="container"> |
|
281 <div class="menu"> |
|
282 <a href="http://mercurial.selenic.com/"> |
|
283 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a> |
|
284 </div> |
|
285 <div class="main"> |
|
286 <h2>Mercurial Repositories</h2> |
|
287 |
|
288 <table class="bigtable"> |
|
289 <tr> |
|
290 <th><a href="?sort=name">Name</a></th> |
|
291 <th><a href="?sort=description">Description</a></th> |
|
292 <th><a href="?sort=contact">Contact</a></th> |
|
293 <th><a href="?sort=lastchange">Last modified</a></th> |
|
294 <th> </th> |
|
295 </tr> |
|
296 |
|
297 <tr class="parity0"> |
|
298 <td><a href="/t/a/?style=paper">a</a></td> |
|
299 <td>unknown</td> |
|
300 <td>Foo Bar <foo.bar@example.com></td> |
|
301 <td class="age">seconds ago</td> |
|
302 <td class="indexlinks"></td> |
|
303 </tr> |
|
304 |
|
305 </table> |
|
306 </div> |
|
307 </div> |
|
308 |
|
309 |
|
310 </body> |
|
311 </html> |
|
312 |
|
313 200 Script output follows |
|
314 |
|
315 <?xml version="1.0" encoding="ascii"?> |
|
316 <feed xmlns="http://127.0.0.1/2005/Atom"> |
|
317 <!-- Changelog --> |
|
318 <id>http://127.0.0.1/t/a/</id> |
|
319 <link rel="self" href="http://127.0.0.1/t/a/atom-log"/> |
|
320 <link rel="alternate" href="http://127.0.0.1/t/a/"/> |
|
321 <title>t/a Changelog</title> |
|
322 <updated>1970-01-01T00:00:01+00:00</updated> |
|
323 |
|
324 <entry> |
|
325 <title>a</title> |
|
326 <id>http://127.0.0.1/t/a/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id> |
|
327 <link href="http://127.0.0.1/t/a/rev/8580ff50825a"/> |
|
328 <author> |
|
329 <name>test</name> |
|
330 <email>test</email> |
|
331 </author> |
|
332 <updated>1970-01-01T00:00:01+00:00</updated> |
|
333 <published>1970-01-01T00:00:01+00:00</published> |
|
334 <content type="xhtml"> |
|
335 <div xmlns="http://127.0.0.1/1999/xhtml"> |
|
336 <pre xml:space="preserve">a</pre> |
|
337 </div> |
|
338 </content> |
|
339 </entry> |
|
340 |
|
341 </feed> |
|
342 200 Script output follows |
|
343 |
|
344 <?xml version="1.0" encoding="ascii"?> |
|
345 <feed xmlns="http://127.0.0.1/2005/Atom"> |
|
346 <!-- Changelog --> |
|
347 <id>http://127.0.0.1/t/a/</id> |
|
348 <link rel="self" href="http://127.0.0.1/t/a/atom-log"/> |
|
349 <link rel="alternate" href="http://127.0.0.1/t/a/"/> |
|
350 <title>t/a Changelog</title> |
|
351 <updated>1970-01-01T00:00:01+00:00</updated> |
|
352 |
|
353 <entry> |
|
354 <title>a</title> |
|
355 <id>http://127.0.0.1/t/a/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id> |
|
356 <link href="http://127.0.0.1/t/a/rev/8580ff50825a"/> |
|
357 <author> |
|
358 <name>test</name> |
|
359 <email>test</email> |
|
360 </author> |
|
361 <updated>1970-01-01T00:00:01+00:00</updated> |
|
362 <published>1970-01-01T00:00:01+00:00</published> |
|
363 <content type="xhtml"> |
|
364 <div xmlns="http://127.0.0.1/1999/xhtml"> |
|
365 <pre xml:space="preserve">a</pre> |
|
366 </div> |
|
367 </content> |
|
368 </entry> |
|
369 |
|
370 </feed> |
|
371 200 Script output follows |
|
372 |
|
373 a |
|
374 200 Script output follows |
|
375 |
|
376 |
|
377 /coll/a/ |
|
378 /coll/a/.hg/patches/ |
|
379 /coll/b/ |
|
380 /coll/c/ |
|
381 |
|
382 200 Script output follows |
|
383 |
|
384 a |
|
385 200 Script output follows |
|
386 |
|
387 |
|
388 /rcoll/a/ |
|
389 /rcoll/a/.hg/patches/ |
|
390 /rcoll/b/ |
|
391 /rcoll/b/d/ |
|
392 /rcoll/c/ |
|
393 |
|
394 200 Script output follows |
|
395 |
|
396 d |
|
397 % test descend = False |
|
398 200 Script output follows |
|
399 |
|
400 |
|
401 /c/ |
|
402 |
|
403 200 Script output follows |
|
404 |
|
405 |
|
406 /t/a/ |
|
407 /t/b/ |
|
408 |
|
409 % test inexistent and inaccessible repo should be ignored silently |
|
410 200 Script output follows |
|
411 |
|
412 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
413 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
|
414 <head> |
|
415 <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
|
416 <meta name="robots" content="index, nofollow" /> |
|
417 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
|
418 |
|
419 <title>Mercurial repositories index</title> |
|
420 </head> |
|
421 <body> |
|
422 |
|
423 <div class="container"> |
|
424 <div class="menu"> |
|
425 <a href="http://mercurial.selenic.com/"> |
|
426 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a> |
|
427 </div> |
|
428 <div class="main"> |
|
429 <h2>Mercurial Repositories</h2> |
|
430 |
|
431 <table class="bigtable"> |
|
432 <tr> |
|
433 <th><a href="?sort=name">Name</a></th> |
|
434 <th><a href="?sort=description">Description</a></th> |
|
435 <th><a href="?sort=contact">Contact</a></th> |
|
436 <th><a href="?sort=lastchange">Last modified</a></th> |
|
437 <th> </th> |
|
438 </tr> |
|
439 |
|
440 </table> |
|
441 </div> |
|
442 </div> |
|
443 |
|
444 |
|
445 </body> |
|
446 </html> |
|
447 |
|
448 % collections: should succeed |
|
449 200 Script output follows |
|
450 |
|
451 |
|
452 /a/ |
|
453 /a/.hg/patches/ |
|
454 /b/ |
|
455 /c/ |
|
456 |
|
457 200 Script output follows |
|
458 |
|
459 a |
|
460 200 Script output follows |
|
461 |
|
462 b |
|
463 200 Script output follows |
|
464 |
|
465 c |
|
466 % atom-log with basedir / |
|
467 <link rel="self" href="http://example.com:8080/a/atom-log"/> |
|
468 <link rel="alternate" href="http://example.com:8080/a/"/> |
|
469 <link href="http://example.com:8080/a/rev/8580ff50825a"/> |
|
470 % rss-log with basedir / |
|
471 <guid isPermaLink="true">http://example.com:8080/a/rev/8580ff50825a</guid> |
|
472 % atom-log with basedir /foo/ |
|
473 <link rel="self" href="http://example.com:8080/foo/a/atom-log"/> |
|
474 <link rel="alternate" href="http://example.com:8080/foo/a/"/> |
|
475 <link href="http://example.com:8080/foo/a/rev/8580ff50825a"/> |
|
476 % rss-log with basedir /foo/ |
|
477 <guid isPermaLink="true">http://example.com:8080/foo/a/rev/8580ff50825a</guid> |
|
478 % paths errors 1 |
|
479 % paths errors 2 |
|
480 % paths errors 3 |
|
481 % collections errors |
|
482 % collections errors 2 |
|