##// END OF EJS Templates
hgweb: add a test for search logs
Dirkjan Ochtman -
r10248:4441e8d7 default
parent child Browse files
Show More
@@ -26,6 +26,7 b' echo % Logs and changes'
26 26 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/shortlog/'
27 27 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/rev/0/'
28 28 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/rev/1/?style=raw'
29 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log?rev=base'
29 30
30 31 echo % File-related
31 32 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/file/1/foo/?style=raw'
@@ -352,6 +352,76 b' diff -r 2ef0ac749a14 -r a4f92ed23982 .hg'
352 352 @@ -0,0 +1,1 @@
353 353 +2ef0ac749a14e4f57a5a822464a0902c6f7f448f 1.0
354 354
355 200 Script output follows
356
357 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
358 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
359 <head>
360 <link rel="icon" href="/static/hgicon.png" type="image/png" />
361 <meta name="robots" content="index, nofollow" />
362 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
363
364 <title>test: searching for base</title>
365 </head>
366 <body>
367
368 <div class="container">
369 <div class="menu">
370 <div class="logo">
371 <a href="http://mercurial.selenic.com/">
372 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
373 </div>
374 <ul>
375 <li><a href="/shortlog">log</a></li>
376 <li><a href="/graph">graph</a></li>
377 <li><a href="/tags">tags</a></li>
378 <li><a href="/branches">branches</a></li>
379 </ul>
380 </div>
381
382 <div class="main">
383 <h2><a href="/">test</a></h2>
384 <h3>searching for 'base'</h3>
385
386 <form class="search" action="/log">
387
388 <p><input name="rev" id="search1" type="text" size="30"></p>
389 <div id="hint">find changesets by author, revision,
390 files, or words in the commit message</div>
391 </form>
392
393 <div class="navigate">
394 <a href="/search/?rev=base&revcount=5">less</a>
395 <a href="/search/?rev=base&revcount=20">more</a>
396 </div>
397
398 <table class="bigtable">
399 <tr>
400 <th class="age">age</th>
401 <th class="author">author</th>
402 <th class="description">description</th>
403 </tr>
404 <tr class="parity0">
405 <td class="age">1970-01-01</td>
406 <td class="author">test</td>
407 <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> </td>
408 </tr>
409
410 </table>
411
412 <div class="navigate">
413 <a href="/search/?rev=base&revcount=5">less</a>
414 <a href="/search/?rev=base&revcount=20">more</a>
415 </div>
416
417 </div>
418 </div>
419
420
421
422 </body>
423 </html>
424
355 425 % File-related
356 426 200 Script output follows
357 427
General Comments 0
You need to be logged in to leave comments. Login now