tests/test-hgwebdir.t
author Augie Fackler <augie@google.com>
Sun, 14 Oct 2018 04:11:35 -0400
changeset 40280 170cd2a5a1da
parent 39471 15e8250a82da
child 46651 6fc57680cfd6
permissions -rw-r--r--
fuzz: try *even harder* to prevent Python from looking up usernames Differential Revision: https://phab.mercurial-scm.org/D5092
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22046
7a9cbb315d84 tests: replace exit 80 with #require
Matt Mackall <mpm@selenic.com>
parents: 21117
diff changeset
     1
#require serve
15446
c5c9ca3719f9 tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents: 14046
diff changeset
     2
17015
73d20de5f30b tests: add missing no-outer-repo requirements
Mads Kiilerich <mads@kiilerich.com>
parents: 16239
diff changeset
     3
hide outer repo and work in dir without '.hg'
73d20de5f30b tests: add missing no-outer-repo requirements
Mads Kiilerich <mads@kiilerich.com>
parents: 16239
diff changeset
     4
  $ hg init
73d20de5f30b tests: add missing no-outer-repo requirements
Mads Kiilerich <mads@kiilerich.com>
parents: 16239
diff changeset
     5
  $ mkdir dir
73d20de5f30b tests: add missing no-outer-repo requirements
Mads Kiilerich <mads@kiilerich.com>
parents: 16239
diff changeset
     6
  $ cd dir
73d20de5f30b tests: add missing no-outer-repo requirements
Mads Kiilerich <mads@kiilerich.com>
parents: 16239
diff changeset
     7
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
     8
Tests some basic hgwebdir functionality. Tests setting up paths and
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
     9
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
    10
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    11
  $ mkdir webdir
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    12
  $ cd webdir
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    13
  $ hg init a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    14
  $ echo a > a/a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    15
  $ hg --cwd a ci -Ama -d'1 0'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    16
  adding a
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
    17
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    18
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
    19
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    20
  $ hg --cwd a qinit --config extensions.hgext.mq= -c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    21
  $ hg init b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    22
  $ echo b > b/b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    23
  $ hg --cwd b ci -Amb -d'2 0'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    24
  adding b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    25
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    26
create a nested repository
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
    27
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    28
  $ cd b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    29
  $ hg init d
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    30
  $ echo d > d/d
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    31
  $ hg --cwd d ci -Amd -d'3 0'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    32
  adding d
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    33
  $ cd ..
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    34
  $ hg init c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    35
  $ echo c > c/c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    36
  $ hg --cwd c ci -Amc -d'3 0'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    37
  adding c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    38
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    39
create a subdirectory containing repositories and subrepositories
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    40
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    41
  $ mkdir notrepo
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    42
  $ cd notrepo
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    43
  $ hg init e
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    44
  $ echo e > e/e
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    45
  $ hg --cwd e ci -Ame -d'4 0'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    46
  adding e
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    47
  $ hg init e/e2
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    48
  $ echo e2 > e/e2/e2
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    49
  $ hg --cwd e/e2 ci -Ame2 -d '4 0'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    50
  adding e2
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    51
  $ hg init f
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    52
  $ echo f > f/f
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    53
  $ hg --cwd f ci -Amf -d'4 0'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    54
  adding f
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    55
  $ hg init f/f2
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    56
  $ echo f2 > f/f2/f2
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    57
  $ hg --cwd f/f2 ci -Amf2 -d '4 0'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    58
  adding f2
25396
78e8890cfb4b hgwebdir: avoid redundant repo and directory entries when 'web.name' is set
Matt Harbison <matt_harbison@yahoo.com>
parents: 24054
diff changeset
    59
  $ echo 'f2 = f2' > f/.hgsub
78e8890cfb4b hgwebdir: avoid redundant repo and directory entries when 'web.name' is set
Matt Harbison <matt_harbison@yahoo.com>
parents: 24054
diff changeset
    60
  $ hg -R f ci -Am 'add subrepo' -d'4 0'
78e8890cfb4b hgwebdir: avoid redundant repo and directory entries when 'web.name' is set
Matt Harbison <matt_harbison@yahoo.com>
parents: 24054
diff changeset
    61
  adding .hgsub
78e8890cfb4b hgwebdir: avoid redundant repo and directory entries when 'web.name' is set
Matt Harbison <matt_harbison@yahoo.com>
parents: 24054
diff changeset
    62
  $ cat >> f/.hg/hgrc << EOF
78e8890cfb4b hgwebdir: avoid redundant repo and directory entries when 'web.name' is set
Matt Harbison <matt_harbison@yahoo.com>
parents: 24054
diff changeset
    63
  > [web]
78e8890cfb4b hgwebdir: avoid redundant repo and directory entries when 'web.name' is set
Matt Harbison <matt_harbison@yahoo.com>
parents: 24054
diff changeset
    64
  > name = fancy name for repo f
29471
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
    65
  > labels = foo, bar
25396
78e8890cfb4b hgwebdir: avoid redundant repo and directory entries when 'web.name' is set
Matt Harbison <matt_harbison@yahoo.com>
parents: 24054
diff changeset
    66
  > EOF
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    67
  $ cd ..
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
    68
39470
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
    69
add file under the directory which could be shadowed by another repository
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
    70
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
    71
  $ mkdir notrepo/f/f3
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
    72
  $ echo f3/file > notrepo/f/f3/file
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
    73
  $ hg -R notrepo/f ci -Am 'f3/file'
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
    74
  adding f3/file
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
    75
  $ hg -R notrepo/f update null
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
    76
  0 files updated, 0 files merged, 4 files removed, 0 files unresolved
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
    77
  $ hg init notrepo/f/f3
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
    78
  $ cat <<'EOF' > notrepo/f/f3/.hg/hgrc
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
    79
  > [web]
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
    80
  > hidden = true
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
    81
  > EOF
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
    82
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    83
create repository without .hg/store
7523
e60aaae83323 hgweb: recurse down collections only if ** in [paths]
Benoit Allard <benoit@aeteurope.nl>
parents: 7494
diff changeset
    84
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    85
  $ hg init nostore
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    86
  $ rm -R nostore/.hg/store
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    87
  $ root=`pwd`
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    88
  $ cd ..
17015
73d20de5f30b tests: add missing no-outer-repo requirements
Mads Kiilerich <mads@kiilerich.com>
parents: 16239
diff changeset
    89
73d20de5f30b tests: add missing no-outer-repo requirements
Mads Kiilerich <mads@kiilerich.com>
parents: 16239
diff changeset
    90
serve
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    91
  $ cat > paths.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    92
  > [paths]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    93
  > a=$root/a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    94
  > b=$root/b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    95
  > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    96
  $ 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
    97
  >     -A access-paths.log -E error-paths-1.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
    98
  $ cat hg.pid >> $DAEMON_PIDS
7523
e60aaae83323 hgweb: recurse down collections only if ** in [paths]
Benoit Allard <benoit@aeteurope.nl>
parents: 7494
diff changeset
    99
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   100
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
   101
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
   102
  $ get-with-headers.py localhost:$HGPORT 'a/file/tip/bork?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   103
  404 Not Found
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   104
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   105
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   106
  error: bork@8580ff50825a: not found in manifest
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   107
  [1]
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
   108
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   109
should succeed
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
   110
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
   111
  $ get-with-headers.py localhost:$HGPORT '?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   112
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   113
  
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
  /a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   116
  /b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   117
  
28268
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   118
  $ get-with-headers.py localhost:$HGPORT '?style=json'
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   119
  200 Script output follows
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   120
  
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   121
  {
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   122
  "entries": [{
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   123
  "name": "a",
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   124
  "description": "unknown",
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   125
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
29471
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   126
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   127
  "labels": []
28268
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   128
  }, {
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   129
  "name": "b",
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   130
  "description": "unknown",
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   131
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
29471
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   132
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   133
  "labels": []
28268
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   134
  }]
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   135
  } (no-eol)
3643b66d7f71 hgweb: add index template to json/map
Anton Shestakov <av6@dwimlabs.net>
parents: 27184
diff changeset
   136
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
   137
  $ get-with-headers.py localhost:$HGPORT 'a/file/tip/a?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   138
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   139
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   140
  a
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
   141
  $ get-with-headers.py localhost:$HGPORT 'b/file/tip/b?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   142
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   143
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   144
  b
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
   145
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   146
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
   147
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
   148
  $ get-with-headers.py localhost:$HGPORT 'c/file/tip/c?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   149
  404 Not Found
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   150
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   151
  
13066
86888ae9ce90 hgwebdir: fix incorrect index generation for invalid paths (issue2023)
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 12643
diff changeset
   152
  error: repository c/file/tip/c not found
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   153
  [1]
10674
6d87c20cd7a8 hgweb: fix broken URLs of RSS/Atom feeds (issue1772)
Yuya Nishihara <yuya@tcha.org>
parents: 9363
diff changeset
   154
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   155
atom-log without basedir
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   156
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
   157
  $ 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
   158
   <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
   159
   <link rel="alternate" href="http://*:$HGPORT/a/"/> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
   160
    <link href="http://*:$HGPORT/a/rev/8580ff50825a"/> (glob)
12443
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
rss-log without basedir
9363
8635b33eaade hgweb: add web.descend configuration variable
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9184
diff changeset
   163
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
   164
  $ 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
   165
      <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
   166
  $ cat > paths.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   167
  > [paths]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   168
  > t/a/=$root/a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   169
  > b=$root/b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   170
  > coll=$root/*
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   171
  > rcoll=$root/**
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   172
  > star=*
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   173
  > starstar=**
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
   174
  > astar=webdir/a/*
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   175
  > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   176
  $ 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
   177
  >     -A access-paths.log -E error-paths-2.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   178
  $ 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
   179
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   180
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
   181
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
   182
  $ get-with-headers.py localhost:$HGPORT1 '?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   183
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   184
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   185
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   186
  /t/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   187
  /b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   188
  /coll/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   189
  /coll/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   190
  /coll/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   191
  /coll/c/
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   192
  /coll/notrepo/e/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   193
  /coll/notrepo/f/
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   194
  /rcoll/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   195
  /rcoll/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   196
  /rcoll/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   197
  /rcoll/b/d/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   198
  /rcoll/c/
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   199
  /rcoll/notrepo/e/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   200
  /rcoll/notrepo/e/e2/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   201
  /rcoll/notrepo/f/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   202
  /rcoll/notrepo/f/f2/
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   203
  /star/webdir/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   204
  /star/webdir/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   205
  /star/webdir/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   206
  /star/webdir/c/
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   207
  /star/webdir/notrepo/e/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   208
  /star/webdir/notrepo/f/
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   209
  /starstar/webdir/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   210
  /starstar/webdir/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   211
  /starstar/webdir/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   212
  /starstar/webdir/b/d/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   213
  /starstar/webdir/c/
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   214
  /starstar/webdir/notrepo/e/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   215
  /starstar/webdir/notrepo/e/e2/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   216
  /starstar/webdir/notrepo/f/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   217
  /starstar/webdir/notrepo/f/f2/
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
   218
  /astar/
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
   219
  /astar/.hg/patches/
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   220
  
29471
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   221
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   222
  $ get-with-headers.py localhost:$HGPORT1 '?style=json'
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   223
  200 Script output follows
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   224
  
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   225
  {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   226
  "entries": [{
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   227
  "name": "t/a",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   228
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   229
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   230
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   231
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   232
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   233
  "name": "b",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   234
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   235
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   236
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   237
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   238
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   239
  "name": "coll/a",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   240
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   241
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   242
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   243
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   244
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   245
  "name": "coll/a/.hg/patches",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   246
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   247
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   248
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   249
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   250
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   251
  "name": "coll/b",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   252
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   253
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   254
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   255
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   256
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   257
  "name": "coll/c",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   258
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   259
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   260
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   261
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   262
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   263
  "name": "coll/notrepo/e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   264
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   265
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   266
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   267
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   268
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   269
  "name": "fancy name for repo f",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   270
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   271
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   272
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   273
  "labels": ["foo", "bar"]
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   274
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   275
  "name": "rcoll/a",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   276
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   277
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   278
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   279
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   280
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   281
  "name": "rcoll/a/.hg/patches",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   282
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   283
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   284
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   285
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   286
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   287
  "name": "rcoll/b",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   288
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   289
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   290
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   291
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   292
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   293
  "name": "rcoll/b/d",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   294
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   295
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   296
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   297
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   298
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   299
  "name": "rcoll/c",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   300
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   301
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   302
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   303
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   304
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   305
  "name": "rcoll/notrepo/e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   306
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   307
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   308
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   309
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   310
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   311
  "name": "rcoll/notrepo/e/e2",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   312
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   313
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   314
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   315
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   316
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   317
  "name": "fancy name for repo f",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   318
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   319
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   320
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   321
  "labels": ["foo", "bar"]
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   322
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   323
  "name": "rcoll/notrepo/f/f2",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   324
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   325
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   326
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   327
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   328
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   329
  "name": "star/webdir/a",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   330
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   331
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   332
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   333
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   334
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   335
  "name": "star/webdir/a/.hg/patches",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   336
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   337
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   338
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   339
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   340
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   341
  "name": "star/webdir/b",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   342
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   343
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   344
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   345
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   346
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   347
  "name": "star/webdir/c",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   348
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   349
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   350
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   351
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   352
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   353
  "name": "star/webdir/notrepo/e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   354
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   355
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   356
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   357
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   358
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   359
  "name": "fancy name for repo f",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   360
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   361
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   362
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   363
  "labels": ["foo", "bar"]
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   364
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   365
  "name": "starstar/webdir/a",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   366
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   367
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   368
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   369
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   370
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   371
  "name": "starstar/webdir/a/.hg/patches",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   372
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   373
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   374
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   375
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   376
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   377
  "name": "starstar/webdir/b",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   378
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   379
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   380
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   381
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   382
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   383
  "name": "starstar/webdir/b/d",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   384
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   385
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   386
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   387
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   388
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   389
  "name": "starstar/webdir/c",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   390
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   391
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   392
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   393
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   394
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   395
  "name": "starstar/webdir/notrepo/e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   396
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   397
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   398
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   399
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   400
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   401
  "name": "starstar/webdir/notrepo/e/e2",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   402
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   403
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   404
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   405
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   406
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   407
  "name": "fancy name for repo f",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   408
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   409
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   410
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   411
  "labels": ["foo", "bar"]
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   412
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   413
  "name": "starstar/webdir/notrepo/f/f2",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   414
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   415
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   416
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   417
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   418
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   419
  "name": "astar",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   420
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   421
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   422
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   423
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   424
  }, {
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   425
  "name": "astar/.hg/patches",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   426
  "description": "unknown",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   427
  "contact": "Foo Bar \u003cfoo.bar@example.com\u003e",
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   428
  "lastchange": [*, *], (glob)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   429
  "labels": []
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   430
  }]
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   431
  } (no-eol)
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29439
diff changeset
   432
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
   433
  $ get-with-headers.py localhost:$HGPORT1 '?style=paper'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   434
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   435
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   436
  <!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
   437
  <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
   438
  <head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   439
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   440
  <meta name="robots" content="index, nofollow" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   441
  <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
   442
  <script type="text/javascript" src="/static/mercurial.js"></script>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   443
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   444
  <title>Mercurial repositories index</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   445
  </head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   446
  <body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   447
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   448
  <div class="container">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   449
  <div class="menu">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26072
diff changeset
   450
  <a href="https://mercurial-scm.org/">
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   451
  <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
   452
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   453
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18201
diff changeset
   454
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   455
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   456
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 22046
diff changeset
   457
      <thead>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   458
      <tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   459
          <th><a href="?sort=name">Name</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   460
          <th><a href="?sort=description">Description</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   461
          <th><a href="?sort=contact">Contact</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   462
          <th><a href="?sort=lastchange">Last modified</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   463
          <th>&nbsp;</th>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   464
          <th>&nbsp;</th>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   465
      </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 22046
diff changeset
   466
      </thead>
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   467
      <tbody class="stripes2">
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   468
      
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   469
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   470
  <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
   471
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   472
  <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
   473
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   474
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   475
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   476
  <a href="/t/a/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   477
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   478
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   479
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   480
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   481
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   482
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   483
  <td><a href="/b/?style=paper">b</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   484
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   485
  <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
   486
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   487
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   488
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   489
  <a href="/b/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   490
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   491
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   492
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   493
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   494
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   495
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   496
  <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
   497
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   498
  <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
   499
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   500
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   501
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   502
  <a href="/coll/a/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   503
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   504
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   505
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   506
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   507
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   508
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   509
  <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
   510
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   511
  <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
   512
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   513
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   514
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   515
  <a href="/coll/a/.hg/patches/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   516
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   517
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   518
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   519
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   520
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   521
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   522
  <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
   523
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   524
  <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
   525
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   526
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   527
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   528
  <a href="/coll/b/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   529
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   530
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   531
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   532
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   533
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   534
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   535
  <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
   536
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   537
  <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
   538
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   539
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   540
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   541
  <a href="/coll/c/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   542
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   543
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   544
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   545
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   546
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   547
  <tr>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   548
  <td><a href="/coll/notrepo/e/?style=paper">coll/notrepo/e</a></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   549
  <td>unknown</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   550
  <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>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   551
  <td class="age">*</td> (glob)
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   552
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   553
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   554
  <a href="/coll/notrepo/e/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   555
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   556
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   557
  </td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   558
  </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   559
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   560
  <tr>
25396
78e8890cfb4b hgwebdir: avoid redundant repo and directory entries when 'web.name' is set
Matt Harbison <matt_harbison@yahoo.com>
parents: 24054
diff changeset
   561
  <td><a href="/coll/notrepo/f/?style=paper">fancy name for repo f</a></td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   562
  <td>unknown</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   563
  <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>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   564
  <td class="age">*</td> (glob)
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   565
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   566
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   567
  <a href="/coll/notrepo/f/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   568
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   569
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   570
  </td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   571
  </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   572
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   573
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   574
  <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
   575
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   576
  <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
   577
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   578
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   579
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   580
  <a href="/rcoll/a/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   581
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   582
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   583
  </td>
12443
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
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   586
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   587
  <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
   588
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   589
  <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
   590
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   591
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   592
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   593
  <a href="/rcoll/a/.hg/patches/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   594
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   595
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   596
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   597
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   598
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   599
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   600
  <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
   601
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   602
  <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
   603
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   604
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   605
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   606
  <a href="/rcoll/b/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   607
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   608
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   609
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   610
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   611
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   612
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   613
  <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
   614
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   615
  <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
   616
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   617
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   618
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   619
  <a href="/rcoll/b/d/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   620
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   621
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   622
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   623
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   624
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   625
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   626
  <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
   627
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   628
  <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
   629
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   630
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   631
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   632
  <a href="/rcoll/c/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   633
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   634
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   635
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   636
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   637
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   638
  <tr>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   639
  <td><a href="/rcoll/notrepo/e/?style=paper">rcoll/notrepo/e</a></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   640
  <td>unknown</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   641
  <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>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   642
  <td class="age">*</td> (glob)
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   643
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   644
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   645
  <a href="/rcoll/notrepo/e/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   646
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   647
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   648
  </td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   649
  </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   650
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   651
  <tr>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   652
  <td><a href="/rcoll/notrepo/e/e2/?style=paper">rcoll/notrepo/e/e2</a></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   653
  <td>unknown</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   654
  <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>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   655
  <td class="age">*</td> (glob)
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   656
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   657
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   658
  <a href="/rcoll/notrepo/e/e2/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   659
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   660
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   661
  </td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   662
  </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   663
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   664
  <tr>
25396
78e8890cfb4b hgwebdir: avoid redundant repo and directory entries when 'web.name' is set
Matt Harbison <matt_harbison@yahoo.com>
parents: 24054
diff changeset
   665
  <td><a href="/rcoll/notrepo/f/?style=paper">fancy name for repo f</a></td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   666
  <td>unknown</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   667
  <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>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   668
  <td class="age">*</td> (glob)
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   669
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   670
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   671
  <a href="/rcoll/notrepo/f/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   672
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   673
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   674
  </td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   675
  </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   676
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   677
  <tr>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   678
  <td><a href="/rcoll/notrepo/f/f2/?style=paper">rcoll/notrepo/f/f2</a></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   679
  <td>unknown</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   680
  <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>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   681
  <td class="age">*</td> (glob)
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   682
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   683
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   684
  <a href="/rcoll/notrepo/f/f2/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   685
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   686
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   687
  </td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   688
  </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   689
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   690
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   691
  <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
   692
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   693
  <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
   694
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   695
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   696
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   697
  <a href="/star/webdir/a/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   698
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   699
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   700
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   701
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   702
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   703
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   704
  <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
   705
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   706
  <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
   707
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   708
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   709
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   710
  <a href="/star/webdir/a/.hg/patches/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   711
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   712
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   713
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   714
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   715
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   716
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   717
  <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
   718
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   719
  <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
   720
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   721
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   722
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   723
  <a href="/star/webdir/b/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   724
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   725
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   726
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   727
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   728
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   729
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   730
  <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
   731
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   732
  <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
   733
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   734
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   735
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   736
  <a href="/star/webdir/c/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   737
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   738
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   739
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   740
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   741
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   742
  <tr>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   743
  <td><a href="/star/webdir/notrepo/e/?style=paper">star/webdir/notrepo/e</a></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   744
  <td>unknown</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   745
  <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>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   746
  <td class="age">*</td> (glob)
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   747
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   748
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   749
  <a href="/star/webdir/notrepo/e/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   750
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   751
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   752
  </td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   753
  </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   754
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   755
  <tr>
25396
78e8890cfb4b hgwebdir: avoid redundant repo and directory entries when 'web.name' is set
Matt Harbison <matt_harbison@yahoo.com>
parents: 24054
diff changeset
   756
  <td><a href="/star/webdir/notrepo/f/?style=paper">fancy name for repo f</a></td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   757
  <td>unknown</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   758
  <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>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   759
  <td class="age">*</td> (glob)
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   760
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   761
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   762
  <a href="/star/webdir/notrepo/f/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   763
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   764
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   765
  </td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   766
  </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   767
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   768
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   769
  <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
   770
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   771
  <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
   772
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   773
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   774
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   775
  <a href="/starstar/webdir/a/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   776
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   777
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   778
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   779
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   780
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   781
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   782
  <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
   783
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   784
  <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
   785
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   786
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   787
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   788
  <a href="/starstar/webdir/a/.hg/patches/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   789
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   790
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   791
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   792
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   793
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   794
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   795
  <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
   796
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   797
  <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
   798
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   799
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   800
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   801
  <a href="/starstar/webdir/b/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   802
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   803
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   804
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   805
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   806
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   807
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   808
  <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
   809
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   810
  <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
   811
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   812
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   813
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   814
  <a href="/starstar/webdir/b/d/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   815
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   816
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   817
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   818
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   819
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   820
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   821
  <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
   822
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   823
  <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
   824
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   825
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   826
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   827
  <a href="/starstar/webdir/c/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   828
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   829
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   830
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   831
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   832
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   833
  <tr>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   834
  <td><a href="/starstar/webdir/notrepo/e/?style=paper">starstar/webdir/notrepo/e</a></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   835
  <td>unknown</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   836
  <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>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   837
  <td class="age">*</td> (glob)
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   838
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   839
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   840
  <a href="/starstar/webdir/notrepo/e/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   841
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   842
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   843
  </td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   844
  </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   845
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   846
  <tr>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   847
  <td><a href="/starstar/webdir/notrepo/e/e2/?style=paper">starstar/webdir/notrepo/e/e2</a></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   848
  <td>unknown</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   849
  <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>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   850
  <td class="age">*</td> (glob)
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   851
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   852
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   853
  <a href="/starstar/webdir/notrepo/e/e2/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   854
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   855
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   856
  </td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   857
  </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   858
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   859
  <tr>
25396
78e8890cfb4b hgwebdir: avoid redundant repo and directory entries when 'web.name' is set
Matt Harbison <matt_harbison@yahoo.com>
parents: 24054
diff changeset
   860
  <td><a href="/starstar/webdir/notrepo/f/?style=paper">fancy name for repo f</a></td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   861
  <td>unknown</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   862
  <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>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   863
  <td class="age">*</td> (glob)
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   864
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   865
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   866
  <a href="/starstar/webdir/notrepo/f/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   867
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   868
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   869
  </td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   870
  </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   871
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   872
  <tr>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   873
  <td><a href="/starstar/webdir/notrepo/f/f2/?style=paper">starstar/webdir/notrepo/f/f2</a></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   874
  <td>unknown</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   875
  <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>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   876
  <td class="age">*</td> (glob)
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   877
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   878
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   879
  <a href="/starstar/webdir/notrepo/f/f2/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   880
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   881
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   882
  </td>
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   883
  </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
   884
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   885
  <tr>
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
   886
  <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
   887
  <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
   888
  <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
   889
  <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
   890
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   891
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   892
  <a href="/astar/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   893
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   894
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   895
  </td>
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
   896
  </tr>
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
   897
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   898
  <tr>
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
   899
  <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
   900
  <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
   901
  <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
   902
  <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
   903
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   904
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   905
  <a href="/astar/.hg/patches/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   906
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   907
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   908
  </td>
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
   909
  </tr>
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
   910
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   911
      </tbody>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   912
  </table>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   913
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   914
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   915
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   916
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   917
  </body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   918
  </html>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   919
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
   920
  $ get-with-headers.py localhost:$HGPORT1 't?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   921
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   922
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   923
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   924
  /t/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   925
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
   926
  $ get-with-headers.py localhost:$HGPORT1 't/?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   927
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   928
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   929
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   930
  /t/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   931
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
   932
  $ get-with-headers.py localhost:$HGPORT1 't/?style=paper'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   933
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   934
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   935
  <!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
   936
  <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
   937
  <head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   938
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   939
  <meta name="robots" content="index, nofollow" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   940
  <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
   941
  <script type="text/javascript" src="/static/mercurial.js"></script>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   942
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   943
  <title>Mercurial repositories index</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   944
  </head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   945
  <body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   946
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   947
  <div class="container">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   948
  <div class="menu">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26072
diff changeset
   949
  <a href="https://mercurial-scm.org/">
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   950
  <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
   951
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   952
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18201
diff changeset
   953
  <h2 class="breadcrumb"><a href="/">Mercurial</a> &gt; <a href="/t">t</a> </h2>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   954
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   955
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 22046
diff changeset
   956
      <thead>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   957
      <tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   958
          <th><a href="?sort=name">Name</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   959
          <th><a href="?sort=description">Description</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   960
          <th><a href="?sort=contact">Contact</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   961
          <th><a href="?sort=lastchange">Last modified</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   962
          <th>&nbsp;</th>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   963
          <th>&nbsp;</th>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   964
      </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 22046
diff changeset
   965
      </thead>
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   966
      <tbody class="stripes2">
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   967
      
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   968
  <tr>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   969
  <td><a href="/t/a/?style=paper">a</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   970
  <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   971
  <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
   972
  <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   973
  <td class="indexlinks"></td>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   974
  <td>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   975
  <a href="/t/a/atom-log" title="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   976
  <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="subscribe to repository atom feed">
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   977
  </a>
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
   978
  </td>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   979
  </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   980
  
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
   981
      </tbody>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   982
  </table>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   983
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   984
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   985
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   986
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   987
  </body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   988
  </html>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   989
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
   990
  $ get-with-headers.py localhost:$HGPORT1 't/a?style=atom'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   991
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   992
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   993
  <?xml version="1.0" encoding="ascii"?>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   994
  <feed xmlns="http://www.w3.org/2005/Atom">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   995
   <!-- Changelog -->
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
   996
   <id>http://*:$HGPORT1/t/a/</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
   997
   <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
   998
   <link rel="alternate" href="http://*:$HGPORT1/t/a/"/> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
   999
   <title>t/a Changelog</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1000
   <updated>1970-01-01T00:00:01+00:00</updated>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1001
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1002
   <entry>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 19450
diff changeset
  1003
    <title>[default] a</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
  1004
    <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
  1005
    <link href="http://*:$HGPORT1/t/a/rev/8580ff50825a"/> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1006
    <author>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1007
     <name>test</name>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1008
     <email>&#116;&#101;&#115;&#116;</email>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1009
    </author>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1010
    <updated>1970-01-01T00:00:01+00:00</updated>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1011
    <published>1970-01-01T00:00:01+00:00</published>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1012
    <content type="xhtml">
29439
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1013
     <table xmlns="http://www.w3.org/1999/xhtml">
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1014
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1015
       <th style="text-align:left;">changeset</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1016
       <td>8580ff50825a</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1017
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1018
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1019
       <th style="text-align:left;">branch</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1020
       <td>default</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1021
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1022
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1023
       <th style="text-align:left;">bookmark</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1024
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1025
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1026
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1027
       <th style="text-align:left;">tag</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1028
       <td>tip</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1029
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1030
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1031
       <th style="text-align:left;">user</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1032
       <td>&#116;&#101;&#115;&#116;</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1033
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1034
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1035
       <th style="text-align:left;vertical-align:top;">description</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1036
       <td>a</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1037
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1038
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1039
       <th style="text-align:left;vertical-align:top;">files</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1040
       <td>a<br /></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1041
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1042
     </table>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1043
    </content>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1044
   </entry>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1045
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1046
  </feed>
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1047
  $ get-with-headers.py localhost:$HGPORT1 't/a/?style=atom'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1048
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1049
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1050
  <?xml version="1.0" encoding="ascii"?>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1051
  <feed xmlns="http://www.w3.org/2005/Atom">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1052
   <!-- Changelog -->
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
  1053
   <id>http://*:$HGPORT1/t/a/</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
  1054
   <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
  1055
   <link rel="alternate" href="http://*:$HGPORT1/t/a/"/> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1056
   <title>t/a Changelog</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1057
   <updated>1970-01-01T00:00:01+00:00</updated>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1058
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1059
   <entry>
21056
d70703954a2a hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 19450
diff changeset
  1060
    <title>[default] a</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
  1061
    <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
  1062
    <link href="http://*:$HGPORT1/t/a/rev/8580ff50825a"/> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1063
    <author>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1064
     <name>test</name>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1065
     <email>&#116;&#101;&#115;&#116;</email>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1066
    </author>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1067
    <updated>1970-01-01T00:00:01+00:00</updated>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1068
    <published>1970-01-01T00:00:01+00:00</published>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1069
    <content type="xhtml">
29439
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1070
     <table xmlns="http://www.w3.org/1999/xhtml">
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1071
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1072
       <th style="text-align:left;">changeset</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1073
       <td>8580ff50825a</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1074
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1075
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1076
       <th style="text-align:left;">branch</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1077
       <td>default</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1078
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1079
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1080
       <th style="text-align:left;">bookmark</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1081
       <td></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1082
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1083
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1084
       <th style="text-align:left;">tag</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1085
       <td>tip</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1086
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1087
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1088
       <th style="text-align:left;">user</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1089
       <td>&#116;&#101;&#115;&#116;</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1090
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1091
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1092
       <th style="text-align:left;vertical-align:top;">description</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1093
       <td>a</td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1094
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1095
      <tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1096
       <th style="text-align:left;vertical-align:top;">files</th>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1097
       <td>a<br /></td>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1098
      </tr>
c42a3fd5c1fc hgweb: reindent atom/changelogentry.tmpl
Anton Shestakov <av6@dwimlabs.net>
parents: 28268
diff changeset
  1099
     </table>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1100
    </content>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1101
   </entry>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1102
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1103
  </feed>
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1104
  $ get-with-headers.py localhost:$HGPORT1 't/a/file/tip/a?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1105
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1106
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1107
  a
12038
9617803b1acb hgweb: handle exception of misconfigured path on index page
Yuya Nishihara <yuya@tcha.org>
parents: 11677
diff changeset
  1108
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1109
Test [paths] '*' extension
12038
9617803b1acb hgweb: handle exception of misconfigured path on index page
Yuya Nishihara <yuya@tcha.org>
parents: 11677
diff changeset
  1110
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1111
  $ get-with-headers.py localhost:$HGPORT1 'coll/?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1112
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1113
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1114
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1115
  /coll/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1116
  /coll/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1117
  /coll/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1118
  /coll/c/
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1119
  /coll/notrepo/e/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1120
  /coll/notrepo/f/
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1121
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1122
  $ get-with-headers.py localhost:$HGPORT1 'coll/a/file/tip/a?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1123
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1124
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1125
  a
12038
9617803b1acb hgweb: handle exception of misconfigured path on index page
Yuya Nishihara <yuya@tcha.org>
parents: 11677
diff changeset
  1126
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
  1127
Test [paths] '**' extension
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
  1128
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1129
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1130
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1131
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1132
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1133
  /rcoll/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1134
  /rcoll/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1135
  /rcoll/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1136
  /rcoll/b/d/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1137
  /rcoll/c/
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1138
  /rcoll/notrepo/e/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1139
  /rcoll/notrepo/e/e2/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1140
  /rcoll/notrepo/f/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1141
  /rcoll/notrepo/f/f2/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1142
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1143
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/b/d/file/tip/d?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1144
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1145
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1146
  d
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1147
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1148
Test collapse = True
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1149
25474
8c14f87bd0ae tests: drop DAEMON_PIDS from killdaemons calls
Matt Mackall <mpm@selenic.com>
parents: 25472
diff changeset
  1150
  $ killdaemons.py
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1151
  $ cat >> paths.conf <<EOF
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1152
  > [web]
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1153
  > collapse=true
25396
78e8890cfb4b hgwebdir: avoid redundant repo and directory entries when 'web.name' is set
Matt Harbison <matt_harbison@yahoo.com>
parents: 24054
diff changeset
  1154
  > descend = true
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1155
  > EOF
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1156
  $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1157
  >     -A access-paths.log -E error-paths-3.log
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1158
  $ cat hg.pid >> $DAEMON_PIDS
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1159
  $ get-with-headers.py localhost:$HGPORT1 'coll/?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1160
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1161
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1162
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1163
  /coll/a/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1164
  /coll/a/.hg/patches/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1165
  /coll/b/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1166
  /coll/c/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1167
  /coll/notrepo/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1168
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1169
  $ get-with-headers.py localhost:$HGPORT1 'coll/a/file/tip/a?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1170
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1171
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1172
  a
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1173
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1174
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1175
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1176
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1177
  /rcoll/a/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1178
  /rcoll/a/.hg/patches/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1179
  /rcoll/b/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1180
  /rcoll/b/d/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1181
  /rcoll/c/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1182
  /rcoll/notrepo/
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1183
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1184
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/b/d/file/tip/d?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1185
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1186
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1187
  d
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
  1188
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1189
Test intermediate directories
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1190
25426
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1191
Hide the subrepo parent
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1192
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1193
  $ cp $root/notrepo/f/.hg/hgrc $root/notrepo/f/.hg/hgrc.bak
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1194
  $ cat >> $root/notrepo/f/.hg/hgrc << EOF
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1195
  > [web]
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1196
  > hidden = True
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1197
  > EOF
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1198
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1199
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/notrepo/?style=raw'
25426
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1200
  200 Script output follows
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1201
  
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1202
  
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1203
  /rcoll/notrepo/e/
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1204
  /rcoll/notrepo/e/e2/
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1205
  
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1206
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1207
Subrepo parent not hidden
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1208
  $ mv $root/notrepo/f/.hg/hgrc.bak $root/notrepo/f/.hg/hgrc
5f3666da6910 hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Matt Harbison <mharbison@attotech.com>
parents: 25396
diff changeset
  1209
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1210
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/notrepo/?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1211
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1212
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1213
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1214
  /rcoll/notrepo/e/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1215
  /rcoll/notrepo/e/e2/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1216
  /rcoll/notrepo/f/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1217
  /rcoll/notrepo/f/f2/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1218
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1219
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1220
Test repositories inside intermediate directories
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1221
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1222
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/notrepo/e/file/tip/e?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1223
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1224
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1225
  e
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1226
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1227
Test subrepositories inside intermediate directories
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1228
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1229
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/notrepo/f/f2/file/tip/f2?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1230
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1231
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1232
  f2
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1233
39471
15e8250a82da hgweb: do not audit URL path as working-directory path
Yuya Nishihara <yuya@tcha.org>
parents: 39470
diff changeset
  1234
Test accessing file that could be shadowed by another repository if the URL
15e8250a82da hgweb: do not audit URL path as working-directory path
Yuya Nishihara <yuya@tcha.org>
parents: 39470
diff changeset
  1235
path were audited as a working-directory path:
39470
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1236
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1237
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/notrepo/f/file/tip/f3/file?style=raw'
39471
15e8250a82da hgweb: do not audit URL path as working-directory path
Yuya Nishihara <yuya@tcha.org>
parents: 39470
diff changeset
  1238
  200 Script output follows
39470
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1239
  
39471
15e8250a82da hgweb: do not audit URL path as working-directory path
Yuya Nishihara <yuya@tcha.org>
parents: 39470
diff changeset
  1240
  f3/file
15e8250a82da hgweb: do not audit URL path as working-directory path
Yuya Nishihara <yuya@tcha.org>
parents: 39470
diff changeset
  1241
15e8250a82da hgweb: do not audit URL path as working-directory path
Yuya Nishihara <yuya@tcha.org>
parents: 39470
diff changeset
  1242
Test accessing working-directory file that is shadowed by another repository
39470
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1243
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1244
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/notrepo/f/file/ffffffffffff/f3/file?style=raw'
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1245
  403 Forbidden
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1246
  
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1247
  
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1248
  error: path 'f3/file' is inside nested repo 'f3'
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1249
  [1]
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1250
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1251
Test accessing invalid paths:
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1252
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1253
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/notrepo/f/file/tip/..?style=raw'
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1254
  403 Forbidden
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1255
  
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1256
  
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1257
  error: .. not under root '$TESTTMP/dir/webdir/notrepo/f'
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1258
  [1]
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1259
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1260
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/notrepo/f/file/tip/.hg/hgrc?style=raw'
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1261
  403 Forbidden
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1262
  
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1263
  
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1264
  error: path contains illegal component: .hg/hgrc
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1265
  [1]
17ca967e9fca hgweb: map Abort to 403 error to report inaccessible path for example
Yuya Nishihara <yuya@tcha.org>
parents: 32004
diff changeset
  1266
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1267
Test descend = False
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1268
25474
8c14f87bd0ae tests: drop DAEMON_PIDS from killdaemons calls
Matt Mackall <mpm@selenic.com>
parents: 25472
diff changeset
  1269
  $ killdaemons.py
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1270
  $ cat >> paths.conf <<EOF
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1271
  > descend=false
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1272
  > EOF
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1273
  $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1274
  >     -A access-paths.log -E error-paths-4.log
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1275
  $ cat hg.pid >> $DAEMON_PIDS
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1276
  $ get-with-headers.py localhost:$HGPORT1 'coll/?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1277
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1278
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1279
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1280
  /coll/a/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1281
  /coll/b/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1282
  /coll/c/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1283
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1284
  $ get-with-headers.py localhost:$HGPORT1 'coll/a/file/tip/a?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1285
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1286
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1287
  a
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1288
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1289
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1290
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1291
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1292
  /rcoll/a/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1293
  /rcoll/b/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1294
  /rcoll/c/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1295
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1296
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/b/d/file/tip/d?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1297
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1298
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1299
  d
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1300
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1301
Test intermediate directories
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1302
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1303
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/notrepo/?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1304
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1305
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1306
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1307
  /rcoll/notrepo/e/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1308
  /rcoll/notrepo/f/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1309
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1310
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1311
Test repositories inside intermediate directories
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1312
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1313
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/notrepo/e/file/tip/e?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1314
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1315
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1316
  e
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1317
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1318
Test subrepositories inside intermediate directories
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1319
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1320
  $ get-with-headers.py localhost:$HGPORT1 'rcoll/notrepo/f/f2/file/tip/f2?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1321
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1322
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1323
  f2
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1324
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
  1325
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
  1326
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
  1327
  $ 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
  1328
  8580ff50825a
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
  1329
25474
8c14f87bd0ae tests: drop DAEMON_PIDS from killdaemons calls
Matt Mackall <mpm@selenic.com>
parents: 25472
diff changeset
  1330
  $ killdaemons.py
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1331
  $ cat > paths.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1332
  > [paths]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1333
  > t/a = $root/a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1334
  > t/b = $root/b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1335
  > c = $root/c
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1336
  > EOF
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1337
  $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1338
  >     -A access-paths.log -E error-paths-5.log
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1339
  $ cat hg.pid >> $DAEMON_PIDS
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1340
  $ get-with-headers.py localhost:$HGPORT1 '?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1341
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1342
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1343
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1344
  /t/a/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1345
  /t/b/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1346
  /c/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1347
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1348
  $ get-with-headers.py localhost:$HGPORT1 't/?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1349
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1350
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1351
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1352
  /t/a/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1353
  /t/b/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1354
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1355
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1356
Test collapse = True
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1357
25474
8c14f87bd0ae tests: drop DAEMON_PIDS from killdaemons calls
Matt Mackall <mpm@selenic.com>
parents: 25472
diff changeset
  1358
  $ killdaemons.py
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1359
  $ cat >> paths.conf <<EOF
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1360
  > [web]
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1361
  > collapse=true
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1362
  > EOF
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1363
  $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1364
  >     -A access-paths.log -E error-paths-6.log
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1365
  $ cat hg.pid >> $DAEMON_PIDS
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1366
  $ get-with-headers.py localhost:$HGPORT1 '?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1367
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1368
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1369
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1370
  /t/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1371
  /c/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1372
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1373
  $ get-with-headers.py localhost:$HGPORT1 't/?style=raw'
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1374
  200 Script output follows
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1375
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1376
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1377
  /t/a/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1378
  /t/b/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1379
  
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1380
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1381
test descend = False
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1382
25474
8c14f87bd0ae tests: drop DAEMON_PIDS from killdaemons calls
Matt Mackall <mpm@selenic.com>
parents: 25472
diff changeset
  1383
  $ killdaemons.py
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1384
  $ cat >> paths.conf <<EOF
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1385
  > descend=false
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1386
  > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1387
  $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1388
  >     -A access-paths.log -E error-paths-7.log
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1389
  $ cat hg.pid >> $DAEMON_PIDS
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1390
  $ get-with-headers.py localhost:$HGPORT1 '?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1391
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1392
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1393
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1394
  /c/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1395
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1396
  $ get-with-headers.py localhost:$HGPORT1 't/?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1397
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1398
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1399
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1400
  /t/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1401
  /t/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1402
  
25474
8c14f87bd0ae tests: drop DAEMON_PIDS from killdaemons calls
Matt Mackall <mpm@selenic.com>
parents: 25472
diff changeset
  1403
  $ killdaemons.py
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1404
  $ cat > paths.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1405
  > [paths]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1406
  > nostore = $root/nostore
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1407
  > inexistent = $root/inexistent
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1408
  > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1409
  $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1410
  >     -A access-paths.log -E error-paths-8.log
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1411
  $ cat hg.pid >> $DAEMON_PIDS
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1412
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1413
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
  1414
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1415
  $ get-with-headers.py localhost:$HGPORT1 ''
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1416
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1417
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1418
  <!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
  1419
  <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
  1420
  <head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1421
  <link rel="icon" href="/static/hgicon.png" type="image/png" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1422
  <meta name="robots" content="index, nofollow" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1423
  <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
  1424
  <script type="text/javascript" src="/static/mercurial.js"></script>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1425
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1426
  <title>Mercurial repositories index</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1427
  </head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1428
  <body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1429
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1430
  <div class="container">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1431
  <div class="menu">
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 26072
diff changeset
  1432
  <a href="https://mercurial-scm.org/">
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1433
  <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
  1434
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1435
  <div class="main">
18264
d6ebdbdd70a5 tests: update hgweb tests to include breadcrumbs
Bryan O'Sullivan <bryano@fb.com>
parents: 18201
diff changeset
  1436
  <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1437
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1438
  <table class="bigtable">
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 22046
diff changeset
  1439
      <thead>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1440
      <tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1441
          <th><a href="?sort=name">Name</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1442
          <th><a href="?sort=description">Description</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1443
          <th><a href="?sort=contact">Contact</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1444
          <th><a href="?sort=lastchange">Last modified</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1445
          <th>&nbsp;</th>
18201
2efc6536ea43 hgweb, paper: add (Atom) subscribe links to the repository index
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17466
diff changeset
  1446
          <th>&nbsp;</th>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1447
      </tr>
24054
fdf7794be41d hgweb: replace implicit <tbody> with explicit <thead> where appropriate
Anton Shestakov <engored@ya.ru>
parents: 22046
diff changeset
  1448
      </thead>
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
  1449
      <tbody class="stripes2">
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1450
      
19450
ddae9e9b7ca1 hgweb: make stripes in repo list with CSS
Alexander Plavin <me@aplavin.ru>
parents: 18264
diff changeset
  1451
      </tbody>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1452
  </table>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1453
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1454
  </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1455
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1456
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1457
  </body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1458
  </html>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1459
  
27184
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1460
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1461
test listening address/port specified by web-conf (issue4699):
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1462
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1463
  $ killdaemons.py
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1464
  $ cat >> paths.conf <<EOF
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1465
  > [web]
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1466
  > address = localhost
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1467
  > port = $HGPORT1
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1468
  > EOF
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1469
  $ hg serve -d --pid-file=hg.pid --web-conf paths.conf \
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1470
  >     -A access-paths.log -E error-paths-9.log
31769
594dd384803c test-serve: make the 'listening at *' lines optional
Matt Harbison <matt_harbison@yahoo.com>
parents: 31482
diff changeset
  1471
  listening at http://*:$HGPORT1/ (bound to *$LOCALIP*:$HGPORT1) (glob) (?)
27184
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1472
  $ cat hg.pid >> $DAEMON_PIDS
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1473
  $ get-with-headers.py localhost:$HGPORT1 '?style=raw'
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1474
  200 Script output follows
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1475
  
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1476
  
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1477
  
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1478
test --port option overrides web.port:
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1479
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1480
  $ killdaemons.py
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1481
  $ hg serve -p $HGPORT2 -d -v --pid-file=hg.pid --web-conf paths.conf \
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1482
  >     -A access-paths.log -E error-paths-10.log
31769
594dd384803c test-serve: make the 'listening at *' lines optional
Matt Harbison <matt_harbison@yahoo.com>
parents: 31482
diff changeset
  1483
  listening at http://*:$HGPORT2/ (bound to *$LOCALIP*:$HGPORT2) (glob) (?)
27184
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1484
  $ cat hg.pid >> $DAEMON_PIDS
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1485
  $ get-with-headers.py localhost:$HGPORT2 '?style=raw'
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1486
  200 Script output follows
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1487
  
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1488
  
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1489
  
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1490
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1491
  $ killdaemons.py
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1492
  $ cat > collections.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1493
  > [collections]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1494
  > $root=$root
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1495
  > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1496
  $ 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
  1497
  >     --pid-file=hg.pid --webdir-conf collections.conf \
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1498
  >     -A access-collections.log -E error-collections.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1499
  $ 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
  1500
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1501
collections: should succeed
10674
6d87c20cd7a8 hgweb: fix broken URLs of RSS/Atom feeds (issue1772)
Yuya Nishihara <yuya@tcha.org>
parents: 9363
diff changeset
  1502
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1503
  $ get-with-headers.py localhost:$HGPORT2 '?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1504
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1505
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1506
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1507
  /a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1508
  /a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1509
  /b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1510
  /c/
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1511
  /notrepo/e/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1512
  /notrepo/f/
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1513
  
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1514
  $ get-with-headers.py localhost:$HGPORT2 'a/file/tip/a?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1515
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1516
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1517
  a
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1518
  $ get-with-headers.py localhost:$HGPORT2 'b/file/tip/b?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1519
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1520
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1521
  b
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1522
  $ get-with-headers.py localhost:$HGPORT2 'c/file/tip/c?style=raw'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1523
  200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1524
  
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1525
  c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1526
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1527
atom-log with basedir /
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1528
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1529
  $ get-with-headers.py localhost:$HGPORT2 'a/atom-log' | grep '<link'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1530
   <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
  1531
   <link rel="alternate" href="http://hg.example.com:8080/a/"/>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1532
    <link href="http://hg.example.com:8080/a/rev/8580ff50825a"/>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1533
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1534
rss-log with basedir /
9363
8635b33eaade hgweb: add web.descend configuration variable
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9184
diff changeset
  1535
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1536
  $ get-with-headers.py localhost:$HGPORT2 'a/rss-log' | grep '<guid'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1537
      <guid isPermaLink="true">http://hg.example.com:8080/a/rev/8580ff50825a</guid>
25474
8c14f87bd0ae tests: drop DAEMON_PIDS from killdaemons calls
Matt Mackall <mpm@selenic.com>
parents: 25472
diff changeset
  1538
  $ killdaemons.py
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1539
  $ 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
  1540
  >     --pid-file=hg.pid --webdir-conf collections.conf \
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1541
  >     -A access-collections-2.log -E error-collections-2.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1542
  $ cat hg.pid >> $DAEMON_PIDS
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1543
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1544
atom-log with basedir /foo/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1545
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1546
  $ get-with-headers.py localhost:$HGPORT2 'a/atom-log' | grep '<link'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1547
   <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
  1548
   <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
  1549
    <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
  1550
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1551
rss-log with basedir /foo/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1552
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 25426
diff changeset
  1553
  $ get-with-headers.py localhost:$HGPORT2 'a/rss-log' | grep '<guid'
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1554
      <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
  1555
26072
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1556
Path refreshing works as expected
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1557
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1558
  $ killdaemons.py
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1559
  $ mkdir $root/refreshtest
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1560
  $ hg init $root/refreshtest/a
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1561
  $ cat > paths.conf << EOF
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1562
  > [paths]
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1563
  > / = $root/refreshtest/*
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1564
  > EOF
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1565
  $ hg serve -p $HGPORT1 -d --pid-file hg.pid --webdir-conf paths.conf
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1566
  $ cat hg.pid >> $DAEMON_PIDS
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1567
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1568
  $ get-with-headers.py localhost:$HGPORT1 '?style=raw'
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1569
  200 Script output follows
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1570
  
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1571
  
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1572
  /a/
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1573
  
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1574
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1575
By default refreshing occurs every 20s and a new repo won't be listed
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1576
immediately.
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1577
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1578
  $ hg init $root/refreshtest/b
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1579
  $ get-with-headers.py localhost:$HGPORT1 '?style=raw'
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1580
  200 Script output follows
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1581
  
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1582
  
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1583
  /a/
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1584
  
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1585
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1586
Restart the server with no refresh interval. New repo should appear
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1587
immediately.
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1588
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1589
  $ killdaemons.py
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1590
  $ cat > paths.conf << EOF
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1591
  > [web]
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1592
  > refreshinterval = -1
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1593
  > [paths]
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1594
  > / = $root/refreshtest/*
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1595
  > EOF
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1596
  $ hg serve -p $HGPORT1 -d --pid-file hg.pid --webdir-conf paths.conf
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1597
  $ cat hg.pid >> $DAEMON_PIDS
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1598
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1599
  $ get-with-headers.py localhost:$HGPORT1 '?style=raw'
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1600
  200 Script output follows
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1601
  
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1602
  
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1603
  /a/
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1604
  /b/
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1605
  
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1606
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1607
  $ hg init $root/refreshtest/c
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1608
  $ get-with-headers.py localhost:$HGPORT1 '?style=raw'
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1609
  200 Script output follows
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1610
  
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1611
  
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1612
  /a/
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1613
  /b/
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1614
  /c/
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1615
  
31482
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1616
  $ killdaemons.py
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1617
  $ cat > paths.conf << EOF
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1618
  > [paths]
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1619
  > /dir1/a_repo = $root/a
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1620
  > /dir1/a_repo/b_repo = $root/b
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1621
  > /dir1/dir2/index = $root/b
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1622
  > EOF
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1623
  $ hg serve -p $HGPORT1 -d --pid-file hg.pid --webdir-conf paths.conf
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1624
  $ cat hg.pid >> $DAEMON_PIDS
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1625
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1626
  $ echo 'index file' > $root/a/index
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1627
  $ hg --cwd $root/a ci -Am 'add index file'
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1628
  adding index
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1629
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1630
  $ get-with-headers.py localhost:$HGPORT1 '' | grep 'a_repo'
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1631
  <td><a href="/dir1/a_repo/">dir1/a_repo</a></td>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1632
  <a href="/dir1/a_repo/atom-log" title="subscribe to repository atom feed">
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1633
  <td><a href="/dir1/a_repo/b_repo/">dir1/a_repo/b_repo</a></td>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1634
  <a href="/dir1/a_repo/b_repo/atom-log" title="subscribe to repository atom feed">
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1635
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1636
  $ get-with-headers.py localhost:$HGPORT1 'index' | grep 'a_repo'
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1637
  <td><a href="/dir1/a_repo/">dir1/a_repo</a></td>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1638
  <a href="/dir1/a_repo/atom-log" title="subscribe to repository atom feed">
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1639
  <td><a href="/dir1/a_repo/b_repo/">dir1/a_repo/b_repo</a></td>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1640
  <a href="/dir1/a_repo/b_repo/atom-log" title="subscribe to repository atom feed">
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1641
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1642
  $ get-with-headers.py localhost:$HGPORT1 'dir1' | grep 'a_repo'
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1643
  <td><a href="/dir1/a_repo/">a_repo</a></td>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1644
  <a href="/dir1/a_repo/atom-log" title="subscribe to repository atom feed">
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1645
  <td><a href="/dir1/a_repo/b_repo/">a_repo/b_repo</a></td>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1646
  <a href="/dir1/a_repo/b_repo/atom-log" title="subscribe to repository atom feed">
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1647
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1648
  $ get-with-headers.py localhost:$HGPORT1 'dir1/index' | grep 'a_repo'
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1649
  <td><a href="/dir1/a_repo/">a_repo</a></td>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1650
  <a href="/dir1/a_repo/atom-log" title="subscribe to repository atom feed">
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1651
  <td><a href="/dir1/a_repo/b_repo/">a_repo/b_repo</a></td>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1652
  <a href="/dir1/a_repo/b_repo/atom-log" title="subscribe to repository atom feed">
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1653
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1654
  $ get-with-headers.py localhost:$HGPORT1 'dir1/a_repo' | grep 'a_repo'
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1655
  <link rel="icon" href="/dir1/a_repo/static/hgicon.png" type="image/png" />
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1656
  <link rel="stylesheet" href="/dir1/a_repo/static/style-paper.css" type="text/css" />
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1657
  <script type="text/javascript" src="/dir1/a_repo/static/mercurial.js"></script>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1658
  <title>dir1/a_repo: log</title>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1659
     href="/dir1/a_repo/atom-log" title="Atom feed for dir1/a_repo" />
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1660
     href="/dir1/a_repo/rss-log" title="RSS feed for dir1/a_repo" />
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1661
  <img src="/dir1/a_repo/static/hglogo.png" alt="mercurial" /></a>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1662
  <li><a href="/dir1/a_repo/graph/tip">graph</a></li>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1663
  <li><a href="/dir1/a_repo/tags">tags</a></li>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1664
  <li><a href="/dir1/a_repo/bookmarks">bookmarks</a></li>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1665
  <li><a href="/dir1/a_repo/branches">branches</a></li>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1666
  <li><a href="/dir1/a_repo/rev/tip">changeset</a></li>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1667
  <li><a href="/dir1/a_repo/file/tip">browse</a></li>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1668
   <li><a href="/dir1/a_repo/help">help</a></li>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1669
  <a href="/dir1/a_repo/atom-log" title="subscribe to atom feed">
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1670
  <img class="atom-logo" src="/dir1/a_repo/static/feed-icon-14x14.png" alt="atom feed" />
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1671
  <h2 class="breadcrumb"><a href="/">Mercurial</a> &gt; <a href="/dir1">dir1</a> &gt; <a href="/dir1/a_repo">a_repo</a> </h2>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1672
  <form class="search" action="/dir1/a_repo/log">
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1673
  number or hash, or <a href="/dir1/a_repo/help/revsets">revset expression</a>.</div>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1674
  <a href="/dir1/a_repo/shortlog/tip?revcount=30">less</a>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1675
  <a href="/dir1/a_repo/shortlog/tip?revcount=120">more</a>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1676
  | rev 1: <a href="/dir1/a_repo/shortlog/8580ff50825a">(0)</a> <a href="/dir1/a_repo/shortlog/tip">tip</a> 
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1677
     <a href="/dir1/a_repo/rev/71a89161f014">add index file</a>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1678
     <a href="/dir1/a_repo/rev/8580ff50825a">a</a>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1679
  <a href="/dir1/a_repo/shortlog/tip?revcount=30">less</a>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1680
  <a href="/dir1/a_repo/shortlog/tip?revcount=120">more</a>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1681
  | rev 1: <a href="/dir1/a_repo/shortlog/8580ff50825a">(0)</a> <a href="/dir1/a_repo/shortlog/tip">tip</a> 
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1682
              '/dir1/a_repo/shortlog/%next%',
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1683
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1684
  $ get-with-headers.py localhost:$HGPORT1 'dir1/a_repo/index' | grep 'a_repo'
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1685
  <h2 class="breadcrumb"><a href="/">Mercurial</a> &gt; <a href="/dir1">dir1</a> &gt; <a href="/dir1/a_repo">a_repo</a> </h2>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1686
  <td><a href="/dir1/a_repo/b_repo/">b_repo</a></td>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1687
  <a href="/dir1/a_repo/b_repo/atom-log" title="subscribe to repository atom feed">
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1688
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1689
Files named 'index' are not blocked
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1690
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1691
  $ get-with-headers.py localhost:$HGPORT1 'dir1/a_repo/raw-file/tip/index'
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1692
  200 Script output follows
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1693
  
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1694
  index file
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1695
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1696
Repos named 'index' take precedence over the index file
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1697
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1698
  $ get-with-headers.py localhost:$HGPORT1 'dir1/dir2/index' | grep 'index'
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1699
  <link rel="icon" href="/dir1/dir2/index/static/hgicon.png" type="image/png" />
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1700
  <meta name="robots" content="index, nofollow" />
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1701
  <link rel="stylesheet" href="/dir1/dir2/index/static/style-paper.css" type="text/css" />
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1702
  <script type="text/javascript" src="/dir1/dir2/index/static/mercurial.js"></script>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1703
  <title>dir1/dir2/index: log</title>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1704
     href="/dir1/dir2/index/atom-log" title="Atom feed for dir1/dir2/index" />
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1705
     href="/dir1/dir2/index/rss-log" title="RSS feed for dir1/dir2/index" />
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1706
  <img src="/dir1/dir2/index/static/hglogo.png" alt="mercurial" /></a>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1707
  <li><a href="/dir1/dir2/index/graph/tip">graph</a></li>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1708
  <li><a href="/dir1/dir2/index/tags">tags</a></li>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1709
  <li><a href="/dir1/dir2/index/bookmarks">bookmarks</a></li>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1710
  <li><a href="/dir1/dir2/index/branches">branches</a></li>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1711
  <li><a href="/dir1/dir2/index/rev/tip">changeset</a></li>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1712
  <li><a href="/dir1/dir2/index/file/tip">browse</a></li>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1713
   <li><a href="/dir1/dir2/index/help">help</a></li>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1714
  <a href="/dir1/dir2/index/atom-log" title="subscribe to atom feed">
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1715
  <img class="atom-logo" src="/dir1/dir2/index/static/feed-icon-14x14.png" alt="atom feed" />
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1716
  <h2 class="breadcrumb"><a href="/">Mercurial</a> &gt; <a href="/dir1">dir1</a> &gt; <a href="/dir1/dir2">dir2</a> &gt; <a href="/dir1/dir2/index">index</a> </h2>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1717
  <form class="search" action="/dir1/dir2/index/log">
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1718
  number or hash, or <a href="/dir1/dir2/index/help/revsets">revset expression</a>.</div>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1719
  <a href="/dir1/dir2/index/shortlog/tip?revcount=30">less</a>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1720
  <a href="/dir1/dir2/index/shortlog/tip?revcount=120">more</a>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1721
  | rev 0: <a href="/dir1/dir2/index/shortlog/39505516671b">(0)</a> <a href="/dir1/dir2/index/shortlog/tip">tip</a> 
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1722
     <a href="/dir1/dir2/index/rev/39505516671b">b</a>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1723
  <a href="/dir1/dir2/index/shortlog/tip?revcount=30">less</a>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1724
  <a href="/dir1/dir2/index/shortlog/tip?revcount=120">more</a>
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1725
  | rev 0: <a href="/dir1/dir2/index/shortlog/39505516671b">(0)</a> <a href="/dir1/dir2/index/shortlog/tip">tip</a> 
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1726
              '/dir1/dir2/index/shortlog/%next%',
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1727
da7d19324b1e hgwebdir: add support for explicit index files
Matt Harbison <matt_harbison@yahoo.com>
parents: 31008
diff changeset
  1728
  $ killdaemons.py
26072
06320fb11699 hgweb: make refresh interval configurable
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25474
diff changeset
  1729
32004
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1730
  $ cat > paths.conf << EOF
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1731
  > [paths]
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1732
  > / = $root/a
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1733
  > EOF
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1734
  $ hg serve -p $HGPORT1 -d --pid-file hg.pid --webdir-conf paths.conf
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1735
  $ cat hg.pid >> $DAEMON_PIDS
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1736
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1737
  $ hg id http://localhost:$HGPORT1
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1738
  71a89161f014
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1739
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1740
  $ get-with-headers.py localhost:$HGPORT1 '' | grep 'index'
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1741
  <meta name="robots" content="index, nofollow" />
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1742
     <a href="/rev/71a89161f014">add index file</a>
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1743
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1744
  $ killdaemons.py
bd3cb917761a hgwebdir: allow a repository to be hosted at "/"
Matt Harbison <matt_harbison@yahoo.com>
parents: 31769
diff changeset
  1745
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1746
paths errors 1
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1747
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1748
  $ cat error-paths-1.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1749
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1750
paths errors 2
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1751
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1752
  $ cat error-paths-2.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1753
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1754
paths errors 3
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1755
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1756
  $ cat error-paths-3.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1757
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1758
paths errors 4
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1759
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1760
  $ cat error-paths-4.log
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1761
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1762
paths errors 5
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1763
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1764
  $ cat error-paths-5.log
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1765
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1766
paths errors 6
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1767
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1768
  $ cat error-paths-6.log
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1769
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1770
paths errors 7
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1771
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1772
  $ cat error-paths-7.log
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1773
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1774
paths errors 8
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1775
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1776
  $ cat error-paths-8.log
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
  1777
27184
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1778
paths errors 9
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1779
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1780
  $ cat error-paths-9.log
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1781
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1782
paths errors 10
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1783
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1784
  $ cat error-paths-10.log
64187e9a5659 hgweb: load server settings from --web-conf (issue4699)
Yuya Nishihara <yuya@tcha.org>
parents: 26421
diff changeset
  1785
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1786
collections errors
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1787
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1788
  $ cat error-collections.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1789
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1790
collections errors 2
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1791
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
  1792
  $ cat error-collections-2.log