tests/test-hgweb-descend-empties.t
author Yuya Nishihara <yuya@tcha.org>
Sun, 22 May 2016 11:43:18 +0900
changeset 29544 024e8f82f3de
parent 26421 4b0fc75f9403
child 30765 eb7de21b15be
permissions -rw-r--r--
commandserver: add new forking server implemented without using SocketServer SocketServer.ForkingMixIn of Python 2.x has a couple of issues, such as: - race condition that leads to 100% CPU usage (Python 2.6) https://bugs.python.org/issue21491 - can't wait for children belonging to different process groups (Python 2.6) - leaves at least one zombie process (Python 2.6, 2.7) https://bugs.python.org/issue11109 The first two are critical because we do setpgid(0, 0) in child process to isolate terminal signals. The last one isn't, but ForkingMixIn seems to be doing silly. So there are two choices: a) backport and maintain SocketServer until we can drop support for Python 2.x b) replace SocketServer by simpler one and eliminate glue codes I chose (b) because it's great time for getting rid of utterly complicated SocketServer stuff, and preparing for future move towards prefork service. New unixforkingservice is implemented loosely based on chg 531f8ef64be6. It is monolithic but much simpler than SocketServer. unixservicehandler provides customizing points for chg, and it will be shared with future prefork service. Old unixservice class is still used by chgserver. It will be removed later. Thanks to Jun Wu for investigating these issues.
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
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25346
diff changeset
    32
  $ get-with-headers.py 127.0.0.1:$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
  
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    79
  <form class="search" action="/log">
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    80
  
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    81
  <p><input name="rev" id="search1" type="text" size="30" /></p>
19796
544848ef65f2 paper: edit search hint to include new feature description
Alexander Plavin <alexander@plav.in>
parents: 19795
diff changeset
    82
  <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
    83
  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
    84
  </form>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    85
  
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    86
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 22046
diff changeset
    87
  <thead>
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    88
  <tr>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    89
    <th class="name">name</th>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    90
    <th class="size">size</th>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    91
    <th class="permissions">permissions</th>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    92
  </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 22046
diff changeset
    93
  </thead>
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
    94
  <tbody class="stripes2">
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
    95
  <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
    96
    <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
    97
    <td class="size"></td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    98
    <td class="permissions">drwxr-xr-x</td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
    99
  </tr>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   100
  
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   101
  <tr class="fileline">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   102
  <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
   103
  <a href="/file/tip/a1">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   104
  <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
   105
  </a>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   106
  <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
   107
  a2/a3/a4
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   108
  </a>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   109
  </td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   110
  <td class="size"></td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   111
  <td class="permissions">drwxr-xr-x</td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   112
  </tr>
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   113
  <tr class="fileline">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   114
  <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
   115
  <a href="/file/tip/b1">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   116
  <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
   117
  </a>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   118
  <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
   119
  b2/b3
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   120
  </a>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   121
  </td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   122
  <td class="size"></td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   123
  <td class="permissions">drwxr-xr-x</td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   124
  </tr>
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   125
  <tr class="fileline">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   126
  <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
   127
  <a href="/file/tip/d1">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   128
  <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
   129
  </a>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   130
  <a href="/file/tip/d1/d2">
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   131
  d2
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   132
  </a>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   133
  </td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   134
  <td class="size"></td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   135
  <td class="permissions">drwxr-xr-x</td>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   136
  </tr>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   137
  
19447
182942b38d24 hgweb: make stripes in directory view with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   138
  </tbody>
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   139
  </table>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   140
  </div>
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   141
  </div>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13597
diff changeset
   142
  <script type="text/javascript">process_dates()</script>
12434
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
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25346
diff changeset
   151
  $ get-with-headers.py 127.0.0.1:$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
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   199
  <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
   200
  <input type="hidden" name="style" value="coal" />
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   201
  <p><input name="rev" id="search1" type="text" size="30" /></p>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   202
  <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
   203
  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
   204
  </form>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   205
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   206
  <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
   207
  <thead>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   208
  <tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   209
    <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
   210
    <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
   211
    <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
   212
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   213
  </thead>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   214
  <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
   215
  <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
   216
    <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
   217
    <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
   218
    <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
   219
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   220
  
25664
ebdfca23c1ab hgweb: use css for stripey background in coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25617
diff changeset
   221
  <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
   222
  <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
   223
  <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
   224
  <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
   225
  </a>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   226
  <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
   227
  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
   228
  </a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   229
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   230
  <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
   231
  <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
   232
  </tr>
25664
ebdfca23c1ab hgweb: use css for stripey background in coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25617
diff changeset
   233
  <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
   234
  <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
   235
  <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
   236
  <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
   237
  </a>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   238
  <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
   239
  b2/b3
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   240
  </a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   241
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   242
  <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
   243
  <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
   244
  </tr>
25664
ebdfca23c1ab hgweb: use css for stripey background in coal
Anton Shestakov <av6@dwimlabs.net>
parents: 25617
diff changeset
   245
  <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
   246
  <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
   247
  <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
   248
  <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
   249
  </a>
25606
3bb6f5f478a7 hgweb: don't dereference symbolic revision in paper & coal style (issue2296)
Anton Shestakov <av6@dwimlabs.net>
parents: 25605
diff changeset
   250
  <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
   251
  d2
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   252
  </a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   253
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   254
  <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
   255
  <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
   256
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   257
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   258
  </tbody>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   259
  </table>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   260
  </div>
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
  <script type="text/javascript">process_dates()</script>
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
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25346
diff changeset
   271
  $ get-with-headers.py 127.0.0.1:$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
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   292
          <form action="/log">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   293
              <input type="hidden" name="style" value="monoblue" />
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   294
              <dl class="search">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   295
                  <dt><label>Search: </label></dt>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   296
                  <dd><input type="text" name="rev" /></dd>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   297
              </dl>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   298
          </form>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   299
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   300
          <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
   301
              <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
   302
              <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
   303
              <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
   304
              <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
   305
              <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
   306
              <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
   307
              <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
   308
              <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
   309
              <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
   310
          </ul>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   311
      </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   312
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   313
      <ul class="submenu">
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   314
          <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
   315
          
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   316
      </ul>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   317
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   318
      <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
   319
      <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
   320
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   321
      <table>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   322
          <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
   323
              <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
   324
              <td></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>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   326
              <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
   327
              <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
   328
          </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   329
          
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   330
  <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
   331
  <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
   332
  <td></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>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   335
  <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
   336
  <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
   337
  </td>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   338
  <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
   339
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   340
  <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
   341
  <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
   342
  <td></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>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   345
  <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
   346
  <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
   347
  </td>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   348
  <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
   349
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   350
  <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
   351
  <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
   352
  <td></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>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   355
  <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
   356
  <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
   357
  </td>
25604
0cdcbc477cac hgweb: don't dereference symbolic revision in monoblue style
Anton Shestakov <av6@dwimlabs.net>
parents: 25603
diff changeset
   358
  <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
   359
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   360
          
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   361
      </table>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   362
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   363
      <script type="text/javascript">process_dates()</script>
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
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25346
diff changeset
   385
  $ get-with-headers.py 127.0.0.1:$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">
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   411
  <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
   412
  <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
   413
  <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
   414
  <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
   415
  <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
   416
  <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
   417
  <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
   418
  files |
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   419
  <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
   420
  <a href="/help?style=gitweb">help</a>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   421
  <br/>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   422
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   423
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   424
  <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
   425
  <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
   426
  <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
   427
  <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
   428
  <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
   429
  <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
   430
  <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
   431
  <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
   432
  </tr>
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
  <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
   435
  <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
   436
  <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
   437
  <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
   438
  <td>
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   439
  <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
   440
  <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
   441
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   442
  <td class="link">
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   443
  <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
   444
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   445
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   446
  <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
   447
  <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
   448
  <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
   449
  <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
   450
  <td>
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   451
  <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
   452
  <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
   453
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   454
  <td class="link">
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   455
  <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
   456
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   457
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   458
  <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
   459
  <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
   460
  <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
   461
  <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
   462
  <td>
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   463
  <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
   464
  <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
   465
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   466
  <td class="link">
25605
dd89304687a3 hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents: 25604
diff changeset
   467
  <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
   468
  </td>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   469
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   470
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   471
  </table>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   472
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   473
  <script type="text/javascript">process_dates()</script>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   474
  <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
   475
  <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
   476
  <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
   477
  <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
   478
  <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
   479
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   480
  <br />
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   481
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   482
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   483
  </body>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   484
  </html>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   485
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   486
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   487
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
   488
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25346
diff changeset
   489
  $ get-with-headers.py 127.0.0.1:$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
   490
  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
   491
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   492
  <!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
   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
  <head>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   495
  <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
   496
  <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
   497
  <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
   498
  <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
   499
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   500
  <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
   501
  </head>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   502
  <body>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   503
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   504
  <div class="buttons">
25603
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   505
  <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
   506
  <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
   507
  <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
   508
  <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
   509
  <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
   510
  <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
   511
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   512
  <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
   513
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   514
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   515
  <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
   516
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   517
  <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
   518
  <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
   519
    <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
   520
    <td>&nbsp;
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   521
    <td>&nbsp;
25603
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   522
    <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
   523
  </tr>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   524
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   525
  <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
   526
  <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
   527
  <td>&nbsp;
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   528
  <td>&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>
25603
1cac419ab831 hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents: 25472
diff changeset
   530
  <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
   531
  <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
   532
  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
   533
  </a>
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="parity0">
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/b1?style=spartan">b1/</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/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
   541
  b2/b3
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="parity1">
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/d1?style=spartan">d1/</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/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
   550
  d2
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
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   553
  </table>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   554
  <script type="text/javascript">process_dates()</script>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   555
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   556
  <div class="logo">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26284
diff changeset
   557
  <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
   558
  <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
   559
  </div>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   560
  
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   561
  </body>
fe0aac1082f3 tests: descending empty dirs works in all hgweb styles, test them too
Anton Shestakov <engored@ya.ru>
parents: 25345
diff changeset
   562
  </html>
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
12434
3cf40f64f9f6 tests: unify test-hgweb-descend-empties
Matt Mackall <mpm@selenic.com>
parents: 7305
diff changeset
   565
  $ cat errors.log
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 15446
diff changeset
   566
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 15446
diff changeset
   567
  $ cd ..