annotate tests/test-hgwebdir.t @ 16543:715a9fb8ef22 stable

i18n-ja: synchronized with 4bce649a2b0f
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Sun, 29 Apr 2012 00:48:22 +0900
parents 287f76b3f502
children 73d20de5f30b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15446
c5c9ca3719f9 tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents: 14046
diff changeset
1 $ "$TESTDIR/hghave" serve || exit 80
c5c9ca3719f9 tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents: 14046
diff changeset
2
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
3 Tests some basic hgwebdir functionality. Tests setting up paths and
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
4 collection, different forms of 404s and the subdirectory support.
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
5
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
6 $ mkdir webdir
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
7 $ cd webdir
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
8 $ hg init a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
9 $ echo a > a/a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
10 $ hg --cwd a ci -Ama -d'1 0'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
11 adding a
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
12
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
13 create a mercurial queue repository
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
14
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
15 $ hg --cwd a qinit --config extensions.hgext.mq= -c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
16 $ hg init b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
17 $ echo b > b/b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
18 $ hg --cwd b ci -Amb -d'2 0'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
19 adding b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
20
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
21 create a nested repository
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
22
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
23 $ cd b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
24 $ hg init d
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
25 $ echo d > d/d
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
26 $ hg --cwd d ci -Amd -d'3 0'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
27 adding d
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
28 $ cd ..
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
29 $ hg init c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
30 $ echo c > c/c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
31 $ hg --cwd c ci -Amc -d'3 0'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
32 adding c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
33
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
34 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
35
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
36 $ mkdir notrepo
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
37 $ cd notrepo
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
38 $ 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
39 $ 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
40 $ 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
41 adding e
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
42 $ 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
43 $ 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
44 $ 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
45 adding e2
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
46 $ 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
47 $ 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
48 $ 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
49 adding f
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
50 $ 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
51 $ 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
52 $ 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
53 adding f2
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
54 $ cd ..
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
55
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
56 create repository without .hg/store
7523
e60aaae83323 hgweb: recurse down collections only if ** in [paths]
Benoit Allard <benoit@aeteurope.nl>
parents: 7494
diff changeset
57
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
58 $ hg init nostore
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
59 $ rm -R nostore/.hg/store
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
60 $ root=`pwd`
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
61 $ cd ..
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
62 $ cat > paths.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
63 > [paths]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
64 > a=$root/a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
65 > b=$root/b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
66 > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
67 $ 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
68 > -A access-paths.log -E error-paths-1.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
69 $ cat hg.pid >> $DAEMON_PIDS
7523
e60aaae83323 hgweb: recurse down collections only if ** in [paths]
Benoit Allard <benoit@aeteurope.nl>
parents: 7494
diff changeset
70
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
71 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
72
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
73 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/file/tip/bork?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
74 404 Not Found
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
75
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
76
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
77 error: bork@8580ff50825a: not found in manifest
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
78 [1]
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
79
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
80 should succeed
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
81
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
82 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
83 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
84
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
85
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
86 /a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
87 /b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
88
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
89 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/file/tip/a?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
90 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
91
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
92 a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
93 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/b/file/tip/b?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
94 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
95
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
96 b
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
97
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
98 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
99
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
100 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/c/file/tip/c?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
101 404 Not Found
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
102
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
103
13066
86888ae9ce90 hgwebdir: fix incorrect index generation for invalid paths (issue2023)
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 12643
diff changeset
104 error: repository c/file/tip/c not found
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
105 [1]
10674
6d87c20cd7a8 hgweb: fix broken URLs of RSS/Atom feeds (issue1772)
Yuya Nishihara <yuya@tcha.org>
parents: 9363
diff changeset
106
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
107 atom-log without basedir
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
108
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
109 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/atom-log' | grep '<link'
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
110 <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
111 <link rel="alternate" href="http://*:$HGPORT/a/"/> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
112 <link href="http://*:$HGPORT/a/rev/8580ff50825a"/> (glob)
12443
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 rss-log without basedir
9363
8635b33eaade hgweb: add web.descend configuration variable
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9184
diff changeset
115
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
116 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/rss-log' | grep '<guid'
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
117 <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
118 $ cat > paths.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
119 > [paths]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
120 > t/a/=$root/a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
121 > b=$root/b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
122 > coll=$root/*
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
123 > rcoll=$root/**
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
124 > star=*
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
125 > starstar=**
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
126 > astar=webdir/a/*
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
127 > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
128 $ 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
129 > -A access-paths.log -E error-paths-2.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
130 $ 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
131
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
132 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
133
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
134 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
135 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
136
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
137
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
138 /t/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
139 /b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
140 /coll/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
141 /coll/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
142 /coll/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
143 /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
144 /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
145 /coll/notrepo/f/
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
146 /rcoll/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
147 /rcoll/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
148 /rcoll/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
149 /rcoll/b/d/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
150 /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
151 /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
152 /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
153 /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
154 /rcoll/notrepo/f/f2/
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
155 /star/webdir/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
156 /star/webdir/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
157 /star/webdir/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
158 /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
159 /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
160 /star/webdir/notrepo/f/
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
161 /starstar/webdir/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
162 /starstar/webdir/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
163 /starstar/webdir/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
164 /starstar/webdir/b/d/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
165 /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
166 /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
167 /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
168 /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
169 /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
170 /astar/
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
171 /astar/.hg/patches/
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
172
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
173 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=paper'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
174 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
175
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
176 <!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
177 <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
178 <head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
179 <link rel="icon" href="/static/hgicon.png" type="image/png" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
180 <meta name="robots" content="index, nofollow" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
181 <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
182 <script type="text/javascript" src="/static/mercurial.js"></script>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
183
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
184 <title>Mercurial repositories index</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
185 </head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
186 <body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
187
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
188 <div class="container">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
189 <div class="menu">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
190 <a href="http://mercurial.selenic.com/">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
191 <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
192 </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
193 <div class="main">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
194 <h2>Mercurial Repositories</h2>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
195
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
196 <table class="bigtable">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
197 <tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
198 <th><a href="?sort=name">Name</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
199 <th><a href="?sort=description">Description</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
200 <th><a href="?sort=contact">Contact</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
201 <th><a href="?sort=lastchange">Last modified</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
202 <th>&nbsp;</th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
203 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
204
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
205 <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
206 <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
207 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
208 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13403
diff changeset
209 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
210 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
211 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
212
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
213 <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
214 <td><a href="/b/?style=paper">b</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
215 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
216 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13403
diff changeset
217 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
218 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
219 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
220
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
221 <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
222 <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
223 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
224 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13403
diff changeset
225 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
226 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
227 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
228
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
229 <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
230 <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
231 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
232 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13403
diff changeset
233 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
234 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
235 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
236
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
237 <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
238 <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
239 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
240 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13403
diff changeset
241 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
242 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
243 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
244
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
245 <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
246 <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
247 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
248 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13403
diff changeset
249 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
250 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
251 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
252
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
253 <tr class="parity0">
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
254 <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
255 <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
256 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
257 <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
258 <td class="indexlinks"></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
259 </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
260
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
261 <tr class="parity1">
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
262 <td><a href="/coll/notrepo/f/?style=paper">coll/notrepo/f</a></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
263 <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
264 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
265 <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
266 <td class="indexlinks"></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
267 </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
268
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
269 <tr class="parity0">
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
270 <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
271 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
272 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13403
diff changeset
273 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
274 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
275 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
276
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
277 <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
278 <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
279 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
280 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13403
diff changeset
281 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
282 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
283 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
284
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
285 <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
286 <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
287 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
288 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13403
diff changeset
289 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
290 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
291 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
292
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
293 <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
294 <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
295 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
296 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13403
diff changeset
297 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
298 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
299 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
300
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
301 <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
302 <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
303 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
304 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13403
diff changeset
305 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
306 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
307 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
308
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
309 <tr class="parity1">
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
310 <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
311 <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
312 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
313 <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
314 <td class="indexlinks"></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
315 </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
316
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
317 <tr class="parity0">
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
318 <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
319 <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
320 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
321 <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
322 <td class="indexlinks"></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
323 </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
324
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
325 <tr class="parity1">
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
326 <td><a href="/rcoll/notrepo/f/?style=paper">rcoll/notrepo/f</a></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
327 <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
328 <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
329 <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
330 <td class="indexlinks"></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
331 </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
332
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
333 <tr class="parity0">
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
334 <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
335 <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
336 <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
337 <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
338 <td class="indexlinks"></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
339 </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
340
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
341 <tr class="parity1">
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
342 <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
343 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
344 <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
345 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
346 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
347 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
348
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
349 <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
350 <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
351 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
352 <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
353 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
354 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
355 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
356
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
357 <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
358 <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
359 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
360 <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
361 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
362 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
363 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
364
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
365 <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
366 <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
367 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
368 <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
369 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
370 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
371 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
372
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
373 <tr class="parity1">
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
374 <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
375 <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
376 <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
377 <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
378 <td class="indexlinks"></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
379 </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
380
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
381 <tr class="parity0">
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
382 <td><a href="/star/webdir/notrepo/f/?style=paper">star/webdir/notrepo/f</a></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
383 <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
384 <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
385 <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
386 <td class="indexlinks"></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
387 </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
388
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
389 <tr class="parity1">
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
390 <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
391 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
392 <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
393 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
394 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
395 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
396
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
397 <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
398 <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
399 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
400 <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
401 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
402 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
403 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
404
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
405 <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
406 <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
407 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
408 <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
409 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
410 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
411 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
412
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
413 <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
414 <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
415 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
416 <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
417 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
418 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
419 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
420
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
421 <tr class="parity1">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
422 <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
423 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
424 <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
425 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
426 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
427 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
428
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
429 <tr class="parity0">
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
430 <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
431 <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
432 <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
433 <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
434 <td class="indexlinks"></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
435 </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
436
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
437 <tr class="parity1">
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
438 <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
439 <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
440 <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
441 <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
442 <td class="indexlinks"></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
443 </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
444
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
445 <tr class="parity0">
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
446 <td><a href="/starstar/webdir/notrepo/f/?style=paper">starstar/webdir/notrepo/f</a></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
447 <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
448 <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
449 <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
450 <td class="indexlinks"></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
451 </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
452
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
453 <tr class="parity1">
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
454 <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
455 <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
456 <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
457 <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
458 <td class="indexlinks"></td>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
459 </tr>
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
460
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
461 <tr class="parity0">
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
462 <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
463 <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
464 <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
465 <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
466 <td class="indexlinks"></td>
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
467 </tr>
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
468
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
469 <tr class="parity1">
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
470 <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
471 <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
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)
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
474 <td class="indexlinks"></td>
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
475 </tr>
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
476
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
477 </table>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
478 </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
479 </div>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13403
diff changeset
480 <script type="text/javascript">process_dates()</script>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
481
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
482
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
483 </body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
484 </html>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
485
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
486 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
487 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
488
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
489
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
490 /t/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
491
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
492 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
493 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
494
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
495
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
496 /t/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
497
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
498 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=paper'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
499 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
500
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
501 <!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
502 <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
503 <head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
504 <link rel="icon" href="/static/hgicon.png" type="image/png" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
505 <meta name="robots" content="index, nofollow" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
506 <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
507 <script type="text/javascript" src="/static/mercurial.js"></script>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
508
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
509 <title>Mercurial repositories index</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
510 </head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
511 <body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
512
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
513 <div class="container">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
514 <div class="menu">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
515 <a href="http://mercurial.selenic.com/">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
516 <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
517 </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
518 <div class="main">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
519 <h2>Mercurial Repositories</h2>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
520
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
521 <table class="bigtable">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
522 <tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
523 <th><a href="?sort=name">Name</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
524 <th><a href="?sort=description">Description</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
525 <th><a href="?sort=contact">Contact</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
526 <th><a href="?sort=lastchange">Last modified</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
527 <th>&nbsp;</th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
528 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
529
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
530 <tr class="parity0">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
531 <td><a href="/t/a/?style=paper">a</a></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
532 <td>unknown</td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
533 <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
534 <td class="age">*</td> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
535 <td class="indexlinks"></td>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
536 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
537
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
538 </table>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
539 </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
540 </div>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13403
diff changeset
541 <script type="text/javascript">process_dates()</script>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
542
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
543
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
544 </body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
545 </html>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
546
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
547 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/a?style=atom'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
548 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
549
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
550 <?xml version="1.0" encoding="ascii"?>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
551 <feed xmlns="http://www.w3.org/2005/Atom">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
552 <!-- Changelog -->
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
553 <id>http://*:$HGPORT1/t/a/</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
554 <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
555 <link rel="alternate" href="http://*:$HGPORT1/t/a/"/> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
556 <title>t/a Changelog</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
557 <updated>1970-01-01T00:00:01+00:00</updated>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
558
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
559 <entry>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
560 <title>a</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
561 <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
562 <link href="http://*:$HGPORT1/t/a/rev/8580ff50825a"/> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
563 <author>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
564 <name>test</name>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
565 <email>&#116;&#101;&#115;&#116;</email>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
566 </author>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
567 <updated>1970-01-01T00:00:01+00:00</updated>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
568 <published>1970-01-01T00:00:01+00:00</published>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
569 <content type="xhtml">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
570 <div xmlns="http://www.w3.org/1999/xhtml">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
571 <pre xml:space="preserve">a</pre>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
572 </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
573 </content>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
574 </entry>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
575
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
576 </feed>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
577 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/a/?style=atom'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
578 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
579
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
580 <?xml version="1.0" encoding="ascii"?>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
581 <feed xmlns="http://www.w3.org/2005/Atom">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
582 <!-- Changelog -->
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
583 <id>http://*:$HGPORT1/t/a/</id> (glob)
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
584 <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
585 <link rel="alternate" href="http://*:$HGPORT1/t/a/"/> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
586 <title>t/a Changelog</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
587 <updated>1970-01-01T00:00:01+00:00</updated>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
588
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
589 <entry>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
590 <title>a</title>
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12443
diff changeset
591 <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
592 <link href="http://*:$HGPORT1/t/a/rev/8580ff50825a"/> (glob)
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
593 <author>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
594 <name>test</name>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
595 <email>&#116;&#101;&#115;&#116;</email>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
596 </author>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
597 <updated>1970-01-01T00:00:01+00:00</updated>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
598 <published>1970-01-01T00:00:01+00:00</published>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
599 <content type="xhtml">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
600 <div xmlns="http://www.w3.org/1999/xhtml">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
601 <pre xml:space="preserve">a</pre>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
602 </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
603 </content>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
604 </entry>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
605
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
606 </feed>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
607 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/a/file/tip/a?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
608 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
609
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
610 a
12038
9617803b1acb hgweb: handle exception of misconfigured path on index page
Yuya Nishihara <yuya@tcha.org>
parents: 11677
diff changeset
611
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
612 Test [paths] '*' extension
12038
9617803b1acb hgweb: handle exception of misconfigured path on index page
Yuya Nishihara <yuya@tcha.org>
parents: 11677
diff changeset
613
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
614 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/coll/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
615 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
616
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
617
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
618 /coll/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
619 /coll/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
620 /coll/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
621 /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
622 /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
623 /coll/notrepo/f/
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
624
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
625 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/coll/a/file/tip/a?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
626 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
627
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
628 a
12038
9617803b1acb hgweb: handle exception of misconfigured path on index page
Yuya Nishihara <yuya@tcha.org>
parents: 11677
diff changeset
629
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
630 Test [paths] '**' extension
5561
22713dce19f6 hgweb: return meaningful HTTP status codes instead of nonsense
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
631
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
632 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
633 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
634
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
635
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
636 /rcoll/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
637 /rcoll/a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
638 /rcoll/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
639 /rcoll/b/d/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
640 /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
641 /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
642 /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
643 /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
644 /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
645
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
646 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/b/d/file/tip/d?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
647 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
648
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
649 d
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
650
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
651 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
652
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
653 $ "$TESTDIR/killdaemons.py"
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
654 $ 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
655 > [web]
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
656 > collapse=true
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
657 > EOF
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
658 $ 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
659 > -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
660 $ cat hg.pid >> $DAEMON_PIDS
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
661 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/coll/?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
662 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
663
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
664
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
665 /coll/a/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
666 /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
667 /coll/b/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
668 /coll/c/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
669 /coll/notrepo/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
670
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
671 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/coll/a/file/tip/a?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
672 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
673
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
674 a
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
675 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
676 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
677
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
678
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
679 /rcoll/a/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
680 /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
681 /rcoll/b/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
682 /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
683 /rcoll/c/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
684 /rcoll/notrepo/
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
685
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
686 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/b/d/file/tip/d?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
687 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
688
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
689 d
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
690
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
691 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
692
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
693 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/notrepo/?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
694 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
695
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
696
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
697 /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
698 /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
699 /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
700 /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
701
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
702
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
703 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
704
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
705 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/notrepo/e/file/tip/e?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
706 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
707
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
708 e
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
709
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
710 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
711
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
712 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/notrepo/f/f2/file/tip/f2?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
713 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
714
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
715 f2
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
716
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
717 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
718
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
719 $ "$TESTDIR/killdaemons.py"
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
720 $ 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
721 > descend=false
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
722 > EOF
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
723 $ 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
724 > -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
725 $ cat hg.pid >> $DAEMON_PIDS
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
726 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/coll/?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
727 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
728
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
729
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
730 /coll/a/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
731 /coll/b/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
732 /coll/c/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
733
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
734 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/coll/a/file/tip/a?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
735 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
736
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
737 a
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
738 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
739 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
740
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
741
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
742 /rcoll/a/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
743 /rcoll/b/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
744 /rcoll/c/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
745
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
746 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/b/d/file/tip/d?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
747 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
748
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
749 d
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
750
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
751 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
752
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
753 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/notrepo/?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
754 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
755
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
756
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
757 /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
758 /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
759
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
760
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
761 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
762
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
763 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/notrepo/e/file/tip/e?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
764 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
765
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
766 e
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
767
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
768 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
769
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
770 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/rcoll/notrepo/f/f2/file/tip/f2?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
771 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
772
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
773 f2
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
774
13403
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
775 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
776
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
777 $ 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
778 8580ff50825a
8ed91088acbb hgweb: make paths wildcards expanding in a repo root match repo correctly
Mads Kiilerich <mads@kiilerich.com>
parents: 13066
diff changeset
779
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
780 $ "$TESTDIR/killdaemons.py"
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
781 $ cat > paths.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
782 > [paths]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
783 > t/a = $root/a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
784 > t/b = $root/b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
785 > 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
786 > EOF
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
787 $ 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
788 > -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
789 $ cat hg.pid >> $DAEMON_PIDS
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
790 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
791 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
792
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
793
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
794 /t/a/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
795 /t/b/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
796 /c/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
797
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
798 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
799 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
800
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
801
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
802 /t/a/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
803 /t/b/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
804
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
805
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
806 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
807
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
808 $ "$TESTDIR/killdaemons.py"
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
809 $ cat >> paths.conf <<EOF
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
810 > [web]
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
811 > collapse=true
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
812 > EOF
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
813 $ 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
814 > -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
815 $ cat hg.pid >> $DAEMON_PIDS
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
816 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
817 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
818
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
819
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
820 /t/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
821 /c/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
822
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
823 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=raw'
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
824 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
825
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
826
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
827 /t/a/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
828 /t/b/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
829
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
830
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
831 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
832
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
833 $ "$TESTDIR/killdaemons.py"
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
834 $ cat >> paths.conf <<EOF
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
835 > descend=false
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
836 > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
837 $ 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
838 > -A access-paths.log -E error-paths-7.log
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
839 $ cat hg.pid >> $DAEMON_PIDS
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
840 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
841 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
842
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
843
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
844 /c/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
845
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
846 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
847 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
848
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
849
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
850 /t/a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
851 /t/b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
852
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
853 $ "$TESTDIR/killdaemons.py"
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
854 $ cat > paths.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
855 > [paths]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
856 > nostore = $root/nostore
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
857 > inexistent = $root/inexistent
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
858 > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
859 $ 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
860 > -A access-paths.log -E error-paths-8.log
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
861 $ cat hg.pid >> $DAEMON_PIDS
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
862
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
863 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
864
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
865 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
866 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
867
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
868 <!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
869 <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
870 <head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
871 <link rel="icon" href="/static/hgicon.png" type="image/png" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
872 <meta name="robots" content="index, nofollow" />
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
873 <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
874 <script type="text/javascript" src="/static/mercurial.js"></script>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
875
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
876 <title>Mercurial repositories index</title>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
877 </head>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
878 <body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
879
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
880 <div class="container">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
881 <div class="menu">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
882 <a href="http://mercurial.selenic.com/">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
883 <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
884 </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
885 <div class="main">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
886 <h2>Mercurial Repositories</h2>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
887
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
888 <table class="bigtable">
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
889 <tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
890 <th><a href="?sort=name">Name</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
891 <th><a href="?sort=description">Description</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
892 <th><a href="?sort=contact">Contact</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
893 <th><a href="?sort=lastchange">Last modified</a></th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
894 <th>&nbsp;</th>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
895 </tr>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
896
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
897 </table>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
898 </div>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
899 </div>
14046
b24e5a708fad web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents: 13403
diff changeset
900 <script type="text/javascript">process_dates()</script>
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
901
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
902
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
903 </body>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
904 </html>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
905
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
906 $ cat > collections.conf <<EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
907 > [collections]
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
908 > $root=$root
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
909 > EOF
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
910 $ 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
911 > --pid-file=hg.pid --webdir-conf collections.conf \
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
912 > -A access-collections.log -E error-collections.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
913 $ 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
914
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
915 collections: should succeed
10674
6d87c20cd7a8 hgweb: fix broken URLs of RSS/Atom feeds (issue1772)
Yuya Nishihara <yuya@tcha.org>
parents: 9363
diff changeset
916
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
917 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
918 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
919
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
920
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
921 /a/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
922 /a/.hg/patches/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
923 /b/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
924 /c/
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
925 /notrepo/e/
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
926 /notrepo/f/
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
927
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
928 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/file/tip/a?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
929 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
930
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
931 a
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
932 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/b/file/tip/b?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
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 b
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
936 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/c/file/tip/c?style=raw'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
937 200 Script output follows
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
938
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
939 c
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
940
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
941 atom-log with basedir /
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 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/atom-log' | grep '<link'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
944 <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
945 <link rel="alternate" href="http://hg.example.com:8080/a/"/>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
946 <link href="http://hg.example.com:8080/a/rev/8580ff50825a"/>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
947
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
948 rss-log with basedir /
9363
8635b33eaade hgweb: add web.descend configuration variable
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9184
diff changeset
949
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
950 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/rss-log' | grep '<guid'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
951 <guid isPermaLink="true">http://hg.example.com:8080/a/rev/8580ff50825a</guid>
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
952 $ "$TESTDIR/killdaemons.py"
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
953 $ 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
954 > --pid-file=hg.pid --webdir-conf collections.conf \
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
955 > -A access-collections-2.log -E error-collections-2.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
956 $ cat hg.pid >> $DAEMON_PIDS
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
957
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
958 atom-log with basedir /foo/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
959
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
960 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/atom-log' | grep '<link'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
961 <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
962 <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
963 <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
964
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
965 rss-log with basedir /foo/
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
966
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
967 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/rss-log' | grep '<guid'
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
968 <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
969
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
970 paths errors 1
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
971
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
972 $ cat error-paths-1.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
973
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
974 paths errors 2
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
975
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
976 $ cat error-paths-2.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
977
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
978 paths errors 3
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
979
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
980 $ cat error-paths-3.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
981
16239
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
982 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
983
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
984 $ 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
985
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
986 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
987
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
988 $ 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
989
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
990 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
991
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
992 $ 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
993
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
994 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
995
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
996 $ 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
997
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
998 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
999
287f76b3f502 hgweb: support multi-level repository indexes by enabling descend and collapse
Paul Boddie <paul@boddie.org.uk>
parents: 15446
diff changeset
1000 $ 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
1001
12443
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
1002 collections errors
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
1003
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
1004 $ cat error-collections.log
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
1005
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
1006 collections errors 2
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
1007
8dfdf0219494 tests: unify test-hgwebdir
Matt Mackall <mpm@selenic.com>
parents: 12038
diff changeset
1008 $ cat error-collections-2.log