tests/test-hgweb-empty.t
author Matt Harbison <matt_harbison@yahoo.com>
Thu, 17 Oct 2024 15:21:20 -0400
changeset 52114 7332eae326de
parent 51838 3b8d92f71d92
permissions -rw-r--r--
tests: force `dumbhttp.py` to write its log file with '\n' on Windows This wasn't causing obvious test failures, but it's the same fix as dbd2d56224d1 for `dummysmtpd.py`, and there's no sense in leaving this problem lying around. (And upon further review, it might have been causing some non-obviously related failures- see the next commit.)
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
51838
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
     3
Some tests for hgweb in an empty repository and empty archive
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
51838
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
     7
  $ cat << EOF >> .hg/hgrc
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
     8
  > [web]
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
     9
  > allow-archive = zip
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
    10
  > [ui]
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
    11
  > archivemeta = False
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
    12
  > EOF
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    13
  $ 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
    14
  $ cat hg.pid >> $DAEMON_PIDS
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 24952
diff changeset
    15
  $ (get-with-headers.py localhost:$HGPORT 'shortlog')
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    16
  200 Script output follows
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    17
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    18
  <!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
    19
  <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
    20
  <head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    21
  <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
    22
  <meta name="robots" content="index, nofollow" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    23
  <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
    24
  <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
    25
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    26
  <title>test: log</title>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    27
  <link rel="alternate" type="application/atom+xml"
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    28
     href="/atom-log" title="Atom feed for test" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    29
  <link rel="alternate" type="application/rss+xml"
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    30
     href="/rss-log" title="RSS feed for test" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    31
  </head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    32
  <body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    33
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    34
  <div class="container">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    35
  <div class="menu">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    36
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25617
diff changeset
    37
  <a href="https://mercurial-scm.org/">
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    38
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    39
  </div>
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
  <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
    42
  <li><a href="/graph/tip">graph</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    43
  <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
    44
  <li><a href="/bookmarks">bookmarks</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    45
  <li><a href="/branches">branches</a></li>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    46
  </ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    47
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
    48
  <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
    49
  <li><a href="/file/tip">browse</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    50
  </ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    51
  <ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    52
  
51838
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
    53
  <li>
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
    54
  <a href="/archive/tip.zip">zip</a>
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
    55
  </li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    56
  </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
    57
  <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
    58
   <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
    59
  </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
    60
  <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
    61
  <a href="/atom-log" title="subscribe to atom feed">
23830
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
    62
  <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
    63
  </a>
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
    64
  </div>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    65
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    66
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    67
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
    68
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    69
  <h3>log</h3>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    70
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30765
diff changeset
    71
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    72
  <form class="search" action="/log">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    73
  
19396
afc23eddc324 hgweb: show current search query in the input field
Alexander Plavin <me@aplavin.ru>
parents: 19093
diff changeset
    74
  <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
    75
  <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
    76
  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
    77
  </form>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    78
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    79
  <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
    80
  <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
    81
  <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
    82
  | rev -1: 
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    83
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    84
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    85
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
    86
  <thead>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    87
   <tr>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    88
    <th class="age">age</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    89
    <th class="author">author</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    90
    <th class="description">description</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    91
   </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
    92
  </thead>
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19447
diff changeset
    93
  <tbody class="stripes2">
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    94
  
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19447
diff changeset
    95
  </tbody>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    96
  </table>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    97
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
    98
  <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
    99
  <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
   100
  <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
   101
  | rev -1: 
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   102
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   103
  
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   104
  <script type="text/javascript">
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   105
      ajaxScrollInit(
19781
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
   106
              '/shortlog/%next%',
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   107
              '', <!-- NEXTHASH
35654
59c842a3d1e1 hgweb: remove unused second argument of nextPageVarGet()
Anton Shestakov <av6@dwimlabs.net>
parents: 35605
diff changeset
   108
              function (htmlText) {
19781
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
   109
                  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
   110
                  return m ? m[1] : null;
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
   111
              },
24952
169d2470d283 hgweb: bring back infinite scroll in shortlog of paper style
Yuya Nishihara <yuya@tcha.org>
parents: 24054
diff changeset
   112
              '.bigtable > tbody',
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   113
              '<tr class="%class%">\
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   114
              <td colspan="3" style="text-align: center;">%text%</td>\
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   115
              </tr>'
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   116
      );
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   117
  </script>
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   118
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   119
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   120
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   121
  
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
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   124
  </body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   125
  </html>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   126
  
19093
6f27efc7db23 hgweb: fix empty navigation detection
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18264
diff changeset
   127
  $ echo babar
6f27efc7db23 hgweb: fix empty navigation detection
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18264
diff changeset
   128
  babar
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 24952
diff changeset
   129
  $ (get-with-headers.py localhost:$HGPORT 'log')
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   130
  200 Script output follows
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   131
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   132
  <!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
   133
  <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
   134
  <head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   135
  <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
   136
  <meta name="robots" content="index, nofollow" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   137
  <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
   138
  <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
   139
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   140
  <title>test: log</title>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   141
  <link rel="alternate" type="application/atom+xml"
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   142
     href="/atom-log" title="Atom feed for test" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   143
  <link rel="alternate" type="application/rss+xml"
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   144
     href="/rss-log" title="RSS feed for test" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   145
  </head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   146
  <body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   147
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   148
  <div class="container">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   149
  <div class="menu">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   150
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25617
diff changeset
   151
  <a href="https://mercurial-scm.org/">
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   152
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   153
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   154
  <ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   155
  <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
   156
  <li><a href="/graph/tip">graph</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   157
  <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
   158
  <li><a href="/bookmarks">bookmarks</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   159
  <li><a href="/branches">branches</a></li>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   160
  </ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   161
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   162
  <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
   163
  <li><a href="/file/tip">browse</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   164
  </ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   165
  <ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   166
  
51838
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   167
  <li>
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   168
  <a href="/archive/tip.zip">zip</a>
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   169
  </li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   170
  </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   171
  <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   172
   <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
   173
  </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
   174
  <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
   175
  <a href="/atom-log" title="subscribe to atom feed">
23830
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
   176
  <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
   177
  </a>
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
   178
  </div>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   179
  </div>
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="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   182
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   183
  <h3>log</h3>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   184
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30765
diff changeset
   185
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   186
  <form class="search" action="/log">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   187
  
19396
afc23eddc324 hgweb: show current search query in the input field
Alexander Plavin <me@aplavin.ru>
parents: 19093
diff changeset
   188
  <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
   189
  <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
   190
  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
   191
  </form>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   192
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   193
  <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
   194
  <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
   195
  <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
   196
  | rev -1: 
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   197
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   198
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   199
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   200
  <thead>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   201
   <tr>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   202
    <th class="age">age</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   203
    <th class="author">author</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   204
    <th class="description">description</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   205
   </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   206
  </thead>
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19447
diff changeset
   207
  <tbody class="stripes2">
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   208
  
19452
6f5556454edd hgweb: make stripes in log and search with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19447
diff changeset
   209
  </tbody>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   210
  </table>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   211
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   212
  <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
   213
  <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
   214
  <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
   215
  | rev -1: 
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   216
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   217
  
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   218
  <script type="text/javascript">
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   219
      ajaxScrollInit(
19781
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
   220
              '/shortlog/%next%',
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   221
              '', <!-- NEXTHASH
35654
59c842a3d1e1 hgweb: remove unused second argument of nextPageVarGet()
Anton Shestakov <av6@dwimlabs.net>
parents: 35605
diff changeset
   222
              function (htmlText) {
19781
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
   223
                  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
   224
                  return m ? m[1] : null;
74564c90026b hgweb: make infinite scroll handling more generic and extensible
Alexander Plavin <alexander@plav.in>
parents: 19747
diff changeset
   225
              },
24952
169d2470d283 hgweb: bring back infinite scroll in shortlog of paper style
Yuya Nishihara <yuya@tcha.org>
parents: 24054
diff changeset
   226
              '.bigtable > tbody',
19747
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   227
              '<tr class="%class%">\
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   228
              <td colspan="3" style="text-align: center;">%text%</td>\
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   229
              </tr>'
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   230
      );
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   231
  </script>
da3808bcfbfa paper: call ajaxScrollInit in shortlog
Alexander Plavin <alexander@plav.in>
parents: 19453
diff changeset
   232
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   233
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   234
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   235
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   236
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   237
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   238
  </body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   239
  </html>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   240
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 24952
diff changeset
   241
  $ (get-with-headers.py localhost:$HGPORT 'graph')
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   242
  200 Script output follows
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   243
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   244
  <!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
   245
  <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
   246
  <head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   247
  <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
   248
  <meta name="robots" content="index, nofollow" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   249
  <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
   250
  <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
   251
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   252
  <title>test: revision graph</title>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   253
  <link rel="alternate" type="application/atom+xml"
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   254
     href="/atom-log" title="Atom feed for test: log" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   255
  <link rel="alternate" type="application/rss+xml"
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   256
     href="/rss-log" title="RSS feed for test: log" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   257
  </head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   258
  <body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   259
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   260
  <div class="container">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   261
  <div class="menu">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   262
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25617
diff changeset
   263
  <a href="https://mercurial-scm.org/">
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   264
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   265
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   266
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   267
  <li><a href="/shortlog/tip">log</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   268
  <li class="active">graph</li>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   269
  <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
   270
  <li><a href="/bookmarks">bookmarks</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   271
  <li><a href="/branches">branches</a></li>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   272
  </ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   273
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   274
  <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
   275
  <li><a href="/file/tip">browse</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   276
  </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   277
  <ul>
38482
5faaa31a6082 hgweb: add archive entries to graph page
Anton Shestakov <av6@dwimlabs.net>
parents: 38203
diff changeset
   278
  
51838
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   279
  <li>
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   280
  <a href="/archive/tip.zip">zip</a>
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   281
  </li>
38482
5faaa31a6082 hgweb: add archive entries to graph page
Anton Shestakov <av6@dwimlabs.net>
parents: 38203
diff changeset
   282
  </ul>
5faaa31a6082 hgweb: add archive entries to graph page
Anton Shestakov <av6@dwimlabs.net>
parents: 38203
diff changeset
   283
  <ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   284
   <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
   285
  </ul>
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
   286
  <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
   287
  <a href="/atom-log" title="subscribe to atom feed">
23830
c4f6fc4eb01e hgweb: close <img> elements
Anton Shestakov <engored@ya.ru>
parents: 23829
diff changeset
   288
  <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
   289
  </a>
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17580
diff changeset
   290
  </div>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   291
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   292
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   293
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   294
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   295
  <h3>graph</h3>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   296
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30765
diff changeset
   297
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   298
  <form class="search" action="/log">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   299
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30765
diff changeset
   300
  <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
   301
  <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
   302
  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
   303
  </form>
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
  <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
   306
  <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
   307
  <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
   308
  | rev -1: 
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   309
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   310
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   311
  <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
   312
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   313
  <div id="wrapper">
35407
27ab3150cd50 hgweb: calculate <canvas> width and height client-side
Anton Shestakov <av6@dwimlabs.net>
parents: 35255
diff changeset
   314
  <canvas id="graph"></canvas>
35529
5afe0ca59b07 paper: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35415
diff changeset
   315
  <ul id="graphnodes" class="stripes2"></ul>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   316
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   317
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   318
  <script type="text/javascript">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   319
  var data = [];
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   320
  var graph = new Graph();
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   321
  graph.scale(39);
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   322
  graph.render(data);
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   323
  </script>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   324
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   325
  <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
   326
  <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
   327
  <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
   328
  | rev -1: 
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   329
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   330
  
19783
1c2a309bba4f paper: add infinite scrolling to graph by calling ajaxScrollInit at the page
Alexander Plavin <alexander@plav.in>
parents: 19781
diff changeset
   331
  <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
   332
      ajaxScrollInit(
35409
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
   333
              '/graph/%next%?graphtop=0000000000000000000000000000000000000000',
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
   334
              '', <!-- NEXTHASH
35654
59c842a3d1e1 hgweb: remove unused second argument of nextPageVarGet()
Anton Shestakov <av6@dwimlabs.net>
parents: 35605
diff changeset
   335
              function (htmlText) {
35409
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
   336
                  var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
   337
                  return m ? m[1] : null;
f84b01257e06 hgweb: render next pages on /graph incrementally
Anton Shestakov <av6@dwimlabs.net>
parents: 35407
diff changeset
   338
              },
19783
1c2a309bba4f paper: add infinite scrolling to graph by calling ajaxScrollInit at the page
Alexander Plavin <alexander@plav.in>
parents: 19781
diff changeset
   339
              '#wrapper',
1c2a309bba4f paper: add infinite scrolling to graph by calling ajaxScrollInit at the page
Alexander Plavin <alexander@plav.in>
parents: 19781
diff changeset
   340
              '<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
   341
              'graph'
1c2a309bba4f paper: add infinite scrolling to graph by calling ajaxScrollInit at the page
Alexander Plavin <alexander@plav.in>
parents: 19781
diff changeset
   342
      );
1c2a309bba4f paper: add infinite scrolling to graph by calling ajaxScrollInit at the page
Alexander Plavin <alexander@plav.in>
parents: 19781
diff changeset
   343
  </script>
1c2a309bba4f paper: add infinite scrolling to graph by calling ajaxScrollInit at the page
Alexander Plavin <alexander@plav.in>
parents: 19781
diff changeset
   344
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   345
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   346
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   347
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   348
  
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
  </body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   351
  </html>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   352
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 24952
diff changeset
   353
  $ (get-with-headers.py localhost:$HGPORT 'file')
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   354
  200 Script output follows
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   355
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   356
  <!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
   357
  <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
   358
  <head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   359
  <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
   360
  <meta name="robots" content="index, nofollow" />
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   361
  <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
   362
  <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
   363
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   364
  <title>test: 000000000000 /</title>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   365
  </head>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   366
  <body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   367
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   368
  <div class="container">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   369
  <div class="menu">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   370
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 25617
diff changeset
   371
  <a href="https://mercurial-scm.org/">
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   372
  <img src="/static/hglogo.png" alt="mercurial" /></a>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   373
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   374
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   375
  <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
   376
  <li><a href="/graph/tip">graph</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   377
  <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
   378
  <li><a href="/bookmarks">bookmarks</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   379
  <li><a href="/branches">branches</a></li>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   380
  </ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   381
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   382
  <li><a href="/rev/tip">changeset</a></li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   383
  <li class="active">browse</li>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   384
  </ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   385
  <ul>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   386
  
51838
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   387
  <li>
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   388
  <a href="/archive/tip.zip">zip</a>
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   389
  </li>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   390
  </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   391
  <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12436
diff changeset
   392
   <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
   393
  </ul>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   394
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   395
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   396
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18200
diff changeset
   397
  <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
   398
  <h3>
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
   399
   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
   400
   <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
   401
  </h3>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   402
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30765
diff changeset
   403
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   404
  <form class="search" action="/log">
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   405
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30765
diff changeset
   406
  <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
   407
  <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
   408
  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
   409
  </form>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   410
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   411
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   412
  <thead>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   413
  <tr>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   414
    <th class="name">name</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   415
    <th class="size">size</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   416
    <th class="permissions">permissions</th>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   417
  </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
   418
  </thead>
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19396
diff changeset
   419
  <tbody class="stripes2">
38203
c2e3bc99fba4 paper: don't show '[up]' in file view when in root directory already
Anton Shestakov <av6@dwimlabs.net>
parents: 35654
diff changeset
   420
  
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   421
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   422
  
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 19396
diff changeset
   423
  </tbody>
12436
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   424
  </table>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   425
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   426
  </div>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   427
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   428
  
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   429
  </body>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   430
  </html>
b52ce78de84d tests: unify test-hgweb-empty
Matt Mackall <mpm@selenic.com>
parents: 7565
diff changeset
   431
  
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16137
diff changeset
   432
28710
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   433
  $ (get-with-headers.py localhost:$HGPORT 'atom-bookmarks')
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   434
  200 Script output follows
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   435
  
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   436
  <?xml version="1.0" encoding="ascii"?>
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   437
  <feed xmlns="http://www.w3.org/2005/Atom">
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   438
   <id>http://*:$HGPORT/</id> (glob)
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   439
   <link rel="self" href="http://*:$HGPORT/atom-bookmarks"/> (glob)
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   440
   <link rel="alternate" href="http://*:$HGPORT/bookmarks"/> (glob)
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   441
   <title>test: bookmarks</title>
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   442
   <summary>test bookmark history</summary>
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   443
   <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
   444
   <updated>1970-01-01T00:00:00+00:00</updated>
28710
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   445
  
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   446
  
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   447
  </feed>
ca0c0ca30c62 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net>
parents: 27913
diff changeset
   448
51838
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   449
Fetching an empty archive
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   450
-------------------------
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   451
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   452
Test that archiving without matching files is rejected as error,
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   453
not as Internal Server Error.
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   454
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   455
  $ get-with-headers.py --headeronly localhost:$HGPORT archive/null.zip
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   456
  403 Forbidden
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   457
  [1]
3b8d92f71d92 archive: defer opening the output until a file is matched
Joerg Sonnenberger <joerg@bec.de>
parents: 38482
diff changeset
   458
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16137
diff changeset
   459
  $ cd ..