tests/test-hgweb-commands.out
changeset 5590 05451f6b5f07
child 5593 6ae8ed59c7b4
equal deleted inserted replaced
5586:b90b72729a72 5590:05451f6b5f07
       
     1 % Set up the repo
       
     2 adding da/foo
       
     3 adding foo
       
     4 % Logs and changes
       
     5 200 Script output follows
       
     6 
       
     7 <?xml version="1.0" encoding="ascii"?>
       
     8 <feed xmlns="http://127.0.0.1/2005/Atom">
       
     9  <!-- Changelog -->
       
    10  <id>http://127.0.0.1/</id>
       
    11  <link rel="self" href="http://127.0.0.1/atom-log"/>
       
    12  <link rel="alternate" href="http://127.0.0.1/"/>
       
    13  <title>test Changelog</title>
       
    14  <updated>1970-01-01T00:00:00+00:00</updated>
       
    15 
       
    16  <entry>
       
    17   <title>Added tag 1.0 for changeset 2ef0ac749a14</title>
       
    18   <id>http://127.0.0.1/mercurial/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id>
       
    19   <link href="http://127.0.0.1/rev/a4f92ed23982be056b9852de5dfe873eaac7f0de"/>
       
    20   <author>
       
    21    <name>test</name>
       
    22    <email>&#116;&#101;&#115;&#116;</email>
       
    23   </author>
       
    24   <updated>1970-01-01T00:00:00+00:00</updated>
       
    25   <published>1970-01-01T00:00:00+00:00</published>
       
    26   <content type="xhtml">
       
    27    <div xmlns="http://127.0.0.1/1999/xhtml">
       
    28     <pre xml:space="preserve">Added tag 1.0 for changeset 2ef0ac749a14</pre>
       
    29    </div>
       
    30   </content>
       
    31  </entry>
       
    32  <entry>
       
    33   <title>base</title>
       
    34   <id>http://127.0.0.1/mercurial/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id>
       
    35   <link href="http://127.0.0.1/rev/2ef0ac749a14e4f57a5a822464a0902c6f7f448f"/>
       
    36   <author>
       
    37    <name>test</name>
       
    38    <email>&#116;&#101;&#115;&#116;</email>
       
    39   </author>
       
    40   <updated>1970-01-01T00:00:00+00:00</updated>
       
    41   <published>1970-01-01T00:00:00+00:00</published>
       
    42   <content type="xhtml">
       
    43    <div xmlns="http://127.0.0.1/1999/xhtml">
       
    44     <pre xml:space="preserve">base</pre>
       
    45    </div>
       
    46   </content>
       
    47  </entry>
       
    48 
       
    49 </feed>
       
    50 200 Script output follows
       
    51 
       
    52 <?xml version="1.0" encoding="ascii"?>
       
    53 <feed xmlns="http://127.0.0.1/2005/Atom">
       
    54  <!-- Changelog -->
       
    55  <id>http://127.0.0.1/</id>
       
    56  <link rel="self" href="http://127.0.0.1/atom-log"/>
       
    57  <link rel="alternate" href="http://127.0.0.1/"/>
       
    58  <title>test Changelog</title>
       
    59  <updated>1970-01-01T00:00:00+00:00</updated>
       
    60 
       
    61  <entry>
       
    62   <title>Added tag 1.0 for changeset 2ef0ac749a14</title>
       
    63   <id>http://127.0.0.1/mercurial/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id>
       
    64   <link href="http://127.0.0.1/rev/a4f92ed23982be056b9852de5dfe873eaac7f0de"/>
       
    65   <author>
       
    66    <name>test</name>
       
    67    <email>&#116;&#101;&#115;&#116;</email>
       
    68   </author>
       
    69   <updated>1970-01-01T00:00:00+00:00</updated>
       
    70   <published>1970-01-01T00:00:00+00:00</published>
       
    71   <content type="xhtml">
       
    72    <div xmlns="http://127.0.0.1/1999/xhtml">
       
    73     <pre xml:space="preserve">Added tag 1.0 for changeset 2ef0ac749a14</pre>
       
    74    </div>
       
    75   </content>
       
    76  </entry>
       
    77  <entry>
       
    78   <title>base</title>
       
    79   <id>http://127.0.0.1/mercurial/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id>
       
    80   <link href="http://127.0.0.1/rev/2ef0ac749a14e4f57a5a822464a0902c6f7f448f"/>
       
    81   <author>
       
    82    <name>test</name>
       
    83    <email>&#116;&#101;&#115;&#116;</email>
       
    84   </author>
       
    85   <updated>1970-01-01T00:00:00+00:00</updated>
       
    86   <published>1970-01-01T00:00:00+00:00</published>
       
    87   <content type="xhtml">
       
    88    <div xmlns="http://127.0.0.1/1999/xhtml">
       
    89     <pre xml:space="preserve">base</pre>
       
    90    </div>
       
    91   </content>
       
    92  </entry>
       
    93 
       
    94 </feed>
       
    95 200 Script output follows
       
    96 
       
    97 <?xml version="1.0" encoding="ascii"?>
       
    98 <feed xmlns="http://127.0.0.1/2005/Atom">
       
    99  <id>http://127.0.0.1/atom-log/tip/foo</id>
       
   100  <link rel="self" href="http://127.0.0.1/atom-log/tip/foo"/>
       
   101  <title>test: foo history</title>
       
   102  <updated>1970-01-01T00:00:00+00:00</updated>
       
   103 
       
   104  <entry>
       
   105   <title>base</title>
       
   106   <id>http://127.0.0.1/mercurial/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id>
       
   107   <link href="http://127.0.0.1/rev/2ef0ac749a14e4f57a5a822464a0902c6f7f448f"/>
       
   108   <author>
       
   109    <name>test</name>
       
   110    <email>&#116;&#101;&#115;&#116;</email>
       
   111   </author>
       
   112   <updated>1970-01-01T00:00:00+00:00</updated>
       
   113   <published>1970-01-01T00:00:00+00:00</published>
       
   114   <content type="xhtml">
       
   115    <div xmlns="http://127.0.0.1/1999/xhtml">
       
   116     <pre xml:space="preserve">base</pre>
       
   117    </div>
       
   118   </content>
       
   119  </entry>
       
   120 
       
   121 </feed>
       
   122 200 Script output follows
       
   123 
       
   124 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
       
   125 <html>
       
   126 <head>
       
   127 <link rel="icon" href="/static/hgicon.png" type="image/png">
       
   128 <meta name="robots" content="index, nofollow" />
       
   129 <link rel="stylesheet" href="/static/style.css" type="text/css" />
       
   130 
       
   131 <title>test: shortlog</title>
       
   132 <link rel="alternate" type="application/atom+xml"
       
   133    href="/atom-log" title="Atom feed for test">
       
   134 <link rel="alternate" type="application/rss+xml"
       
   135    href="/rss-log" title="RSS feed for test">
       
   136 </head>
       
   137 <body>
       
   138 
       
   139 <div class="buttons">
       
   140 <a href="/log/1">changelog</a>
       
   141 <a href="/tags">tags</a>
       
   142 <a href="/file/a4f92ed23982/">manifest</a>
       
   143 
       
   144 <a type="application/rss+xml" href="/rss-log">rss</a>
       
   145 <a type="application/rss+xml" href="/atom-log" title="Atom feed for test">atom</a>
       
   146 </div>
       
   147 
       
   148 <h2>shortlog for test</h2>
       
   149 
       
   150 <form action="/log">
       
   151 
       
   152 <p>
       
   153 <label for="search1">search:</label>
       
   154 <input name="rev" id="search1" type="text" size="30">
       
   155 navigate: <small class="navigate"><a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> </small>
       
   156 </p>
       
   157 </form>
       
   158 
       
   159 <table class="slogEntry parity0">
       
   160  <tr>
       
   161   <td class="age">many years</td>
       
   162   <td class="author">test</td>
       
   163   <td class="node"><a href="/rev/a4f92ed23982">Added tag 1.0 for changeset 2ef0ac749a14</a></td>
       
   164  </tr>
       
   165 </table>
       
   166 <table class="slogEntry parity1">
       
   167  <tr>
       
   168   <td class="age">many years</td>
       
   169   <td class="author">test</td>
       
   170   <td class="node"><a href="/rev/2ef0ac749a14">base</a></td>
       
   171  </tr>
       
   172 </table>
       
   173 
       
   174 
       
   175 <form action="/log">
       
   176 
       
   177 <p>
       
   178 <label for="search2">search:</label>
       
   179 <input name="rev" id="search2" type="text" size="30">
       
   180 navigate: <small class="navigate"><a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> </small>
       
   181 </p>
       
   182 </form>
       
   183 
       
   184 
       
   185 <div class="logo">
       
   186 powered by<br/>
       
   187 <a href="http://www.selenic.com/mercurial/">mercurial</a>
       
   188 </div>
       
   189 
       
   190 </body>
       
   191 </html>
       
   192 
       
   193 200 Script output follows
       
   194 
       
   195 
       
   196 # HG changeset patch
       
   197 # User test
       
   198 # Date 0 0
       
   199 # Node ID a4f92ed23982be056b9852de5dfe873eaac7f0de
       
   200 # Parent 2ef0ac749a14e4f57a5a822464a0902c6f7f448f
       
   201 Added tag 1.0 for changeset 2ef0ac749a14
       
   202 
       
   203 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
       
   204 +++ b/.hgtags	Thu Jan 01 00:00:00 1970 +0000
       
   205 @@ -0,0 +1,1 @@
       
   206 +2ef0ac749a14e4f57a5a822464a0902c6f7f448f 1.0
       
   207 
       
   208 % File-related
       
   209 200 Script output follows
       
   210 
       
   211 foo
       
   212 200 Script output follows
       
   213 
       
   214 
       
   215 test@0: foo
       
   216 
       
   217 
       
   218 
       
   219 
       
   220 200 Script output follows
       
   221 
       
   222 
       
   223 drwxr-xr-x da
       
   224 -rw-r--r-- 45 .hgtags
       
   225 -rw-r--r-- 4 foo
       
   226 
       
   227 
       
   228 200 Script output follows
       
   229 
       
   230 
       
   231 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
       
   232 +++ b/foo	Thu Jan 01 00:00:00 1970 +0000
       
   233 @@ -0,0 +1,1 @@
       
   234 +foo
       
   235 
       
   236 
       
   237 
       
   238 
       
   239 % Overviews
       
   240 200 Script output follows
       
   241 
       
   242 <?xml version="1.0" encoding="ascii"?>
       
   243 <feed xmlns="http://127.0.0.1/2005/Atom">
       
   244  <id>http://127.0.0.1/</id>
       
   245  <link rel="self" href="http://127.0.0.1/atom-tags"/>
       
   246  <link rel="alternate" href="http://127.0.0.1/tags"/>
       
   247  <title>test: tags</title>
       
   248  <summary>test tag history</summary>
       
   249  <author><name>Mercurial SCM</name></author>
       
   250  <updated>1970-01-01T00:00:00+00:00</updated>
       
   251 
       
   252  <entry>
       
   253   <title>1.0</title>
       
   254   <link rel="alternate" href="http://127.0.0.1/rev/2ef0ac749a14e4f57a5a822464a0902c6f7f448f"/>
       
   255   <id>http://127.0.0.1/mercurial/#tag-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id>
       
   256   <updated>1970-01-01T00:00:00+00:00</updated>
       
   257   <published>1970-01-01T00:00:00+00:00</published>
       
   258   <content type="text">1.0</content>
       
   259  </entry>
       
   260 
       
   261 </feed>
       
   262 200 Script output follows
       
   263 
       
   264 <?xml version="1.0" encoding="ascii"?>
       
   265 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       
   266 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
       
   267 <head>
       
   268 <link rel="icon" href="/static/hgicon.png" type="image/png">
       
   269 <meta name="robots" content="index, nofollow"/>
       
   270 <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" />
       
   271 
       
   272 
       
   273 <title>test: Summary</title>
       
   274 <link rel="alternate" type="application/atom+xml"
       
   275    href="/atom-log" title="Atom feed for test">
       
   276 <link rel="alternate" type="application/rss+xml"
       
   277    href="/rss-log" title="RSS feed for test">
       
   278 </head>
       
   279 <body>
       
   280 
       
   281 <div class="page_header">
       
   282 <a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="/summary?style=gitweb">test</a> / summary
       
   283 
       
   284 <form action="/log">
       
   285 <input type="hidden" name="style" value="gitweb" />
       
   286 <div class="search">
       
   287 <input type="text" name="rev"  />
       
   288 </div>
       
   289 </form>
       
   290 </div>
       
   291 
       
   292 <div class="page_nav">
       
   293 summary |
       
   294 <a href="/shortlog?style=gitweb">shortlog</a> |
       
   295 <a href="/log?style=gitweb">changelog</a> |
       
   296 <a href="/tags?style=gitweb">tags</a> |
       
   297 <a href="/file/a4f92ed23982?style=gitweb">manifest</a>
       
   298 <br/>
       
   299 </div>
       
   300 
       
   301 <div class="title">&nbsp;</div>
       
   302 <table cellspacing="0">
       
   303 <tr><td>description</td><td>unknown</td></tr>
       
   304 <tr><td>owner</td><td>unknown</td></tr>
       
   305 <tr><td>last change</td><td>Thu, 01 Jan 1970 00:00:00 +0000</td></tr>
       
   306 </table>
       
   307 
       
   308 <div><a  class="title" href="/shortlog?style=gitweb">changes</a></div>
       
   309 <table cellspacing="0">
       
   310 <tr class="parity0"><td class="age"><i>long ago</i></td><td><i>test</i></td><td><a class="list" href="/rev/a4f92ed23982?style=gitweb"><b>Added tag 1.0 for changeset 2ef0ac749a14</b> <span class="logtags"><span class="branchtag" title="default">default</span> <span class="tagtag" title="tip">tip</span> </span></a></td><td class="link" nowrap><a href="/rev/a4f92ed23982?style=gitweb">changeset</a> | <a href="/file/a4f92ed23982?style=gitweb">manifest</a></td></tr><tr class="parity1"><td class="age"><i>37 years ago</i></td><td><i>test</i></td><td><a class="list" href="/rev/2ef0ac749a14?style=gitweb"><b>base</b> <span class="logtags"><span class="tagtag" title="1.0">1.0</span> </span></a></td><td class="link" nowrap><a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> | <a href="/file/2ef0ac749a14?style=gitweb">manifest</a></td></tr>
       
   311 <tr class="light"><td colspan="4"><a class="list" href="/shortlog?style=gitweb">...</a></td></tr>
       
   312 </table>
       
   313 
       
   314 <div><a class="title" href="/tags?style=gitweb">tags</a></div>
       
   315 <table cellspacing="0">
       
   316 <tr class="parity0"><td class="age"><i>long ago</i></td><td><a class="list" href="/rev/2ef0ac749a14?style=gitweb"><b>1.0</b></a></td><td class="link"><a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> | <a href="/log/2ef0ac749a14?style=gitweb">changelog</a> | <a href="/file/2ef0ac749a14?style=gitweb">manifest</a></td></tr>
       
   317 <tr class="light"><td colspan="3"><a class="list" href="/tags?style=gitweb">...</a></td></tr>
       
   318 </table>
       
   319 
       
   320 <div><a class="title" href="#">branches</a></div>
       
   321 <table cellspacing="0">
       
   322 <tr class="parity0"><td class="age"><i>long ago</i></td><td><a class="list" href="/rev/a4f92ed23982?style=gitweb"><b>a4f92ed23982</b></td><td>default</td><td class="link"><a href="/rev/a4f92ed23982?style=gitweb">changeset</a> | <a href="/log/a4f92ed23982?style=gitweb">changelog</a> | <a href="/file/a4f92ed23982?style=gitweb">manifest</a></td></tr>
       
   323 <tr class="light">
       
   324   <td colspan="4"><a class="list"  href="#">...</a></td>
       
   325 </tr>
       
   326 </table>
       
   327 <div class="page_footer">
       
   328 <div class="page_footer_text">test</div>
       
   329 <a class="rss_logo" href="/rss-log">RSS</a> 
       
   330 <a class="rss_logo" href="/atom-log">Atom</a>
       
   331 <br />
       
   332 
       
   333 </div>
       
   334 </body>
       
   335 </html>
       
   336 
       
   337 % Internals
       
   338 200 Script output follows
       
   339 
       
   340 lookup changegroupsubset unbundle=HG10GZ,HG10BZ,HG10UN200 Script output follows
       
   341 
       
   342 a4f92ed23982be056b9852de5dfe873eaac7f0de
       
   343 200 Script output follows
       
   344 
       
   345 0 'key'
       
   346 200 Script output follows
       
   347 
       
   348 a4f92ed23982be056b9852de5dfe873eaac7f0de 2ef0ac749a14e4f57a5a822464a0902c6f7f448f 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000
       
   349 200 Script output follows
       
   350 
       
   351 xœc`@
       
   352 1
       
   353 % Static files
       
   354 200 Script output follows
       
   355 
       
   356 a { text-decoration:none; }
       
   357 .age { white-space:nowrap; }
       
   358 .date { white-space:nowrap; }
       
   359 .indexlinks { white-space:nowrap; }
       
   360 .parity0 { background-color: #dddddd; }
       
   361 .parity1 { background-color: #eeeeee; }
       
   362 .lineno { width: 60px; color: #aaaaaa; font-size: smaller;
       
   363           text-align: right; padding-right:1em; }
       
   364 .plusline { color: green; }
       
   365 .minusline { color: red; }
       
   366 .atline { color: purple; }
       
   367 .annotate { font-size: smaller; text-align: right; padding-right: 1em; }
       
   368 .buttons a {
       
   369   background-color: #666666;
       
   370   padding: 2pt;
       
   371   color: white;
       
   372   font-family: sans;
       
   373   font-weight: bold;
       
   374 }
       
   375 .navigate a {
       
   376   background-color: #ccc;
       
   377   padding: 2pt;
       
   378   font-family: sans;
       
   379   color: black;
       
   380 }
       
   381 
       
   382 .metatag {
       
   383   background-color: #888888;
       
   384   color: white;
       
   385   text-align: right;
       
   386 }
       
   387 
       
   388 /* Common */
       
   389 pre { margin: 0; }
       
   390 
       
   391 .logo {
       
   392   background-color: #333;
       
   393   padding: 4pt;
       
   394   margin: 8pt 0 8pt 8pt;
       
   395   font-family: sans;
       
   396   font-size: 60%;
       
   397   color: white;
       
   398   float: right;
       
   399   clear: right;
       
   400   text-align: left;
       
   401 }
       
   402 
       
   403 .logo a {
       
   404   font-weight: bold;
       
   405   font-size: 150%;
       
   406   color: #999;
       
   407 }
       
   408 
       
   409 /* Changelog/Filelog entries */
       
   410 .logEntry { width: 100%; }
       
   411 .logEntry .age { width: 15%; }
       
   412 .logEntry th { font-weight: normal; text-align: right; vertical-align: top; }
       
   413 .logEntry th.age, .logEntry th.firstline { font-weight: bold; }
       
   414 .logEntry th.firstline { text-align: left; width: inherit; }
       
   415 
       
   416 /* Shortlog entries */
       
   417 .slogEntry { width: 100%; }
       
   418 .slogEntry .age { width: 8em; }
       
   419 .slogEntry td { font-weight: normal; text-align: left; vertical-align: top; }
       
   420 .slogEntry td.author { width: 15em; }
       
   421 
       
   422 /* Tag entries */
       
   423 #tagEntries { list-style: none; margin: 0; padding: 0; }
       
   424 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
       
   425 
       
   426 /* Changeset entry */
       
   427 #changesetEntry { }
       
   428 #changesetEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
       
   429 #changesetEntry th.files, #changesetEntry th.description { vertical-align: top; }
       
   430 
       
   431 /* File diff view */
       
   432 #filediffEntry { }
       
   433 #filediffEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
       
   434 
       
   435 % ERRORS ENCOUNTERED