##// END OF EJS Templates
templates: add raw templates for tags/branches pages
Dirkjan Ochtman -
r9946:2059be77 default
parent child Browse files
Show More
@@ -21,3 +21,7 b' index = index.tmpl'
21 notfound = notfound.tmpl
21 notfound = notfound.tmpl
22 error = error.tmpl
22 error = error.tmpl
23 indexentry = '{url}\n'
23 indexentry = '{url}\n'
24 tags = '{entries%tagentry}'
25 tagentry = '{tag} {node}\n'
26 branches = '{entries%branchentry}'
27 branchentry = '{branch} {node} {status}\n'
@@ -35,8 +35,8 b' echo % File-related'
35 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/filediff/1/foo/?style=raw'
35 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/filediff/1/foo/?style=raw'
36
36
37 echo % Overviews
37 echo % Overviews
38 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/tags/?style=atom' | sed "s/http:\/\/[^/]*\//http:\/\/127.0.0.1\//"
38 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-tags'
39 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/branches/?style=gitweb' | sed "s/http:\/\/[^/]*\//http:\/\/127.0.0.1\//"
39 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-branches'
40 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/summary/?style=gitweb'
40 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/summary/?style=gitweb'
41 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/graph/?style=gitweb'
41 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/graph/?style=gitweb'
42
42
@@ -465,97 +465,12 b' diff -r 000000000000 -r a4f92ed23982 foo'
465 % Overviews
465 % Overviews
466 200 Script output follows
466 200 Script output follows
467
467
468 <?xml version="1.0" encoding="ascii"?>
468 tip 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe
469 <feed xmlns="http://127.0.0.1/2005/Atom">
469 1.0 2ef0ac749a14e4f57a5a822464a0902c6f7f448f
470 <id>http://127.0.0.1/</id>
471 <link rel="self" href="http://127.0.0.1/atom-tags"/>
472 <link rel="alternate" href="http://127.0.0.1/tags"/>
473 <title>test: tags</title>
474 <summary>test tag history</summary>
475 <author><name>Mercurial SCM</name></author>
476 <updated>1970-01-01T00:00:00+00:00</updated>
477
478 <entry>
479 <title>1.0</title>
480 <link rel="alternate" href="http://127.0.0.1/rev/2ef0ac749a14"/>
481 <id>http://127.0.0.1/#tag-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id>
482 <updated>1970-01-01T00:00:00+00:00</updated>
483 <published>1970-01-01T00:00:00+00:00</published>
484 <content type="text">1.0</content>
485 </entry>
486
487 </feed>
488 200 Script output follows
470 200 Script output follows
489
471
490 <?xml version="1.0" encoding="ascii"?>
472 stable 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe open
491 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://127.0.0.1/TR/xhtml1/DTD/xhtml1-strict.dtd">
473 default a4f92ed23982be056b9852de5dfe873eaac7f0de inactive
492 <html xmlns="http://127.0.0.1/1999/xhtml" xml:lang="en-US" lang="en-US">
493 <head>
494 <link rel="icon" href="/static/hgicon.png" type="image/png" />
495 <meta name="robots" content="index, nofollow"/>
496 <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" />
497
498
499 <title>test: Branches</title>
500 <link rel="alternate" type="application/atom+xml"
501 href="/atom-tags" title="Atom feed for test"/>
502 <link rel="alternate" type="application/rss+xml"
503 href="/rss-tags" title="RSS feed for test"/>
504 </head>
505 <body>
506
507 <div class="page_header">
508 <a href="http://127.0.0.1/" title="Mercurial" style="float: right;">Mercurial</a><a href="/summary?style=gitweb">test</a> / branches
509 </div>
510
511 <div class="page_nav">
512 <a href="/summary?style=gitweb">summary</a> |
513 <a href="/shortlog?style=gitweb">shortlog</a> |
514 <a href="/log?style=gitweb">changelog</a> |
515 <a href="/graph?style=gitweb">graph</a> |
516 <a href="/tags?style=gitweb">tags</a> |
517 branches |
518 <a href="/file/1d22e65f027e?style=gitweb">files</a>
519 <br/>
520 </div>
521
522 <div class="title">&nbsp;</div>
523 <table cellspacing="0">
524
525 <tr class="parity0">
526 <td class="age"><i>1970-01-01</i></td>
527 <td><a class="list" href="/shortlog/1d22e65f027e?style=gitweb"><b>1d22e65f027e</b></a></td>
528 <td class="open">stable</td>
529 <td class="link">
530 <a href="/changeset/1d22e65f027e?style=gitweb">changeset</a> |
531 <a href="/log/1d22e65f027e?style=gitweb">changelog</a> |
532 <a href="/file/1d22e65f027e?style=gitweb">files</a>
533 </td>
534 </tr>
535 <tr class="parity1">
536 <td class="age"><i>1970-01-01</i></td>
537 <td><a class="list" href="/shortlog/a4f92ed23982?style=gitweb"><b>a4f92ed23982</b></a></td>
538 <td class="inactive">default</td>
539 <td class="link">
540 <a href="/changeset/a4f92ed23982?style=gitweb">changeset</a> |
541 <a href="/log/a4f92ed23982?style=gitweb">changelog</a> |
542 <a href="/file/a4f92ed23982?style=gitweb">files</a>
543 </td>
544 </tr>
545 </table>
546
547 <div class="page_footer">
548 <div class="page_footer_text">test</div>
549 <div class="rss_logo">
550 <a href="/rss-log">RSS</a>
551 <a href="/atom-log">Atom</a>
552 </div>
553 <br />
554
555 </div>
556 </body>
557 </html>
558
559 200 Script output follows
474 200 Script output follows
560
475
561 <?xml version="1.0" encoding="ascii"?>
476 <?xml version="1.0" encoding="ascii"?>
General Comments 0
You need to be logged in to leave comments. Login now