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