233 </table> |
233 </table> |
234 </content> |
234 </content> |
235 </entry> |
235 </entry> |
236 |
236 |
237 </feed> |
237 </feed> |
|
238 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/?style=rss' |
|
239 200 Script output follows |
|
240 |
|
241 <?xml version="1.0" encoding="ascii"?> |
|
242 <rss version="2.0"> |
|
243 <channel> |
|
244 <link>http://*:$HGPORT/</link> (glob) |
|
245 <language>en-us</language> |
|
246 |
|
247 <title>test Changelog</title> |
|
248 <description>test Changelog</description> |
|
249 <item> |
|
250 <title>[unstable] branch commit with null character: </title> |
|
251 <guid isPermaLink="true">http://*:$HGPORT/rev/cad8025a2e87</guid> (glob) |
|
252 <link>http://*:$HGPORT/rev/cad8025a2e87</link> (glob) |
|
253 <description> |
|
254 <![CDATA[ |
|
255 <table> |
|
256 <tr> |
|
257 <th style="text-align:left;">changeset</th> |
|
258 <td>cad8025a2e87</td> |
|
259 </tr> |
|
260 <tr> |
|
261 <th style="text-align:left;">branch</th> |
|
262 <td>unstable</td> |
|
263 </tr> |
|
264 <tr> |
|
265 <th style="text-align:left;">bookmark</th> |
|
266 <td>something</td> |
|
267 </tr> |
|
268 <tr> |
|
269 <th style="text-align:left;">tag</th> |
|
270 <td>tip</td> |
|
271 </tr> |
|
272 <tr> |
|
273 <th style="text-align:left;vertical-align:top;">user</th> |
|
274 <td>test</td> |
|
275 </tr> |
|
276 <tr> |
|
277 <th style="text-align:left;vertical-align:top;">description</th> |
|
278 <td>branch commit with null character: </td> |
|
279 </tr> |
|
280 <tr> |
|
281 <th style="text-align:left;vertical-align:top;">files</th> |
|
282 <td></td> |
|
283 </tr> |
|
284 </table> |
|
285 ]]></description> |
|
286 <author>test</author> |
|
287 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> |
|
288 </item> |
|
289 <item> |
|
290 <title>[stable] branch</title> |
|
291 <guid isPermaLink="true">http://*:$HGPORT/rev/1d22e65f027e</guid> (glob) |
|
292 <link>http://*:$HGPORT/rev/1d22e65f027e</link> (glob) |
|
293 <description> |
|
294 <![CDATA[ |
|
295 <table> |
|
296 <tr> |
|
297 <th style="text-align:left;">changeset</th> |
|
298 <td>1d22e65f027e</td> |
|
299 </tr> |
|
300 <tr> |
|
301 <th style="text-align:left;">branch</th> |
|
302 <td>stable</td> |
|
303 </tr> |
|
304 <tr> |
|
305 <th style="text-align:left;">bookmark</th> |
|
306 <td></td> |
|
307 </tr> |
|
308 <tr> |
|
309 <th style="text-align:left;">tag</th> |
|
310 <td></td> |
|
311 </tr> |
|
312 <tr> |
|
313 <th style="text-align:left;vertical-align:top;">user</th> |
|
314 <td>test</td> |
|
315 </tr> |
|
316 <tr> |
|
317 <th style="text-align:left;vertical-align:top;">description</th> |
|
318 <td>branch</td> |
|
319 </tr> |
|
320 <tr> |
|
321 <th style="text-align:left;vertical-align:top;">files</th> |
|
322 <td>foo<br /></td> |
|
323 </tr> |
|
324 </table> |
|
325 ]]></description> |
|
326 <author>test</author> |
|
327 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> |
|
328 </item> |
|
329 <item> |
|
330 <title>[default] Added tag 1.0 for changeset 2ef0ac749a14</title> |
|
331 <guid isPermaLink="true">http://*:$HGPORT/rev/a4f92ed23982</guid> (glob) |
|
332 <link>http://*:$HGPORT/rev/a4f92ed23982</link> (glob) |
|
333 <description> |
|
334 <![CDATA[ |
|
335 <table> |
|
336 <tr> |
|
337 <th style="text-align:left;">changeset</th> |
|
338 <td>a4f92ed23982</td> |
|
339 </tr> |
|
340 <tr> |
|
341 <th style="text-align:left;">branch</th> |
|
342 <td>default</td> |
|
343 </tr> |
|
344 <tr> |
|
345 <th style="text-align:left;">bookmark</th> |
|
346 <td></td> |
|
347 </tr> |
|
348 <tr> |
|
349 <th style="text-align:left;">tag</th> |
|
350 <td></td> |
|
351 </tr> |
|
352 <tr> |
|
353 <th style="text-align:left;vertical-align:top;">user</th> |
|
354 <td>test</td> |
|
355 </tr> |
|
356 <tr> |
|
357 <th style="text-align:left;vertical-align:top;">description</th> |
|
358 <td>Added tag 1.0 for changeset 2ef0ac749a14</td> |
|
359 </tr> |
|
360 <tr> |
|
361 <th style="text-align:left;vertical-align:top;">files</th> |
|
362 <td>.hgtags<br /></td> |
|
363 </tr> |
|
364 </table> |
|
365 ]]></description> |
|
366 <author>test</author> |
|
367 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> |
|
368 </item> |
|
369 <item> |
|
370 <title>base</title> |
|
371 <guid isPermaLink="true">http://*:$HGPORT/rev/2ef0ac749a14</guid> (glob) |
|
372 <link>http://*:$HGPORT/rev/2ef0ac749a14</link> (glob) |
|
373 <description> |
|
374 <![CDATA[ |
|
375 <table> |
|
376 <tr> |
|
377 <th style="text-align:left;">changeset</th> |
|
378 <td>2ef0ac749a14</td> |
|
379 </tr> |
|
380 <tr> |
|
381 <th style="text-align:left;">branch</th> |
|
382 <td></td> |
|
383 </tr> |
|
384 <tr> |
|
385 <th style="text-align:left;">bookmark</th> |
|
386 <td>anotherthing</td> |
|
387 </tr> |
|
388 <tr> |
|
389 <th style="text-align:left;">tag</th> |
|
390 <td>1.0</td> |
|
391 </tr> |
|
392 <tr> |
|
393 <th style="text-align:left;vertical-align:top;">user</th> |
|
394 <td>test</td> |
|
395 </tr> |
|
396 <tr> |
|
397 <th style="text-align:left;vertical-align:top;">description</th> |
|
398 <td>base</td> |
|
399 </tr> |
|
400 <tr> |
|
401 <th style="text-align:left;vertical-align:top;">files</th> |
|
402 <td>da/foo<br />foo<br /></td> |
|
403 </tr> |
|
404 </table> |
|
405 ]]></description> |
|
406 <author>test</author> |
|
407 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> |
|
408 </item> |
|
409 |
|
410 </channel> |
|
411 </rss> (no-eol) |
238 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/1/?style=atom' |
412 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/1/?style=atom' |
239 200 Script output follows |
413 200 Script output follows |
240 |
414 |
241 <?xml version="1.0" encoding="ascii"?> |
415 <?xml version="1.0" encoding="ascii"?> |
242 <feed xmlns="http://www.w3.org/2005/Atom"> |
416 <feed xmlns="http://www.w3.org/2005/Atom"> |
333 </table> |
507 </table> |
334 </content> |
508 </content> |
335 </entry> |
509 </entry> |
336 |
510 |
337 </feed> |
511 </feed> |
|
512 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/1/?style=rss' |
|
513 200 Script output follows |
|
514 |
|
515 <?xml version="1.0" encoding="ascii"?> |
|
516 <rss version="2.0"> |
|
517 <channel> |
|
518 <link>http://*:$HGPORT/</link> (glob) |
|
519 <language>en-us</language> |
|
520 |
|
521 <title>test Changelog</title> |
|
522 <description>test Changelog</description> |
|
523 <item> |
|
524 <title>[default] Added tag 1.0 for changeset 2ef0ac749a14</title> |
|
525 <guid isPermaLink="true">http://*:$HGPORT/rev/a4f92ed23982</guid> (glob) |
|
526 <link>http://*:$HGPORT/rev/a4f92ed23982</link> (glob) |
|
527 <description> |
|
528 <![CDATA[ |
|
529 <table> |
|
530 <tr> |
|
531 <th style="text-align:left;">changeset</th> |
|
532 <td>a4f92ed23982</td> |
|
533 </tr> |
|
534 <tr> |
|
535 <th style="text-align:left;">branch</th> |
|
536 <td>default</td> |
|
537 </tr> |
|
538 <tr> |
|
539 <th style="text-align:left;">bookmark</th> |
|
540 <td></td> |
|
541 </tr> |
|
542 <tr> |
|
543 <th style="text-align:left;">tag</th> |
|
544 <td></td> |
|
545 </tr> |
|
546 <tr> |
|
547 <th style="text-align:left;vertical-align:top;">user</th> |
|
548 <td>test</td> |
|
549 </tr> |
|
550 <tr> |
|
551 <th style="text-align:left;vertical-align:top;">description</th> |
|
552 <td>Added tag 1.0 for changeset 2ef0ac749a14</td> |
|
553 </tr> |
|
554 <tr> |
|
555 <th style="text-align:left;vertical-align:top;">files</th> |
|
556 <td>.hgtags<br /></td> |
|
557 </tr> |
|
558 </table> |
|
559 ]]></description> |
|
560 <author>test</author> |
|
561 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> |
|
562 </item> |
|
563 <item> |
|
564 <title>base</title> |
|
565 <guid isPermaLink="true">http://*:$HGPORT/rev/2ef0ac749a14</guid> (glob) |
|
566 <link>http://*:$HGPORT/rev/2ef0ac749a14</link> (glob) |
|
567 <description> |
|
568 <![CDATA[ |
|
569 <table> |
|
570 <tr> |
|
571 <th style="text-align:left;">changeset</th> |
|
572 <td>2ef0ac749a14</td> |
|
573 </tr> |
|
574 <tr> |
|
575 <th style="text-align:left;">branch</th> |
|
576 <td></td> |
|
577 </tr> |
|
578 <tr> |
|
579 <th style="text-align:left;">bookmark</th> |
|
580 <td>anotherthing</td> |
|
581 </tr> |
|
582 <tr> |
|
583 <th style="text-align:left;">tag</th> |
|
584 <td>1.0</td> |
|
585 </tr> |
|
586 <tr> |
|
587 <th style="text-align:left;vertical-align:top;">user</th> |
|
588 <td>test</td> |
|
589 </tr> |
|
590 <tr> |
|
591 <th style="text-align:left;vertical-align:top;">description</th> |
|
592 <td>base</td> |
|
593 </tr> |
|
594 <tr> |
|
595 <th style="text-align:left;vertical-align:top;">files</th> |
|
596 <td>da/foo<br />foo<br /></td> |
|
597 </tr> |
|
598 </table> |
|
599 ]]></description> |
|
600 <author>test</author> |
|
601 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> |
|
602 </item> |
|
603 |
|
604 </channel> |
|
605 </rss> (no-eol) |
338 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/1/foo/?style=atom' |
606 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/1/foo/?style=atom' |
339 200 Script output follows |
607 200 Script output follows |
340 |
608 |
341 <?xml version="1.0" encoding="ascii"?> |
609 <?xml version="1.0" encoding="ascii"?> |
342 <feed xmlns="http://www.w3.org/2005/Atom"> |
610 <feed xmlns="http://www.w3.org/2005/Atom"> |
388 </table> |
656 </table> |
389 </content> |
657 </content> |
390 </entry> |
658 </entry> |
391 |
659 |
392 </feed> |
660 </feed> |
|
661 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'log/1/foo/?style=rss' |
|
662 200 Script output follows |
|
663 |
|
664 <?xml version="1.0" encoding="ascii"?> |
|
665 <rss version="2.0"> |
|
666 <channel> |
|
667 <link>http://*:$HGPORT/</link> (glob) |
|
668 <language>en-us</language> |
|
669 |
|
670 <title>test: foo history</title> |
|
671 <description>foo revision history</description> |
|
672 <item> |
|
673 <title>base</title> |
|
674 <link>http://*:$HGPORT/log2ef0ac749a14/foo</link> (glob) |
|
675 <description><![CDATA[base]]></description> |
|
676 <author>test</author> |
|
677 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> |
|
678 </item> |
|
679 |
|
680 </channel> |
|
681 </rss> |
393 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'shortlog/' |
682 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'shortlog/' |
394 200 Script output follows |
683 200 Script output follows |
395 |
684 |
396 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
685 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
397 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
686 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |