annotate tests/test-hgwebdir.t @ 14050:9e8a9d45945c stable

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