tests/test-hgweb-empty.t
author Anton Shestakov <av6@dwimlabs.net>
Mon, 11 Dec 2017 15:43:56 +0800
changeset 35409 f84b01257e06
parent 35407 27ab3150cd50
child 35415 56854848e485
permissions -rw-r--r--
hgweb: render next pages on /graph incrementally Previously, when user scrolled down to see the next page on /graph, all hgweb did was re-render everything that would be visible (by simply incrementing revcount). It was not efficient at all, and this patch makes /graph page behave similarly to the regular /log: every new page only consists of new changesets, no duplication, and only jsdata is based on the full set of changesets required to build accurate graph. This is achieved by adding "?graphtop=<node>" to the next page URL template, effectively remembering where the graph started, and using that value to create the new `tree` that covers the whole visible graph. That variable is then used to produce jsdata for redrawing graph client-side. nextentry is used for the same purpose as on /log page (to format the next page URL), but it's not a part of the graph.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22046
7a9cbb315d84 tests: replace exit 80 with #require
Matt Mackall <mpm@selenic.com>
parents: 20253
diff changeset
     1
#require serve
15446
c5c9ca3719f9 tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents: 15071
diff changeset
     2
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
     3
Some tests for hgweb in an empty repository
7565
5f162f61e479 hgweb: fix problems with empty repositories
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
     4
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
     5
  $ hg init test
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
     6
  $ cd test
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
     7
  $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
     8
  $ cat hg.pid >> $DAEMON_PIDS
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 24952
diff changeset
     9
  $ (get-with-headers.py localhost:$HGPORT 'shortlog')
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    10
  200 Script output follows
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    11
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    12
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    13
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    14
  <head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    15
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    16
  <meta name="robots" content="index, nofollow" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    17
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13622
diff changeset
    18
  <script type="text/javascript" src="/static/mercurial.js"></script>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    19
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    20
  <title>test: log</title>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    21
  <link rel="alternate" type="application/atom+xml"
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    22
     href="/atom-log" title="Atom feed for test" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    23
  <link rel="alternate" type="application/rss+xml"
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    24
     href="/rss-log" title="RSS feed for test" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    25
  </head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    26
  <body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    27
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    28
  <div class="container">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    29
  <div class="menu">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    30
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25617
diff changeset
    31
  <a href="https://mercurial-scm.org/">
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    32
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    33
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    34
  <ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    35
  <li class="active">log</li>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
    36
  <li><a href="/graph/tip">graph</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    37
  <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13596
diff changeset
    38
  <li><a href="/bookmarks">bookmarks</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    39
  <li><a href="/branches">branches</a></li>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    40
  </ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    41
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
    42
  <li><a href="/rev/tip">changeset</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
    43
  <li><a href="/file/tip">browse</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    44
  </ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    45
  <ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    46
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    47
  </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
    48
  <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
    49
   <li><a href="/help">help</a></li>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
    50
  </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
    51
  <div class="atom-logo">
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
    52
  <a href="/atom-log" title="subscribe to atom feed">
23830
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
    53
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
    54
  </a>
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
    55
  </div>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    56
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    57
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    58
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
    59
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    60
  <h3>log</h3>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    61
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30765
diff changeset
    62
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    63
  <form class="search" action="/log">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    64
  
19396
afc23eddc324 hgweb: show current search query in the input field
Alexander Plavin <me@aplavin.ru>
parents: 19093
diff changeset
    65
  <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
    66
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
    67
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    68
  </form>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    69
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    70
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
    71
  <a href="/shortlog/tip?revcount=30">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
    72
  <a href="/shortlog/tip?revcount=120">more</a>
19093
6f27efc7db23 hgweb: fix empty navigation detection
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18264
diff changeset
    73
  | rev -1: 
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    74
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    75
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    76
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
    77
  <thead>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    78
   <tr>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    79
    <th class="age">age</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    80
    <th class="author">author</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    81
    <th class="description">description</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    82
   </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
    83
  </thead>
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19447
diff changeset
    84
  <tbody class="stripes2">
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    85
  
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19447
diff changeset
    86
  </tbody>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    87
  </table>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    88
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    89
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
    90
  <a href="/shortlog/tip?revcount=30">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
    91
  <a href="/shortlog/tip?revcount=120">more</a>
19093
6f27efc7db23 hgweb: fix empty navigation detection
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18264
diff changeset
    92
  | rev -1: 
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    93
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    94
  
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
    95
  <script type="text/javascript">
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
    96
      ajaxScrollInit(
19781
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
    97
              '/shortlog/%next%',
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
    98
              '', <!-- NEXTHASH
19781
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
    99
              function (htmlText, previousVal) {
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
   100
                  var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
   101
                  return m ? m[1] : null;
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
   102
              },
24952
169d2470d283 hgweb: bring back infinite scroll in shortlog of paper style
Yuya Nishihara <yuya@tcha.org>
parents: 24054
diff changeset
   103
              '.bigtable > tbody',
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   104
              '<tr class="%class%">\
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   105
              <td colspan="3" style="text-align: center;">%text%</td>\
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   106
              </tr>'
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   107
      );
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   108
  </script>
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   109
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   110
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   111
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   112
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   113
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   114
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   115
  </body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   116
  </html>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   117
  
19093
6f27efc7db23 hgweb: fix empty navigation detection
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18264
diff changeset
   118
  $ echo babar
6f27efc7db23 hgweb: fix empty navigation detection
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18264
diff changeset
   119
  babar
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 24952
diff changeset
   120
  $ (get-with-headers.py localhost:$HGPORT 'log')
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   121
  200 Script output follows
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   122
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   123
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   124
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   125
  <head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   126
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   127
  <meta name="robots" content="index, nofollow" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   128
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13622
diff changeset
   129
  <script type="text/javascript" src="/static/mercurial.js"></script>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   130
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   131
  <title>test: log</title>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   132
  <link rel="alternate" type="application/atom+xml"
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   133
     href="/atom-log" title="Atom feed for test" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   134
  <link rel="alternate" type="application/rss+xml"
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   135
     href="/rss-log" title="RSS feed for test" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   136
  </head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   137
  <body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   138
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   139
  <div class="container">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   140
  <div class="menu">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   141
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25617
diff changeset
   142
  <a href="https://mercurial-scm.org/">
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   143
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   144
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   145
  <ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   146
  <li class="active">log</li>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   147
  <li><a href="/graph/tip">graph</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   148
  <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13596
diff changeset
   149
  <li><a href="/bookmarks">bookmarks</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   150
  <li><a href="/branches">branches</a></li>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   151
  </ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   152
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   153
  <li><a href="/rev/tip">changeset</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   154
  <li><a href="/file/tip">browse</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   155
  </ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   156
  <ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   157
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   158
  </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   159
  <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   160
   <li><a href="/help">help</a></li>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   161
  </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
   162
  <div class="atom-logo">
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
   163
  <a href="/atom-log" title="subscribe to atom feed">
23830
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
   164
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
   165
  </a>
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
   166
  </div>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   167
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   168
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   169
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   170
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   171
  <h3>log</h3>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   172
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30765
diff changeset
   173
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   174
  <form class="search" action="/log">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   175
  
19396
afc23eddc324 hgweb: show current search query in the input field
Alexander Plavin <me@aplavin.ru>
parents: 19093
diff changeset
   176
  <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   177
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   178
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   179
  </form>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   180
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   181
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   182
  <a href="/shortlog/tip?revcount=5">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   183
  <a href="/shortlog/tip?revcount=20">more</a>
19093
6f27efc7db23 hgweb: fix empty navigation detection
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18264
diff changeset
   184
  | rev -1: 
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   185
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   186
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   187
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   188
  <thead>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   189
   <tr>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   190
    <th class="age">age</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   191
    <th class="author">author</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   192
    <th class="description">description</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   193
   </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   194
  </thead>
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19447
diff changeset
   195
  <tbody class="stripes2">
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   196
  
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19447
diff changeset
   197
  </tbody>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   198
  </table>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   199
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   200
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   201
  <a href="/shortlog/tip?revcount=5">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   202
  <a href="/shortlog/tip?revcount=20">more</a>
19093
6f27efc7db23 hgweb: fix empty navigation detection
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18264
diff changeset
   203
  | rev -1: 
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   204
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   205
  
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   206
  <script type="text/javascript">
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   207
      ajaxScrollInit(
19781
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
   208
              '/shortlog/%next%',
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   209
              '', <!-- NEXTHASH
19781
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
   210
              function (htmlText, previousVal) {
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
   211
                  var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
   212
                  return m ? m[1] : null;
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
   213
              },
24952
169d2470d283 hgweb: bring back infinite scroll in shortlog of paper style
Yuya Nishihara <yuya@tcha.org>
parents: 24054
diff changeset
   214
              '.bigtable > tbody',
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   215
              '<tr class="%class%">\
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   216
              <td colspan="3" style="text-align: center;">%text%</td>\
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   217
              </tr>'
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   218
      );
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   219
  </script>
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   220
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   221
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   222
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   223
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   224
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   225
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   226
  </body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   227
  </html>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   228
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 24952
diff changeset
   229
  $ (get-with-headers.py localhost:$HGPORT 'graph')
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   230
  200 Script output follows
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   231
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   232
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   233
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   234
  <head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   235
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   236
  <meta name="robots" content="index, nofollow" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   237
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13622
diff changeset
   238
  <script type="text/javascript" src="/static/mercurial.js"></script>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   239
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   240
  <title>test: revision graph</title>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   241
  <link rel="alternate" type="application/atom+xml"
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   242
     href="/atom-log" title="Atom feed for test: log" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   243
  <link rel="alternate" type="application/rss+xml"
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   244
     href="/rss-log" title="RSS feed for test: log" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   245
  <!--[if IE]><script type="text/javascript" src="/static/excanvas.js"></script><![endif]-->
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   246
  </head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   247
  <body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   248
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   249
  <div class="container">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   250
  <div class="menu">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   251
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25617
diff changeset
   252
  <a href="https://mercurial-scm.org/">
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   253
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   254
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   255
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   256
  <li><a href="/shortlog/tip">log</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   257
  <li class="active">graph</li>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   258
  <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13596
diff changeset
   259
  <li><a href="/bookmarks">bookmarks</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   260
  <li><a href="/branches">branches</a></li>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   261
  </ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   262
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   263
  <li><a href="/rev/tip">changeset</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   264
  <li><a href="/file/tip">browse</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   265
  </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   266
  <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   267
   <li><a href="/help">help</a></li>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   268
  </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
   269
  <div class="atom-logo">
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
   270
  <a href="/atom-log" title="subscribe to atom feed">
23830
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
   271
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
   272
  </a>
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
   273
  </div>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   274
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   275
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   276
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   277
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   278
  <h3>graph</h3>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   279
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30765
diff changeset
   280
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   281
  <form class="search" action="/log">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   282
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30765
diff changeset
   283
  <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   284
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   285
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   286
  </form>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   287
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   288
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   289
  <a href="/graph/tip?revcount=30">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   290
  <a href="/graph/tip?revcount=120">more</a>
19093
6f27efc7db23 hgweb: fix empty navigation detection
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18264
diff changeset
   291
  | rev -1: 
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   292
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   293
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   294
  <noscript><p>The revision graph only works with JavaScript-enabled browsers.</p></noscript>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   295
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   296
  <div id="wrapper">
19453
ece3b329ad25 hgweb: make stripes in graph with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19452
diff changeset
   297
  <ul id="nodebgs" class="stripes2"></ul>
35407
27ab3150cd50 hgweb: calculate <canvas> width and height client-side
Anton Shestakov <av6@dwimlabs.net>
parents: 35255
diff changeset
   298
  <canvas id="graph"></canvas>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   299
  <ul id="graphnodes"></ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   300
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   301
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   302
  <script type="text/javascript">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   303
  <!-- hide script content
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   304
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   305
  var data = [];
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   306
  var graph = new Graph();
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   307
  graph.scale(39);
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   308
  
35160
69a865dc2ada hgweb: define locally used variables as actually local in mercurial.js
Anton Shestakov <av6@dwimlabs.net>
parents: 32758
diff changeset
   309
  graph.vertex = function(x, y, radius, color, parity, cur) {
35255
ad0de63e1d6a hgweb: move common vertex code to Graph.prototype
Anton Shestakov <av6@dwimlabs.net>
parents: 35219
diff changeset
   310
  	Graph.prototype.vertex.apply(this, arguments);
ad0de63e1d6a hgweb: move common vertex code to Graph.prototype
Anton Shestakov <av6@dwimlabs.net>
parents: 35219
diff changeset
   311
  	return ['<li class="bg"></li>', ''];
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   312
  }
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   313
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   314
  graph.render(data);
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   315
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   316
  // stop hiding script -->
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   317
  </script>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   318
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   319
  <div class="navigate">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   320
  <a href="/graph/tip?revcount=30">less</a>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   321
  <a href="/graph/tip?revcount=120">more</a>
19093
6f27efc7db23 hgweb: fix empty navigation detection
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18264
diff changeset
   322
  | rev -1: 
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   323
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   324
  
19783
1c2a309bba4f paper: add infinite scrolling to graph by calling ajaxScrollInit at the page
Alexander Plavin <alexander@plav.in>
parents: 19781
diff changeset
   325
  <script type="text/javascript">
1c2a309bba4f paper: add infinite scrolling to graph by calling ajaxScrollInit at the page
Alexander Plavin <alexander@plav.in>
parents: 19781
diff changeset
   326
      ajaxScrollInit(
35409
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
   327
              '/graph/%next%?graphtop=0000000000000000000000000000000000000000',
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
   328
              '', <!-- NEXTHASH
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
   329
              function (htmlText, previousVal) {
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
   330
                  var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
   331
                  return m ? m[1] : null;
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
   332
              },
19783
1c2a309bba4f paper: add infinite scrolling to graph by calling ajaxScrollInit at the page
Alexander Plavin <alexander@plav.in>
parents: 19781
diff changeset
   333
              '#wrapper',
1c2a309bba4f paper: add infinite scrolling to graph by calling ajaxScrollInit at the page
Alexander Plavin <alexander@plav.in>
parents: 19781
diff changeset
   334
              '<div class="%class%" style="text-align: center;">%text%</div>',
1c2a309bba4f paper: add infinite scrolling to graph by calling ajaxScrollInit at the page
Alexander Plavin <alexander@plav.in>
parents: 19781
diff changeset
   335
              'graph'
1c2a309bba4f paper: add infinite scrolling to graph by calling ajaxScrollInit at the page
Alexander Plavin <alexander@plav.in>
parents: 19781
diff changeset
   336
      );
1c2a309bba4f paper: add infinite scrolling to graph by calling ajaxScrollInit at the page
Alexander Plavin <alexander@plav.in>
parents: 19781
diff changeset
   337
  </script>
1c2a309bba4f paper: add infinite scrolling to graph by calling ajaxScrollInit at the page
Alexander Plavin <alexander@plav.in>
parents: 19781
diff changeset
   338
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   339
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   340
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   341
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   342
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   343
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   344
  </body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   345
  </html>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   346
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 24952
diff changeset
   347
  $ (get-with-headers.py localhost:$HGPORT 'file')
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   348
  200 Script output follows
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   349
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   350
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   351
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   352
  <head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   353
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   354
  <meta name="robots" content="index, nofollow" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   355
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13622
diff changeset
   356
  <script type="text/javascript" src="/static/mercurial.js"></script>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   357
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   358
  <title>test: 000000000000 /</title>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   359
  </head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   360
  <body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   361
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   362
  <div class="container">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   363
  <div class="menu">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   364
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25617
diff changeset
   365
  <a href="https://mercurial-scm.org/">
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   366
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   367
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   368
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   369
  <li><a href="/shortlog/tip">log</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   370
  <li><a href="/graph/tip">graph</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   371
  <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 13596
diff changeset
   372
  <li><a href="/bookmarks">bookmarks</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   373
  <li><a href="/branches">branches</a></li>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   374
  </ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   375
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   376
  <li><a href="/rev/tip">changeset</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   377
  <li class="active">browse</li>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   378
  </ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   379
  <ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   380
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   381
  </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   382
  <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   383
   <li><a href="/help">help</a></li>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   384
  </ul>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   385
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   386
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   387
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   388
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
25617
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
   389
  <h3>
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
   390
   directory / @ -1:<a href="/rev/000000000000">000000000000</a>
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
   391
   <span class="tag">tip</span> 
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
   392
  </h3>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   393
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30765
diff changeset
   394
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   395
  <form class="search" action="/log">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   396
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30765
diff changeset
   397
  <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   398
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
   399
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   400
  </form>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   401
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   402
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   403
  <thead>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   404
  <tr>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   405
    <th class="name">name</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   406
    <th class="size">size</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   407
    <th class="permissions">permissions</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   408
  </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   409
  </thead>
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19396
diff changeset
   410
  <tbody class="stripes2">
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19396
diff changeset
   411
  <tr class="fileline">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   412
    <td class="name"><a href="/file/tip/">[up]</a></td>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   413
    <td class="size"></td>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   414
    <td class="permissions">drwxr-xr-x</td>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   415
  </tr>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   416
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   417
  
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19396
diff changeset
   418
  </tbody>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   419
  </table>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   420
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   421
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   422
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   423
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   424
  </body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   425
  </html>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   426
  
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16137
diff changeset
   427
28710
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   428
  $ (get-with-headers.py localhost:$HGPORT 'atom-bookmarks')
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   429
  200 Script output follows
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   430
  
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   431
  <?xml version="1.0" encoding="ascii"?>
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   432
  <feed xmlns="http://www.w3.org/2005/Atom">
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   433
   <id>http://*:$HGPORT/</id> (glob)
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   434
   <link rel="self" href="http://*:$HGPORT/atom-bookmarks"/> (glob)
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   435
   <link rel="alternate" href="http://*:$HGPORT/bookmarks"/> (glob)
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   436
   <title>test: bookmarks</title>
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   437
   <summary>test bookmark history</summary>
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   438
   <author><name>Mercurial SCM</name></author>
28712
80e922479891 hgweb: generate last change date for an empty atom-bookmarks feed (issue5022)
Anton Shestakov <av6@dwimlabs.net>
parents: 28710
diff changeset
   439
   <updated>1970-01-01T00:00:00+00:00</updated>
28710
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   440
  
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   441
  
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   442
  </feed>
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   443
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16137
diff changeset
   444
  $ cd ..