tests/test-hgweb-descend-empties.t
author Martin von Zweigbergk <martinvonz@google.com>
Sun, 09 Jul 2017 17:02:09 -0700
changeset 33379 7ddb2aa2b7af
parent 32762 2d93d2159e30
child 35064 9acc0360ff67
permissions -rw-r--r--
match: express anypats(), not prefix(), in terms of the others When I added prefix() in 9789b4a7c595 (match: introduce boolean prefix() method, 2014-10-28), we already had always(), isexact(), and anypats(), so it made sense to write it in terms of them (a prefix matcher is one that isn't any of the other types). It's only now that I realize that it's much more natural to define prefix() explicitly (it's one that uses path: patterns, roughly speaking) and let anypats() be defined in terms of the others. Remember that these methods are all used for determining which fast paths are possible. anypats() simply means that no fast paths are possible (it could be called complex() instead). Further evidence is that rootfilesin:some/dir does not have any patterns, but it's still considered to be an anypats() matcher. That's because anypats() really just means that it's not a prefix() matcher (and not always() and not isexact()). This patch thus changes prefix() to return False by default and anypats() to return True only if the other three are False. Having anypats() be True by default also seems like a good thing, because it means forgetting to override it will lead only to performance bugs, not correctness bugs. Since the base class's implementation changes, we're also forced to update the subclasses. That change exposed and fixed a bug in the differencematcher: for example when both its two input matchers were prefix matchers, we would say that the result was also a prefix matcher, which is incorrect, because e.g "path:dir - path:dir/foo" no longer matches everything under "dir" (which is what prefix() means).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22046
7a9cbb315d84 tests: replace exit 80 with #require
Matt Mackall <mpm@selenic.com>
parents: 19796
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: 14046
diff changeset
     2
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
     3
Test chains of near empty directories, terminating 3 different ways:
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
     4
- a1: file at level 4 (deepest)
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
     5
- b1: two dirs at level 3
25345
8be8c2d3559a tests: actualize the comment in test-hgweb-descend-empties.t
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
     6
- d1: file at level 2
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
     7
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
     8
Set up the repo
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
     9
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    10
  $ hg init test
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    11
  $ cd test
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    12
  $ mkdir -p a1/a2/a3/a4
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    13
  $ mkdir -p b1/b2/b3/b4
25345
8be8c2d3559a tests: actualize the comment in test-hgweb-descend-empties.t
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
    14
  $ mkdir -p b1/b2/b3/c4
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    15
  $ mkdir -p d1/d2/d3/d4
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    16
  $ echo foo > a1/a2/a3/a4/foo
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    17
  $ echo foo > b1/b2/b3/b4/foo
25345
8be8c2d3559a tests: actualize the comment in test-hgweb-descend-empties.t
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
    18
  $ echo foo > b1/b2/b3/c4/foo
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    19
  $ echo foo > d1/d2/d3/d4/foo
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    20
  $ echo foo > d1/d2/foo
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    21
  $ hg ci -Ama
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    22
  adding a1/a2/a3/a4/foo
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    23
  adding b1/b2/b3/b4/foo
25345
8be8c2d3559a tests: actualize the comment in test-hgweb-descend-empties.t
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
    24
  adding b1/b2/b3/c4/foo
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    25
  adding d1/d2/d3/d4/foo
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    26
  adding d1/d2/foo
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    27
  $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    28
  $ cat hg.pid >> $DAEMON_PIDS
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    29
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
    30
manifest with descending (paper)
7305
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
    31
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
    32
  $ get-with-headers.py $LOCALIP:$HGPORT 'file'
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    33
  200 Script output follows
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    34
  
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    35
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    36
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    37
  <head>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    38
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    39
  <meta name="robots" content="index, nofollow" />
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    40
  <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: 13597
diff changeset
    41
  <script type="text/javascript" src="/static/mercurial.js"></script>
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    42
  
25345
8be8c2d3559a tests: actualize the comment in test-hgweb-descend-empties.t
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
    43
  <title>test: c9f45f7a1659 /</title>
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    44
  </head>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    45
  <body>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    46
  
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    47
  <div class="container">
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    48
  <div class="menu">
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    49
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26284
diff changeset
    50
  <a href="https://mercurial-scm.org/">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    51
  <img src="/static/hglogo.png" alt="mercurial" /></a>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    52
  </div>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    53
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
    54
  <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: 25605
diff changeset
    55
  <li><a href="/graph/tip">graph</a></li>
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    56
  <li><a href="/tags">tags</a></li>
13597
38c9837b1f75 hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents: 12846
diff changeset
    57
  <li><a href="/bookmarks">bookmarks</a></li>
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    58
  <li><a href="/branches">branches</a></li>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    59
  </ul>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    60
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
    61
  <li><a href="/rev/tip">changeset</a></li>
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    62
  <li class="active">browse</li>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    63
  </ul>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    64
  <ul>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    65
  
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    66
  </ul>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12434
diff changeset
    67
  <ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12434
diff changeset
    68
   <li><a href="/help">help</a></li>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 12434
diff changeset
    69
  </ul>
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    70
  </div>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    71
  
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    72
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 17017
diff changeset
    73
  <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
    74
  <h3>
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
    75
   directory / @ 0:<a href="/rev/c9f45f7a1659">c9f45f7a1659</a>
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
    76
   <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
    77
  </h3>
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    78
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 31008
diff changeset
    79
  
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    80
  <form class="search" action="/log">
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    81
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 31008
diff changeset
    82
  <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
    83
  <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
    84
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    85
  </form>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    86
  
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    87
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 22046
diff changeset
    88
  <thead>
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    89
  <tr>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    90
    <th class="name">name</th>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    91
    <th class="size">size</th>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    92
    <th class="permissions">permissions</th>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    93
  </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 22046
diff changeset
    94
  </thead>
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
    95
  <tbody class="stripes2">
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
    96
  <tr class="fileline">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
    97
    <td class="name"><a href="/file/tip/">[up]</a></td>
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    98
    <td class="size"></td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    99
    <td class="permissions">drwxr-xr-x</td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   100
  </tr>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   101
  
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   102
  <tr class="fileline">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   103
  <td class="name">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   104
  <a href="/file/tip/a1">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   105
  <img src="/static/coal-folder.png" alt="dir."/> a1/
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   106
  </a>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   107
  <a href="/file/tip/a1/a2/a3/a4">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   108
  a2/a3/a4
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   109
  </a>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   110
  </td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   111
  <td class="size"></td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   112
  <td class="permissions">drwxr-xr-x</td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   113
  </tr>
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   114
  <tr class="fileline">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   115
  <td class="name">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   116
  <a href="/file/tip/b1">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   117
  <img src="/static/coal-folder.png" alt="dir."/> b1/
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   118
  </a>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   119
  <a href="/file/tip/b1/b2/b3">
25345
8be8c2d3559a tests: actualize the comment in test-hgweb-descend-empties.t
Anton Shestakov <engored@ya.ru>
parents: 24054
diff changeset
   120
  b2/b3
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   121
  </a>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   122
  </td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   123
  <td class="size"></td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   124
  <td class="permissions">drwxr-xr-x</td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   125
  </tr>
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   126
  <tr class="fileline">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   127
  <td class="name">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   128
  <a href="/file/tip/d1">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   129
  <img src="/static/coal-folder.png" alt="dir."/> d1/
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   130
  </a>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   131
  <a href="/file/tip/d1/d2">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   132
  d2
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   133
  </a>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   134
  </td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   135
  <td class="size"></td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   136
  <td class="permissions">drwxr-xr-x</td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   137
  </tr>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   138
  
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   139
  </tbody>
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   140
  </table>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   141
  </div>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   142
  </div>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   143
  
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   144
  
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   145
  </body>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   146
  </html>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   147
  
7305
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents:
diff changeset
   148
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   149
manifest with descending (coal)
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   150
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
   151
  $ get-with-headers.py $LOCALIP:$HGPORT 'file?style=coal'
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   152
  200 Script output follows
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   153
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   154
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   155
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   156
  <head>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   157
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   158
  <meta name="robots" content="index, nofollow" />
26284
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26021
diff changeset
   159
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
c258f4d2bfb2 coal: reuse style-paper.css and use a separate css file for visual tweaks
Anton Shestakov <av6@dwimlabs.net>
parents: 26021
diff changeset
   160
  <link rel="stylesheet" href="/static/style-extra-coal.css" type="text/css" />
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   161
  <script type="text/javascript" src="/static/mercurial.js"></script>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   162
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   163
  <title>test: c9f45f7a1659 /</title>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   164
  </head>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   165
  <body>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   166
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   167
  <div class="container">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   168
  <div class="menu">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   169
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26284
diff changeset
   170
  <a href="https://mercurial-scm.org/">
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   171
  <img src="/static/hglogo.png" alt="mercurial" /></a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   172
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   173
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   174
  <li><a href="/shortlog/tip?style=coal">log</a></li>
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   175
  <li><a href="/graph/tip?style=coal">graph</a></li>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   176
  <li><a href="/tags?style=coal">tags</a></li>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   177
  <li><a href="/bookmarks?style=coal">bookmarks</a></li>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   178
  <li><a href="/branches?style=coal">branches</a></li>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   179
  </ul>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   180
  <ul>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   181
  <li><a href="/rev/tip?style=coal">changeset</a></li>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   182
  <li class="active">browse</li>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   183
  </ul>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   184
  <ul>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   185
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   186
  </ul>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   187
  <ul>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   188
   <li><a href="/help?style=coal">help</a></li>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   189
  </ul>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   190
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   191
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   192
  <div class="main">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   193
  <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
   194
  <h3>
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
   195
   directory / @ 0:<a href="/rev/c9f45f7a1659?style=coal">c9f45f7a1659</a>
63be46407a50 hgweb: link to revision by node hash in paper & coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25606
diff changeset
   196
   <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
   197
  </h3>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   198
  
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 31008
diff changeset
   199
  
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   200
  <form class="search" action="/log">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   201
  <input type="hidden" name="style" value="coal" />
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 31008
diff changeset
   202
  <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   203
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   204
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   205
  </form>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   206
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   207
  <table class="bigtable">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   208
  <thead>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   209
  <tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   210
    <th class="name">name</th>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   211
    <th class="size">size</th>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   212
    <th class="permissions">permissions</th>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   213
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   214
  </thead>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   215
  <tbody class="stripes2">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   216
  <tr class="fileline">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   217
    <td class="name"><a href="/file/tip/?style=coal">[up]</a></td>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   218
    <td class="size"></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   219
    <td class="permissions">drwxr-xr-x</td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   220
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   221
  
25664
ebdfca23c1ab hgweb: use css for stripey background in coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25617
diff changeset
   222
  <tr class="fileline">
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   223
  <td class="name">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   224
  <a href="/file/tip/a1?style=coal">
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   225
  <img src="/static/coal-folder.png" alt="dir."/> a1/
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   226
  </a>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   227
  <a href="/file/tip/a1/a2/a3/a4?style=coal">
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   228
  a2/a3/a4
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   229
  </a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   230
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   231
  <td class="size"></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   232
  <td class="permissions">drwxr-xr-x</td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   233
  </tr>
25664
ebdfca23c1ab hgweb: use css for stripey background in coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25617
diff changeset
   234
  <tr class="fileline">
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   235
  <td class="name">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   236
  <a href="/file/tip/b1?style=coal">
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   237
  <img src="/static/coal-folder.png" alt="dir."/> b1/
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   238
  </a>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   239
  <a href="/file/tip/b1/b2/b3?style=coal">
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   240
  b2/b3
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   241
  </a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   242
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   243
  <td class="size"></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   244
  <td class="permissions">drwxr-xr-x</td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   245
  </tr>
25664
ebdfca23c1ab hgweb: use css for stripey background in coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25617
diff changeset
   246
  <tr class="fileline">
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   247
  <td class="name">
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   248
  <a href="/file/tip/d1?style=coal">
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   249
  <img src="/static/coal-folder.png" alt="dir."/> d1/
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   250
  </a>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   251
  <a href="/file/tip/d1/d2?style=coal">
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   252
  d2
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   253
  </a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   254
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   255
  <td class="size"></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   256
  <td class="permissions">drwxr-xr-x</td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   257
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   258
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   259
  </tbody>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   260
  </table>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   261
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   262
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   263
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   264
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   265
  </body>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   266
  </html>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   267
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   268
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   269
manifest with descending (monoblue)
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   270
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
   271
  $ get-with-headers.py $LOCALIP:$HGPORT 'file?style=monoblue'
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   272
  200 Script output follows
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   273
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   274
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   275
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   276
  <head>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   277
      <link rel="icon" href="/static/hgicon.png" type="image/png" />
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   278
      <meta name="robots" content="index, nofollow"/>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   279
      <link rel="stylesheet" href="/static/style-monoblue.css" type="text/css" />
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   280
      <script type="text/javascript" src="/static/mercurial.js"></script>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   281
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   282
  <title>test: files</title>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   283
      <link rel="alternate" type="application/atom+xml" href="/atom-log" title="Atom feed for test"/>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   284
      <link rel="alternate" type="application/rss+xml" href="/rss-log" title="RSS feed for test"/>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   285
  </head>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   286
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   287
  <body>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   288
  <div id="container">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   289
      <div class="page-header">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   290
          <h1 class="breadcrumb"><a href="/">Mercurial</a>  / files</h1>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   291
  
32759
265196cd7d7f hgweb: consolidate search form for monoblue
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32758
diff changeset
   292
          
265196cd7d7f hgweb: consolidate search form for monoblue
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32758
diff changeset
   293
  <form action="/log">
265196cd7d7f hgweb: consolidate search form for monoblue
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32758
diff changeset
   294
  <input type="hidden" name="style" value="monoblue" />
265196cd7d7f hgweb: consolidate search form for monoblue
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32758
diff changeset
   295
  <dl class="search">
265196cd7d7f hgweb: consolidate search form for monoblue
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32758
diff changeset
   296
  <dt><label>Search: </label></dt>
265196cd7d7f hgweb: consolidate search form for monoblue
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32758
diff changeset
   297
  <dd><input type="text" name="rev" value="" /></dd>
265196cd7d7f hgweb: consolidate search form for monoblue
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32758
diff changeset
   298
  </dl>
265196cd7d7f hgweb: consolidate search form for monoblue
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32758
diff changeset
   299
  </form>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   300
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   301
          <ul class="page-nav">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   302
              <li><a href="/summary?style=monoblue">summary</a></li>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   303
              <li><a href="/shortlog?style=monoblue">shortlog</a></li>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   304
              <li><a href="/changelog?style=monoblue">changelog</a></li>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   305
              <li><a href="/graph/tip?style=monoblue">graph</a></li>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   306
              <li><a href="/tags?style=monoblue">tags</a></li>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   307
              <li><a href="/bookmarks?style=monoblue">bookmarks</a></li>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   308
              <li><a href="/branches?style=monoblue">branches</a></li>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   309
              <li class="current">files</li>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   310
              <li><a href="/help?style=monoblue">help</a></li>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   311
          </ul>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   312
      </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   313
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   314
      <ul class="submenu">
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   315
          <li><a href="/rev/tip?style=monoblue">changeset</a></li>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   316
          
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   317
      </ul>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   318
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   319
      <h2 class="no-link no-border">files</h2>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   320
      <p class="files">/ <span class="logtags"><span class="branchtag" title="default">default</span> <span class="tagtag" title="tip">tip</span> </span></p>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   321
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   322
      <table>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   323
          <tr class="parity0">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   324
              <td>drwxr-xr-x</td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   325
              <td></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   326
              <td></td>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   327
              <td><a href="/file/tip/?style=monoblue">[up]</a></td>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   328
              <td class="link">&nbsp;</td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   329
          </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   330
          
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   331
  <tr class="parity1">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   332
  <td>drwxr-xr-x</td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   333
  <td></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   334
  <td></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   335
  <td>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   336
  <a href="/file/tip/a1?style=monoblue">a1</a>
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   337
  <a href="/file/tip/a1/a2/a3/a4?style=monoblue">a2/a3/a4</a>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   338
  </td>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   339
  <td><a href="/file/tip/a1?style=monoblue">files</a></td>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   340
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   341
  <tr class="parity0">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   342
  <td>drwxr-xr-x</td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   343
  <td></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   344
  <td></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   345
  <td>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   346
  <a href="/file/tip/b1?style=monoblue">b1</a>
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   347
  <a href="/file/tip/b1/b2/b3?style=monoblue">b2/b3</a>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   348
  </td>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   349
  <td><a href="/file/tip/b1?style=monoblue">files</a></td>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   350
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   351
  <tr class="parity1">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   352
  <td>drwxr-xr-x</td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   353
  <td></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   354
  <td></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   355
  <td>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   356
  <a href="/file/tip/d1?style=monoblue">d1</a>
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   357
  <a href="/file/tip/d1/d2?style=monoblue">d2</a>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   358
  </td>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   359
  <td><a href="/file/tip/d1?style=monoblue">files</a></td>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   360
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   361
          
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   362
      </table>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   363
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   364
      <div class="page-footer">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   365
          <p>Mercurial Repository: test</p>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   366
          <ul class="rss-logo">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   367
              <li><a href="/rss-log">RSS</a></li>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   368
              <li><a href="/atom-log">Atom</a></li>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   369
          </ul>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   370
          
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   371
      </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   372
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   373
      <div id="powered-by">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26284
diff changeset
   374
          <p><a href="https://mercurial-scm.org/" title="Mercurial"><img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a></p>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   375
      </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   376
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   377
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   378
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   379
  </body>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   380
  </html>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   381
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   382
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   383
manifest with descending (gitweb)
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   384
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
   385
  $ get-with-headers.py $LOCALIP:$HGPORT 'file?style=gitweb'
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   386
  200 Script output follows
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   387
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   388
  <?xml version="1.0" encoding="ascii"?>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   389
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   390
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   391
  <head>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   392
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   393
  <meta name="robots" content="index, nofollow"/>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   394
  <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" />
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   395
  <script type="text/javascript" src="/static/mercurial.js"></script>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   396
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   397
  <title>test: files</title>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   398
  <link rel="alternate" type="application/atom+xml"
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   399
     href="/atom-log" title="Atom feed for test"/>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   400
  <link rel="alternate" type="application/rss+xml"
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   401
     href="/rss-log" title="RSS feed for test"/>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   402
  </head>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   403
  <body>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   404
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   405
  <div class="page_header">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26284
diff changeset
   406
  <a href="https://mercurial-scm.org/" title="Mercurial" style="float: right;">Mercurial</a>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   407
  <a href="/">Mercurial</a>  / files
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   408
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   409
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   410
  <div class="page_nav">
32762
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
   411
  <div>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   412
  <a href="/summary?style=gitweb">summary</a> |
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   413
  <a href="/shortlog?style=gitweb">shortlog</a> |
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   414
  <a href="/log?style=gitweb">changelog</a> |
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   415
  <a href="/graph?style=gitweb">graph</a> |
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   416
  <a href="/tags?style=gitweb">tags</a> |
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   417
  <a href="/bookmarks?style=gitweb">bookmarks</a> |
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   418
  <a href="/branches?style=gitweb">branches</a> |
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   419
  files |
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   420
  <a href="/rev/tip?style=gitweb">changeset</a>  |
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   421
  <a href="/help?style=gitweb">help</a>
32762
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
   422
  </div>
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
   423
  
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
   424
  <div class="search">
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
   425
  <form id="searchform" action="/log">
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
   426
  <input type="hidden" name="style" value="gitweb" />
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
   427
  <input name="rev" type="text" value="" size="40" />
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
   428
  <div id="hint">Find changesets by keywords (author, files, the commit message), revision
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
   429
  number or hash, or <a href="/help/revsets">revset expression</a>.</div>
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
   430
  </form>
2d93d2159e30 hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents: 32761
diff changeset
   431
  </div>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   432
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   433
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   434
  <div class="title">/ <span class="logtags"><span class="branchtag" title="default">default</span> <span class="tagtag" title="tip">tip</span> </span></div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   435
  <table cellspacing="0">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   436
  <tr class="parity0">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   437
  <td style="font-family:monospace">drwxr-xr-x</td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   438
  <td style="font-family:monospace"></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   439
  <td style="font-family:monospace"></td>
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   440
  <td><a href="/file/tip/?style=gitweb">[up]</a></td>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   441
  <td class="link">&nbsp;</td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   442
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   443
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   444
  <tr class="parity1">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   445
  <td style="font-family:monospace">drwxr-xr-x</td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   446
  <td style="font-family:monospace"></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   447
  <td style="font-family:monospace"></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   448
  <td>
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   449
  <a href="/file/tip/a1?style=gitweb">a1</a>
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   450
  <a href="/file/tip/a1/a2/a3/a4?style=gitweb">a2/a3/a4</a>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   451
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   452
  <td class="link">
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   453
  <a href="/file/tip/a1?style=gitweb">files</a>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   454
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   455
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   456
  <tr class="parity0">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   457
  <td style="font-family:monospace">drwxr-xr-x</td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   458
  <td style="font-family:monospace"></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   459
  <td style="font-family:monospace"></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   460
  <td>
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   461
  <a href="/file/tip/b1?style=gitweb">b1</a>
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   462
  <a href="/file/tip/b1/b2/b3?style=gitweb">b2/b3</a>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   463
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   464
  <td class="link">
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   465
  <a href="/file/tip/b1?style=gitweb">files</a>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   466
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   467
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   468
  <tr class="parity1">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   469
  <td style="font-family:monospace">drwxr-xr-x</td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   470
  <td style="font-family:monospace"></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   471
  <td style="font-family:monospace"></td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   472
  <td>
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   473
  <a href="/file/tip/d1?style=gitweb">d1</a>
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   474
  <a href="/file/tip/d1/d2?style=gitweb">d2</a>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   475
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   476
  <td class="link">
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   477
  <a href="/file/tip/d1?style=gitweb">files</a>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   478
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   479
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   480
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   481
  </table>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   482
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   483
  <div class="page_footer">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   484
  <div class="page_footer_text">test</div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   485
  <div class="rss_logo">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   486
  <a href="/rss-log">RSS</a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   487
  <a href="/atom-log">Atom</a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   488
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   489
  <br />
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   490
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   491
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   492
  </body>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   493
  </html>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   494
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   495
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   496
manifest with descending (spartan)
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   497
31008
636cf3f7620d tests: use LOCALIP
Jun Wu <quark@fb.com>
parents: 30765
diff changeset
   498
  $ get-with-headers.py $LOCALIP:$HGPORT 'file?style=spartan'
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   499
  200 Script output follows
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   500
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   501
  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   502
  <html>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   503
  <head>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   504
  <link rel="icon" href="/static/hgicon.png" type="image/png">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   505
  <meta name="robots" content="index, nofollow" />
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   506
  <link rel="stylesheet" href="/static/style.css" type="text/css" />
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   507
  <script type="text/javascript" src="/static/mercurial.js"></script>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   508
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   509
  <title>test: files for changeset c9f45f7a1659</title>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   510
  </head>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   511
  <body>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   512
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   513
  <div class="buttons">
25603
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   514
  <a href="/log/tip?style=spartan">changelog</a>
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   515
  <a href="/shortlog/tip?style=spartan">shortlog</a>
25794
902148444889 spartan: don't drop current revision in log/graph links
Anton Shestakov <av6@dwimlabs.net>
parents: 25664
diff changeset
   516
  <a href="/graph/tip?style=spartan">graph</a>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   517
  <a href="/tags?style=spartan">tags</a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   518
  <a href="/branches?style=spartan">branches</a>
25603
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   519
  <a href="/rev/tip?style=spartan">changeset</a>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   520
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   521
  <a href="/help?style=spartan">help</a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   522
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   523
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   524
  <h2><a href="/">Mercurial</a>  / files for changeset <a href="/rev/c9f45f7a1659">c9f45f7a1659</a>: /</h2>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   525
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   526
  <table cellpadding="0" cellspacing="0">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   527
  <tr class="parity0">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   528
    <td><tt>drwxr-xr-x</tt>&nbsp;
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   529
    <td>&nbsp;
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   530
    <td>&nbsp;
25603
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   531
    <td><a href="/file/tip/?style=spartan">[up]</a>
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   532
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   533
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   534
  <tr class="parity1">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   535
  <td><tt>drwxr-xr-x</tt>&nbsp;
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   536
  <td>&nbsp;
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   537
  <td>&nbsp;
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   538
  <td>
25603
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   539
  <a href="/file/tip/a1?style=spartan">a1/</a>
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   540
  <a href="/file/tip/a1/a2/a3/a4?style=spartan">
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   541
  a2/a3/a4
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   542
  </a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   543
  <tr class="parity0">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   544
  <td><tt>drwxr-xr-x</tt>&nbsp;
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   545
  <td>&nbsp;
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   546
  <td>&nbsp;
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   547
  <td>
25603
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   548
  <a href="/file/tip/b1?style=spartan">b1/</a>
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   549
  <a href="/file/tip/b1/b2/b3?style=spartan">
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   550
  b2/b3
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   551
  </a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   552
  <tr class="parity1">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   553
  <td><tt>drwxr-xr-x</tt>&nbsp;
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   554
  <td>&nbsp;
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   555
  <td>&nbsp;
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   556
  <td>
25603
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   557
  <a href="/file/tip/d1?style=spartan">d1/</a>
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   558
  <a href="/file/tip/d1/d2?style=spartan">
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   559
  d2
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   560
  </a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   561
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   562
  </table>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   563
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   564
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26284
diff changeset
   565
  <a href="https://mercurial-scm.org/">
25346
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   566
  <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   567
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   568
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   569
  </body>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   570
  </html>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   571
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   572
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   573
  $ cat errors.log
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 15446
diff changeset
   574
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 15446
diff changeset
   575
  $ cd ..