tests/test-hgwebdir.t
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
Sun, 10 Oct 2010 09:50:25 -0500
changeset 12757 62c8f7691bc3
parent 12643 d08bb64888bc
child 13066 86888ae9ce90
permissions -rw-r--r--
merge: make 'diverging renames' diagnostic a more helpful note. See the Hg Book on why we actually want to detect this case: http://hgbook.red-bean.com/read/mercurial-in-daily-use.html#id364290 Before: $ hg up deadbeef warning: detected divergent renames of X to: ... After: $ hg up deadbeef note: possible conflict - X was renamed multiple times to: ... No functionality change.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
     1
Tests some basic hgwebdir functionality. Tests setting up paths and
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
     2
collection, different forms of 404s and the subdirectory support.
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     3
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
     4
  $ mkdir webdir
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
     5
  $ cd webdir
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
     6
  $ hg init a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
     7
  $ echo a > a/a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
     8
  $ hg --cwd a ci -Ama -d'1 0'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
     9
  adding a
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
    10
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    11
create a mercurial queue repository
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
    12
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    13
  $ hg --cwd a qinit --config extensions.hgext.mq= -c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    14
  $ hg init b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    15
  $ echo b > b/b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    16
  $ hg --cwd b ci -Amb -d'2 0'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    17
  adding b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    18
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    19
create a nested repository
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
    20
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    21
  $ cd b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    22
  $ hg init d
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    23
  $ echo d > d/d
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    24
  $ hg --cwd d ci -Amd -d'3 0'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    25
  adding d
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    26
  $ cd ..
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    27
  $ hg init c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    28
  $ echo c > c/c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    29
  $ hg --cwd c ci -Amc -d'3 0'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    30
  adding c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    31
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    32
create repository without .hg/store
7523
e60aaae83323 hgweb: recurse down collections only if ** in [paths]
Benoit Allard <benoit@aeteurope.nl>
parents: 7494
diff changeset
    33
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    34
  $ hg init nostore
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    35
  $ rm -R nostore/.hg/store
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    36
  $ root=`pwd`
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    37
  $ cd ..
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    38
  $ cat > paths.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    39
  > [paths]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    40
  > a=$root/a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    41
  > b=$root/b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    42
  > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    43
  $ hg serve -p $HGPORT -d --pid-file=hg.pid --webdir-conf paths.conf \
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    44
  >     -A access-paths.log -E error-paths-1.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    45
  $ cat hg.pid >> $DAEMON_PIDS
7523
e60aaae83323 hgweb: recurse down collections only if ** in [paths]
Benoit Allard <benoit@aeteurope.nl>
parents: 7494
diff changeset
    46
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    47
should give a 404 - file does not exist
9363
8635b33eaade hgweb: add web.descend configuration variable
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9184
diff changeset
    48
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    49
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/file/tip/bork?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    50
  404 Not Found
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    51
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    52
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    53
  error: bork@8580ff50825a: not found in manifest
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    54
  [1]
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
    55
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    56
should succeed
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
    57
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    58
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    59
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    60
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    61
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    62
  /a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    63
  /b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    64
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    65
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/file/tip/a?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    66
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    67
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    68
  a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    69
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/b/file/tip/b?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    70
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    71
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    72
  b
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
    73
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    74
should give a 404 - repo is not published
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
    75
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    76
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/c/file/tip/c?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    77
  404 Not Found
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    78
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    79
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    80
  error: repository c not found
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    81
  [1]
10674
6d87c20cd7a8 hgweb: fix broken URLs of RSS/Atom feeds (issue1772)
Yuya Nishihara <yuya@tcha.org>
parents: 9363
diff changeset
    82
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    83
atom-log without basedir
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    84
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    85
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/atom-log' | grep '<link'
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
    86
   <link rel="self" href="http://*:$HGPORT/a/atom-log"/> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
    87
   <link rel="alternate" href="http://*:$HGPORT/a/"/> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
    88
    <link href="http://*:$HGPORT/a/rev/8580ff50825a"/> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    89
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    90
rss-log without basedir
9363
8635b33eaade hgweb: add web.descend configuration variable
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9184
diff changeset
    91
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    92
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/rss-log' | grep '<guid'
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
    93
      <guid isPermaLink="true">http://*:$HGPORT/a/rev/8580ff50825a</guid> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    94
  $ cat > paths.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    95
  > [paths]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    96
  > t/a/=$root/a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    97
  > b=$root/b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    98
  > coll=$root/*
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    99
  > rcoll=$root/**
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   100
  > star=*
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   101
  > starstar=**
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   102
  > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   103
  $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   104
  >     -A access-paths.log -E error-paths-2.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   105
  $ cat hg.pid >> $DAEMON_PIDS
5578
733b50883f73 Add tests for hgwebdir repository names with slashes in them.
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5561
diff changeset
   106
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   107
should succeed, slashy names
5578
733b50883f73 Add tests for hgwebdir repository names with slashes in them.
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5561
diff changeset
   108
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   109
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   110
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   111
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   112
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   113
  /t/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   114
  /b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   115
  /coll/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   116
  /coll/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   117
  /coll/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   118
  /coll/c/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   119
  /rcoll/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   120
  /rcoll/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   121
  /rcoll/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   122
  /rcoll/b/d/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   123
  /rcoll/c/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   124
  /star/webdir/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   125
  /star/webdir/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   126
  /star/webdir/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   127
  /star/webdir/c/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   128
  /starstar/webdir/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   129
  /starstar/webdir/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   130
  /starstar/webdir/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   131
  /starstar/webdir/b/d/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   132
  /starstar/webdir/c/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   133
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   134
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=paper'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   135
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   136
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   137
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   138
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   139
  <head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   140
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   141
  <meta name="robots" content="index, nofollow" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   142
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   143
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   144
  <title>Mercurial repositories index</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   145
  </head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   146
  <body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   147
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   148
  <div class="container">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   149
  <div class="menu">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   150
  <a href="http://mercurial.selenic.com/">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   151
  <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   152
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   153
  <div class="main">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   154
  <h2>Mercurial Repositories</h2>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   155
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   156
  <table class="bigtable">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   157
      <tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   158
          <th><a href="?sort=name">Name</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   159
          <th><a href="?sort=description">Description</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   160
          <th><a href="?sort=contact">Contact</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   161
          <th><a href="?sort=lastchange">Last modified</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   162
          <th>&nbsp;</th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   163
      </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   164
      
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   165
  <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   166
  <td><a href="/t/a/?style=paper">t/a</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   167
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   168
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   169
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   170
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   171
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   172
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   173
  <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   174
  <td><a href="/b/?style=paper">b</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   175
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   176
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   177
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   178
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   179
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   180
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   181
  <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   182
  <td><a href="/coll/a/?style=paper">coll/a</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   183
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   184
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   185
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   186
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   187
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   188
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   189
  <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   190
  <td><a href="/coll/a/.hg/patches/?style=paper">coll/a/.hg/patches</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   191
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   192
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   193
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   194
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   195
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   196
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   197
  <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   198
  <td><a href="/coll/b/?style=paper">coll/b</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   199
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   200
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   201
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   202
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   203
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   204
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   205
  <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   206
  <td><a href="/coll/c/?style=paper">coll/c</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   207
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   208
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   209
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   210
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   211
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   212
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   213
  <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   214
  <td><a href="/rcoll/a/?style=paper">rcoll/a</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   215
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   216
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   217
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   218
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   219
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   220
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   221
  <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   222
  <td><a href="/rcoll/a/.hg/patches/?style=paper">rcoll/a/.hg/patches</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   223
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   224
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   225
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   226
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   227
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   228
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   229
  <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   230
  <td><a href="/rcoll/b/?style=paper">rcoll/b</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   231
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   232
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   233
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   234
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   235
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   236
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   237
  <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   238
  <td><a href="/rcoll/b/d/?style=paper">rcoll/b/d</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   239
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   240
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   241
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   242
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   243
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   244
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   245
  <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   246
  <td><a href="/rcoll/c/?style=paper">rcoll/c</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   247
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   248
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   249
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   250
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   251
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   252
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   253
  <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   254
  <td><a href="/star/webdir/a/?style=paper">star/webdir/a</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   255
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   256
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   257
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   258
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   259
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   260
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   261
  <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   262
  <td><a href="/star/webdir/a/.hg/patches/?style=paper">star/webdir/a/.hg/patches</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   263
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   264
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   265
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   266
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   267
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   268
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   269
  <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   270
  <td><a href="/star/webdir/b/?style=paper">star/webdir/b</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   271
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   272
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   273
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   274
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   275
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   276
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   277
  <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   278
  <td><a href="/star/webdir/c/?style=paper">star/webdir/c</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   279
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   280
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   281
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   282
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   283
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   284
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   285
  <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   286
  <td><a href="/starstar/webdir/a/?style=paper">starstar/webdir/a</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   287
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   288
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   289
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   290
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   291
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   292
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   293
  <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   294
  <td><a href="/starstar/webdir/a/.hg/patches/?style=paper">starstar/webdir/a/.hg/patches</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   295
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   296
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   297
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   298
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   299
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   300
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   301
  <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   302
  <td><a href="/starstar/webdir/b/?style=paper">starstar/webdir/b</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   303
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   304
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   305
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   306
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   307
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   308
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   309
  <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   310
  <td><a href="/starstar/webdir/b/d/?style=paper">starstar/webdir/b/d</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   311
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   312
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   313
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   314
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   315
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   316
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   317
  <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   318
  <td><a href="/starstar/webdir/c/?style=paper">starstar/webdir/c</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   319
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   320
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   321
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   322
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   323
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   324
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   325
  </table>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   326
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   327
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   328
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   329
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   330
  </body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   331
  </html>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   332
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   333
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   334
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   335
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   336
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   337
  /t/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   338
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   339
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   340
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   341
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   342
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   343
  /t/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   344
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   345
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=paper'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   346
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   347
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   348
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   349
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   350
  <head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   351
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   352
  <meta name="robots" content="index, nofollow" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   353
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   354
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   355
  <title>Mercurial repositories index</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   356
  </head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   357
  <body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   358
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   359
  <div class="container">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   360
  <div class="menu">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   361
  <a href="http://mercurial.selenic.com/">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   362
  <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   363
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   364
  <div class="main">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   365
  <h2>Mercurial Repositories</h2>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   366
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   367
  <table class="bigtable">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   368
      <tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   369
          <th><a href="?sort=name">Name</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   370
          <th><a href="?sort=description">Description</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   371
          <th><a href="?sort=contact">Contact</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   372
          <th><a href="?sort=lastchange">Last modified</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   373
          <th>&nbsp;</th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   374
      </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   375
      
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   376
  <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   377
  <td><a href="/t/a/?style=paper">a</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   378
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   379
  <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   380
  <td class="age">* ago</td> (glob)
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   381
  <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   382
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   383
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   384
  </table>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   385
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   386
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   387
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   388
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   389
  </body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   390
  </html>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   391
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   392
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/a?style=atom'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   393
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   394
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   395
  <?xml version="1.0" encoding="ascii"?>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   396
  <feed xmlns="http://www.w3.org/2005/Atom">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   397
   <!-- Changelog -->
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
   398
   <id>http://*:$HGPORT1/t/a/</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
   399
   <link rel="self" href="http://*:$HGPORT1/t/a/atom-log"/> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
   400
   <link rel="alternate" href="http://*:$HGPORT1/t/a/"/> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   401
   <title>t/a Changelog</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   402
   <updated>1970-01-01T00:00:01+00:00</updated>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   403
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   404
   <entry>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   405
    <title>a</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
   406
    <id>http://*:$HGPORT1/t/a/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
   407
    <link href="http://*:$HGPORT1/t/a/rev/8580ff50825a"/> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   408
    <author>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   409
     <name>test</name>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   410
     <email>&#116;&#101;&#115;&#116;</email>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   411
    </author>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   412
    <updated>1970-01-01T00:00:01+00:00</updated>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   413
    <published>1970-01-01T00:00:01+00:00</published>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   414
    <content type="xhtml">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   415
     <div xmlns="http://www.w3.org/1999/xhtml">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   416
      <pre xml:space="preserve">a</pre>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   417
     </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   418
    </content>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   419
   </entry>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   420
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   421
  </feed>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   422
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/a/?style=atom'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   423
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   424
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   425
  <?xml version="1.0" encoding="ascii"?>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   426
  <feed xmlns="http://www.w3.org/2005/Atom">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   427
   <!-- Changelog -->
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
   428
   <id>http://*:$HGPORT1/t/a/</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
   429
   <link rel="self" href="http://*:$HGPORT1/t/a/atom-log"/> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
   430
   <link rel="alternate" href="http://*:$HGPORT1/t/a/"/> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   431
   <title>t/a Changelog</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   432
   <updated>1970-01-01T00:00:01+00:00</updated>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   433
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   434
   <entry>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   435
    <title>a</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
   436
    <id>http://*:$HGPORT1/t/a/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
   437
    <link href="http://*:$HGPORT1/t/a/rev/8580ff50825a"/> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   438
    <author>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   439
     <name>test</name>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   440
     <email>&#116;&#101;&#115;&#116;</email>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   441
    </author>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   442
    <updated>1970-01-01T00:00:01+00:00</updated>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   443
    <published>1970-01-01T00:00:01+00:00</published>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   444
    <content type="xhtml">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   445
     <div xmlns="http://www.w3.org/1999/xhtml">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   446
      <pre xml:space="preserve">a</pre>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   447
     </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   448
    </content>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   449
   </entry>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   450
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   451
  </feed>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   452
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/a/file/tip/a?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   453
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   454
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   455
  a
12038
9617803b1acb hgweb: handle exception of misconfigured path on index page
Yuya Nishihara <yuya@tcha.org>
parents: 11677
diff changeset
   456
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   457
Test [paths] '*' extension
12038
9617803b1acb hgweb: handle exception of misconfigured path on index page
Yuya Nishihara <yuya@tcha.org>
parents: 11677
diff changeset
   458
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   459
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/coll/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   460
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   461
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   462
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   463
  /coll/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   464
  /coll/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   465
  /coll/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   466
  /coll/c/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   467
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   468
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/coll/a/file/tip/a?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   469
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   470
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   471
  a
12038
9617803b1acb hgweb: handle exception of misconfigured path on index page
Yuya Nishihara <yuya@tcha.org>
parents: 11677
diff changeset
   472
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   473
est [paths] '**' extension
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
   474
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   475
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   476
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   477
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   478
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   479
  /rcoll/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   480
  /rcoll/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   481
  /rcoll/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   482
  /rcoll/b/d/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   483
  /rcoll/c/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   484
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   485
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/b/d/file/tip/d?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   486
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   487
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   488
  d
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   489
  $ "$TESTDIR/killdaemons.py"
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   490
  $ cat > paths.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   491
  > [paths]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   492
  > t/a = $root/a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   493
  > t/b = $root/b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   494
  > c = $root/c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   495
  > [web]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   496
  > descend=false
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   497
  > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   498
  $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   499
  >     -A access-paths.log -E error-paths-3.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   500
  $ cat hg.pid >> $DAEMON_PIDS
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
   501
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   502
test descend = False
5601
8279cb841467 hgwebdir: split out makeindex function, facilitate test failure diagnosis
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5586
diff changeset
   503
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   504
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   505
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   506
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   507
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   508
  /c/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   509
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   510
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   511
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   512
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   513
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   514
  /t/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   515
  /t/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   516
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   517
  $ "$TESTDIR/killdaemons.py"
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   518
  $ cat > paths.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   519
  > [paths]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   520
  > nostore = $root/nostore
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   521
  > inexistent = $root/inexistent
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   522
  > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   523
  $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   524
  >     -A access-paths.log -E error-paths-4.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   525
  $ cat hg.pid >> $DAEMON_PIDS
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   526
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   527
test inexistent and inaccessible repo should be ignored silently
10674
6d87c20cd7a8 hgweb: fix broken URLs of RSS/Atom feeds (issue1772)
Yuya Nishihara <yuya@tcha.org>
parents: 9363
diff changeset
   528
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   529
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   530
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   531
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   532
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   533
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   534
  <head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   535
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   536
  <meta name="robots" content="index, nofollow" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   537
  <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   538
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   539
  <title>Mercurial repositories index</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   540
  </head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   541
  <body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   542
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   543
  <div class="container">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   544
  <div class="menu">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   545
  <a href="http://mercurial.selenic.com/">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   546
  <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   547
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   548
  <div class="main">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   549
  <h2>Mercurial Repositories</h2>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   550
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   551
  <table class="bigtable">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   552
      <tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   553
          <th><a href="?sort=name">Name</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   554
          <th><a href="?sort=description">Description</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   555
          <th><a href="?sort=contact">Contact</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   556
          <th><a href="?sort=lastchange">Last modified</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   557
          <th>&nbsp;</th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   558
      </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   559
      
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   560
  </table>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   561
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   562
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   563
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   564
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   565
  </body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   566
  </html>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   567
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   568
  $ cat > collections.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   569
  > [collections]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   570
  > $root=$root
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   571
  > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   572
  $ hg serve --config web.baseurl=http://hg.example.com:8080/ -p $HGPORT2 -d \
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   573
  >     --pid-file=hg.pid --webdir-conf collections.conf \
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   574
  >     -A access-collections.log -E error-collections.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   575
  $ cat hg.pid >> $DAEMON_PIDS
10674
6d87c20cd7a8 hgweb: fix broken URLs of RSS/Atom feeds (issue1772)
Yuya Nishihara <yuya@tcha.org>
parents: 9363
diff changeset
   576
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   577
collections: should succeed
10674
6d87c20cd7a8 hgweb: fix broken URLs of RSS/Atom feeds (issue1772)
Yuya Nishihara <yuya@tcha.org>
parents: 9363
diff changeset
   578
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   579
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   580
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   581
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   582
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   583
  /a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   584
  /a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   585
  /b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   586
  /c/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   587
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   588
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/file/tip/a?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   589
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   590
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   591
  a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   592
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/b/file/tip/b?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   593
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   594
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   595
  b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   596
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/c/file/tip/c?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   597
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   598
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   599
  c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   600
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   601
atom-log with basedir /
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   602
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   603
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/atom-log' | grep '<link'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   604
   <link rel="self" href="http://hg.example.com:8080/a/atom-log"/>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   605
   <link rel="alternate" href="http://hg.example.com:8080/a/"/>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   606
    <link href="http://hg.example.com:8080/a/rev/8580ff50825a"/>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   607
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   608
rss-log with basedir /
9363
8635b33eaade hgweb: add web.descend configuration variable
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9184
diff changeset
   609
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   610
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/rss-log' | grep '<guid'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   611
      <guid isPermaLink="true">http://hg.example.com:8080/a/rev/8580ff50825a</guid>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   612
  $ "$TESTDIR/killdaemons.py"
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   613
  $ hg serve --config web.baseurl=http://hg.example.com:8080/foo/ -p $HGPORT2 -d \
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   614
  >     --pid-file=hg.pid --webdir-conf collections.conf \
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   615
  >     -A access-collections-2.log -E error-collections-2.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   616
  $ cat hg.pid >> $DAEMON_PIDS
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   617
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   618
atom-log with basedir /foo/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   619
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   620
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/atom-log' | grep '<link'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   621
   <link rel="self" href="http://hg.example.com:8080/foo/a/atom-log"/>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   622
   <link rel="alternate" href="http://hg.example.com:8080/foo/a/"/>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   623
    <link href="http://hg.example.com:8080/foo/a/rev/8580ff50825a"/>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   624
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   625
rss-log with basedir /foo/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   626
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   627
  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/rss-log' | grep '<guid'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   628
      <guid isPermaLink="true">http://hg.example.com:8080/foo/a/rev/8580ff50825a</guid>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   629
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   630
paths errors 1
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   631
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   632
  $ cat error-paths-1.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   633
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   634
paths errors 2
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   635
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   636
  $ cat error-paths-2.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   637
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   638
paths errors 3
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   639
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   640
  $ cat error-paths-3.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   641
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   642
collections errors
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   643
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   644
  $ cat error-collections.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   645
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   646
collections errors 2
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   647
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   648
  $ cat error-collections-2.log