##// END OF EJS Templates
discovery: add extinct changesets to outgoing.excluded...
discovery: add extinct changesets to outgoing.excluded Before this change, push would incorrectly fast-path the bundle generation when extinct changesets are involved, because they are not added to outgoing.excluded. The reason to do so are related to outgoing.excluded being assumed to contain only secret changesets by scmutil.nochangesfound(), when displaying warnings like: changes found (ignored 9 secret changesets) Still, outgoing.excluded seems like a good API to report the extinct changesets instead of dedicated code and nothing in the docstring indicates it to be bound to secret changesets. This patch adds extinct changesets to outgoing.excluded and fixes scmutil.nochangesfound() to filter the excluded node list. Original version and test by Pierre-Yves.David@ens-lyon.org

File last commit:

r17017:953faba2 default
r17248:6ffb35b2 stable
Show More
test-hgwebdir.t
1015 lines | 30.1 KiB | text/troff | Tads3Lexer
Mads Kiilerich
tests: use 'hghave serve' to guard tests that requires serve daemon management
r15446 $ "$TESTDIR/hghave" serve || exit 80
Mads Kiilerich
tests: add missing no-outer-repo requirements...
r17015 hide outer repo and work in dir without '.hg'
$ hg init
$ mkdir dir
$ cd dir
Matt Mackall
tests: unify test-hgwebdir
r12443 Tests some basic hgwebdir functionality. Tests setting up paths and
collection, different forms of 404s and the subdirectory support.
$ mkdir webdir
$ cd webdir
$ hg init a
$ echo a > a/a
$ hg --cwd a ci -Ama -d'1 0'
adding a
create a mercurial queue repository
$ hg --cwd a qinit --config extensions.hgext.mq= -c
$ hg init b
$ echo b > b/b
$ hg --cwd b ci -Amb -d'2 0'
adding b
create a nested repository
$ cd b
$ hg init d
$ echo d > d/d
$ hg --cwd d ci -Amd -d'3 0'
adding d
$ cd ..
$ hg init c
$ echo c > c/c
$ hg --cwd c ci -Amc -d'3 0'
adding c
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 create a subdirectory containing repositories and subrepositories
$ mkdir notrepo
$ cd notrepo
$ hg init e
$ echo e > e/e
$ hg --cwd e ci -Ame -d'4 0'
adding e
$ hg init e/e2
$ echo e2 > e/e2/e2
$ hg --cwd e/e2 ci -Ame2 -d '4 0'
adding e2
$ hg init f
$ echo f > f/f
$ hg --cwd f ci -Amf -d'4 0'
adding f
$ hg init f/f2
$ echo f2 > f/f2/f2
$ hg --cwd f/f2 ci -Amf2 -d '4 0'
adding f2
$ cd ..
Matt Mackall
tests: unify test-hgwebdir
r12443 create repository without .hg/store
$ hg init nostore
$ rm -R nostore/.hg/store
$ root=`pwd`
$ cd ..
Mads Kiilerich
tests: add missing no-outer-repo requirements...
r17015
serve
Matt Mackall
tests: unify test-hgwebdir
r12443 $ cat > paths.conf <<EOF
> [paths]
> a=$root/a
> b=$root/b
> EOF
$ hg serve -p $HGPORT -d --pid-file=hg.pid --webdir-conf paths.conf \
> -A access-paths.log -E error-paths-1.log
$ cat hg.pid >> $DAEMON_PIDS
should give a 404 - file does not exist
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'a/file/tip/bork?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 404 Not Found
error: bork@8580ff50825a: not found in manifest
[1]
should succeed
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
/a/
/b/
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'a/file/tip/a?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
a
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'b/file/tip/b?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
b
should give a 404 - repo is not published
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'c/file/tip/c?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 404 Not Found
Wagner Bruna
hgwebdir: fix incorrect index generation for invalid paths (issue2023)...
r13066 error: repository c/file/tip/c not found
Matt Mackall
tests: unify test-hgwebdir
r12443 [1]
atom-log without basedir
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'a/atom-log' | grep '<link'
Mads Kiilerich
tests: reintroduce ":$HGPORT" in test output...
r12643 <link rel="self" href="http://*:$HGPORT/a/atom-log"/> (glob)
<link rel="alternate" href="http://*:$HGPORT/a/"/> (glob)
<link href="http://*:$HGPORT/a/rev/8580ff50825a"/> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443
rss-log without basedir
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'a/rss-log' | grep '<guid'
Mads Kiilerich
tests: reintroduce ":$HGPORT" in test output...
r12643 <guid isPermaLink="true">http://*:$HGPORT/a/rev/8580ff50825a</guid> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 $ cat > paths.conf <<EOF
> [paths]
> t/a/=$root/a
> b=$root/b
> coll=$root/*
> rcoll=$root/**
> star=*
> starstar=**
Mads Kiilerich
hgweb: make paths wildcards expanding in a repo root match repo correctly...
r13403 > astar=webdir/a/*
Matt Mackall
tests: unify test-hgwebdir
r12443 > EOF
$ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
> -A access-paths.log -E error-paths-2.log
$ cat hg.pid >> $DAEMON_PIDS
should succeed, slashy names
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
/t/a/
/b/
/coll/a/
/coll/a/.hg/patches/
/coll/b/
/coll/c/
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 /coll/notrepo/e/
/coll/notrepo/f/
Matt Mackall
tests: unify test-hgwebdir
r12443 /rcoll/a/
/rcoll/a/.hg/patches/
/rcoll/b/
/rcoll/b/d/
/rcoll/c/
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 /rcoll/notrepo/e/
/rcoll/notrepo/e/e2/
/rcoll/notrepo/f/
/rcoll/notrepo/f/f2/
Matt Mackall
tests: unify test-hgwebdir
r12443 /star/webdir/a/
/star/webdir/a/.hg/patches/
/star/webdir/b/
/star/webdir/c/
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 /star/webdir/notrepo/e/
/star/webdir/notrepo/f/
Matt Mackall
tests: unify test-hgwebdir
r12443 /starstar/webdir/a/
/starstar/webdir/a/.hg/patches/
/starstar/webdir/b/
/starstar/webdir/b/d/
/starstar/webdir/c/
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 /starstar/webdir/notrepo/e/
/starstar/webdir/notrepo/e/e2/
/starstar/webdir/notrepo/f/
/starstar/webdir/notrepo/f/f2/
Mads Kiilerich
hgweb: make paths wildcards expanding in a repo root match repo correctly...
r13403 /astar/
/astar/.hg/patches/
Matt Mackall
tests: unify test-hgwebdir
r12443
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '?style=paper'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
<head>
<link rel="icon" href="/static/hgicon.png" type="image/png" />
<meta name="robots" content="index, nofollow" />
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <script type="text/javascript" src="/static/mercurial.js"></script>
Matt Mackall
tests: unify test-hgwebdir
r12443
<title>Mercurial repositories index</title>
</head>
<body>
<div class="container">
<div class="menu">
<a href="http://mercurial.selenic.com/">
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
</div>
<div class="main">
<h2>Mercurial Repositories</h2>
<table class="bigtable">
<tr>
<th><a href="?sort=name">Name</a></th>
<th><a href="?sort=description">Description</a></th>
<th><a href="?sort=contact">Contact</a></th>
<th><a href="?sort=lastchange">Last modified</a></th>
<th>&nbsp;</th>
</tr>
<tr class="parity0">
<td><a href="/t/a/?style=paper">t/a</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity1">
<td><a href="/b/?style=paper">b</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity0">
<td><a href="/coll/a/?style=paper">coll/a</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity1">
<td><a href="/coll/a/.hg/patches/?style=paper">coll/a/.hg/patches</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity0">
<td><a href="/coll/b/?style=paper">coll/b</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity1">
<td><a href="/coll/c/?style=paper">coll/c</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity0">
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 <td><a href="/coll/notrepo/e/?style=paper">coll/notrepo/e</a></td>
<td>unknown</td>
<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>
<td class="age">*</td> (glob)
<td class="indexlinks"></td>
</tr>
<tr class="parity1">
<td><a href="/coll/notrepo/f/?style=paper">coll/notrepo/f</a></td>
<td>unknown</td>
<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>
<td class="age">*</td> (glob)
<td class="indexlinks"></td>
</tr>
<tr class="parity0">
Matt Mackall
tests: unify test-hgwebdir
r12443 <td><a href="/rcoll/a/?style=paper">rcoll/a</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity1">
<td><a href="/rcoll/a/.hg/patches/?style=paper">rcoll/a/.hg/patches</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity0">
<td><a href="/rcoll/b/?style=paper">rcoll/b</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity1">
<td><a href="/rcoll/b/d/?style=paper">rcoll/b/d</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity0">
<td><a href="/rcoll/c/?style=paper">rcoll/c</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity1">
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 <td><a href="/rcoll/notrepo/e/?style=paper">rcoll/notrepo/e</a></td>
<td>unknown</td>
<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>
<td class="age">*</td> (glob)
<td class="indexlinks"></td>
</tr>
<tr class="parity0">
<td><a href="/rcoll/notrepo/e/e2/?style=paper">rcoll/notrepo/e/e2</a></td>
<td>unknown</td>
<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>
<td class="age">*</td> (glob)
<td class="indexlinks"></td>
</tr>
<tr class="parity1">
<td><a href="/rcoll/notrepo/f/?style=paper">rcoll/notrepo/f</a></td>
<td>unknown</td>
<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>
<td class="age">*</td> (glob)
<td class="indexlinks"></td>
</tr>
<tr class="parity0">
<td><a href="/rcoll/notrepo/f/f2/?style=paper">rcoll/notrepo/f/f2</a></td>
<td>unknown</td>
<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>
<td class="age">*</td> (glob)
<td class="indexlinks"></td>
</tr>
<tr class="parity1">
Matt Mackall
tests: unify test-hgwebdir
r12443 <td><a href="/star/webdir/a/?style=paper">star/webdir/a</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity0">
<td><a href="/star/webdir/a/.hg/patches/?style=paper">star/webdir/a/.hg/patches</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity1">
<td><a href="/star/webdir/b/?style=paper">star/webdir/b</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity0">
<td><a href="/star/webdir/c/?style=paper">star/webdir/c</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity1">
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 <td><a href="/star/webdir/notrepo/e/?style=paper">star/webdir/notrepo/e</a></td>
<td>unknown</td>
<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>
<td class="age">*</td> (glob)
<td class="indexlinks"></td>
</tr>
<tr class="parity0">
<td><a href="/star/webdir/notrepo/f/?style=paper">star/webdir/notrepo/f</a></td>
<td>unknown</td>
<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>
<td class="age">*</td> (glob)
<td class="indexlinks"></td>
</tr>
<tr class="parity1">
Matt Mackall
tests: unify test-hgwebdir
r12443 <td><a href="/starstar/webdir/a/?style=paper">starstar/webdir/a</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity0">
<td><a href="/starstar/webdir/a/.hg/patches/?style=paper">starstar/webdir/a/.hg/patches</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity1">
<td><a href="/starstar/webdir/b/?style=paper">starstar/webdir/b</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity0">
<td><a href="/starstar/webdir/b/d/?style=paper">starstar/webdir/b/d</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
<tr class="parity1">
<td><a href="/starstar/webdir/c/?style=paper">starstar/webdir/c</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
Mads Kiilerich
hgweb: make paths wildcards expanding in a repo root match repo correctly...
r13403 <tr class="parity0">
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 <td><a href="/starstar/webdir/notrepo/e/?style=paper">starstar/webdir/notrepo/e</a></td>
<td>unknown</td>
<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>
<td class="age">*</td> (glob)
<td class="indexlinks"></td>
</tr>
<tr class="parity1">
<td><a href="/starstar/webdir/notrepo/e/e2/?style=paper">starstar/webdir/notrepo/e/e2</a></td>
<td>unknown</td>
<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>
<td class="age">*</td> (glob)
<td class="indexlinks"></td>
</tr>
<tr class="parity0">
<td><a href="/starstar/webdir/notrepo/f/?style=paper">starstar/webdir/notrepo/f</a></td>
<td>unknown</td>
<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>
<td class="age">*</td> (glob)
<td class="indexlinks"></td>
</tr>
<tr class="parity1">
<td><a href="/starstar/webdir/notrepo/f/f2/?style=paper">starstar/webdir/notrepo/f/f2</a></td>
<td>unknown</td>
<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>
<td class="age">*</td> (glob)
<td class="indexlinks"></td>
</tr>
<tr class="parity0">
Mads Kiilerich
hgweb: make paths wildcards expanding in a repo root match repo correctly...
r13403 <td><a href="/astar/?style=paper">astar</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Mads Kiilerich
hgweb: make paths wildcards expanding in a repo root match repo correctly...
r13403 <td class="indexlinks"></td>
</tr>
<tr class="parity1">
<td><a href="/astar/.hg/patches/?style=paper">astar/.hg/patches</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Mads Kiilerich
hgweb: make paths wildcards expanding in a repo root match repo correctly...
r13403 <td class="indexlinks"></td>
</tr>
Matt Mackall
tests: unify test-hgwebdir
r12443 </table>
</div>
</div>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <script type="text/javascript">process_dates()</script>
Matt Mackall
tests: unify test-hgwebdir
r12443
</body>
</html>
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 't?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
/t/a/
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 't/?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
/t/a/
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 't/?style=paper'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
<head>
<link rel="icon" href="/static/hgicon.png" type="image/png" />
<meta name="robots" content="index, nofollow" />
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <script type="text/javascript" src="/static/mercurial.js"></script>
Matt Mackall
tests: unify test-hgwebdir
r12443
<title>Mercurial repositories index</title>
</head>
<body>
<div class="container">
<div class="menu">
<a href="http://mercurial.selenic.com/">
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
</div>
<div class="main">
<h2>Mercurial Repositories</h2>
<table class="bigtable">
<tr>
<th><a href="?sort=name">Name</a></th>
<th><a href="?sort=description">Description</a></th>
<th><a href="?sort=contact">Contact</a></th>
<th><a href="?sort=lastchange">Last modified</a></th>
<th>&nbsp;</th>
</tr>
<tr class="parity0">
<td><a href="/t/a/?style=paper">a</a></td>
<td>unknown</td>
<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>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <td class="age">*</td> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <td class="indexlinks"></td>
</tr>
</table>
</div>
</div>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <script type="text/javascript">process_dates()</script>
Matt Mackall
tests: unify test-hgwebdir
r12443
</body>
</html>
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 't/a?style=atom'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
<?xml version="1.0" encoding="ascii"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<!-- Changelog -->
Mads Kiilerich
tests: reintroduce ":$HGPORT" in test output...
r12643 <id>http://*:$HGPORT1/t/a/</id> (glob)
<link rel="self" href="http://*:$HGPORT1/t/a/atom-log"/> (glob)
<link rel="alternate" href="http://*:$HGPORT1/t/a/"/> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <title>t/a Changelog</title>
<updated>1970-01-01T00:00:01+00:00</updated>
<entry>
<title>a</title>
Mads Kiilerich
tests: reintroduce ":$HGPORT" in test output...
r12643 <id>http://*:$HGPORT1/t/a/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id> (glob)
<link href="http://*:$HGPORT1/t/a/rev/8580ff50825a"/> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <author>
<name>test</name>
<email>&#116;&#101;&#115;&#116;</email>
</author>
<updated>1970-01-01T00:00:01+00:00</updated>
<published>1970-01-01T00:00:01+00:00</published>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre xml:space="preserve">a</pre>
</div>
</content>
</entry>
</feed>
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 't/a/?style=atom'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
<?xml version="1.0" encoding="ascii"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<!-- Changelog -->
Mads Kiilerich
tests: reintroduce ":$HGPORT" in test output...
r12643 <id>http://*:$HGPORT1/t/a/</id> (glob)
<link rel="self" href="http://*:$HGPORT1/t/a/atom-log"/> (glob)
<link rel="alternate" href="http://*:$HGPORT1/t/a/"/> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <title>t/a Changelog</title>
<updated>1970-01-01T00:00:01+00:00</updated>
<entry>
<title>a</title>
Mads Kiilerich
tests: reintroduce ":$HGPORT" in test output...
r12643 <id>http://*:$HGPORT1/t/a/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id> (glob)
<link href="http://*:$HGPORT1/t/a/rev/8580ff50825a"/> (glob)
Matt Mackall
tests: unify test-hgwebdir
r12443 <author>
<name>test</name>
<email>&#116;&#101;&#115;&#116;</email>
</author>
<updated>1970-01-01T00:00:01+00:00</updated>
<published>1970-01-01T00:00:01+00:00</published>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre xml:space="preserve">a</pre>
</div>
</content>
</entry>
</feed>
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 't/a/file/tip/a?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
a
Test [paths] '*' extension
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'coll/?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
/coll/a/
/coll/a/.hg/patches/
/coll/b/
/coll/c/
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 /coll/notrepo/e/
/coll/notrepo/f/
Matt Mackall
tests: unify test-hgwebdir
r12443
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'coll/a/file/tip/a?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
a
Mads Kiilerich
hgweb: make paths wildcards expanding in a repo root match repo correctly...
r13403 Test [paths] '**' extension
Matt Mackall
tests: unify test-hgwebdir
r12443
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'rcoll/?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
/rcoll/a/
/rcoll/a/.hg/patches/
/rcoll/b/
/rcoll/b/d/
/rcoll/c/
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 /rcoll/notrepo/e/
/rcoll/notrepo/e/e2/
/rcoll/notrepo/f/
/rcoll/notrepo/f/f2/
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'rcoll/b/d/file/tip/d?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
d
Test collapse = True
$ "$TESTDIR/killdaemons.py"
$ cat >> paths.conf <<EOF
> [web]
> collapse=true
> EOF
$ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
> -A access-paths.log -E error-paths-3.log
$ cat hg.pid >> $DAEMON_PIDS
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'coll/?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
/coll/a/
/coll/a/.hg/patches/
/coll/b/
/coll/c/
/coll/notrepo/
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'coll/a/file/tip/a?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
a
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'rcoll/?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
/rcoll/a/
/rcoll/a/.hg/patches/
/rcoll/b/
/rcoll/b/d/
/rcoll/c/
/rcoll/notrepo/
Matt Mackall
tests: unify test-hgwebdir
r12443
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'rcoll/b/d/file/tip/d?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
d
Mads Kiilerich
hgweb: make paths wildcards expanding in a repo root match repo correctly...
r13403
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 Test intermediate directories
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'rcoll/notrepo/?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
/rcoll/notrepo/e/
/rcoll/notrepo/e/e2/
/rcoll/notrepo/f/
/rcoll/notrepo/f/f2/
Test repositories inside intermediate directories
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'rcoll/notrepo/e/file/tip/e?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
e
Test subrepositories inside intermediate directories
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'rcoll/notrepo/f/f2/file/tip/f2?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
f2
Test descend = False
$ "$TESTDIR/killdaemons.py"
$ cat >> paths.conf <<EOF
> descend=false
> EOF
$ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
> -A access-paths.log -E error-paths-4.log
$ cat hg.pid >> $DAEMON_PIDS
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'coll/?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
/coll/a/
/coll/b/
/coll/c/
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'coll/a/file/tip/a?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
a
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'rcoll/?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
/rcoll/a/
/rcoll/b/
/rcoll/c/
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'rcoll/b/d/file/tip/d?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
d
Test intermediate directories
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'rcoll/notrepo/?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
/rcoll/notrepo/e/
/rcoll/notrepo/f/
Test repositories inside intermediate directories
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'rcoll/notrepo/e/file/tip/e?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
e
Test subrepositories inside intermediate directories
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 'rcoll/notrepo/f/f2/file/tip/f2?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
f2
Mads Kiilerich
hgweb: make paths wildcards expanding in a repo root match repo correctly...
r13403 Test [paths] '*' in a repo root
$ hg id http://localhost:$HGPORT1/astar
8580ff50825a
Matt Mackall
tests: unify test-hgwebdir
r12443 $ "$TESTDIR/killdaemons.py"
$ cat > paths.conf <<EOF
> [paths]
> t/a = $root/a
> t/b = $root/b
> c = $root/c
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 > EOF
$ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
> -A access-paths.log -E error-paths-5.log
$ cat hg.pid >> $DAEMON_PIDS
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
/t/a/
/t/b/
/c/
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 't/?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
/t/a/
/t/b/
Test collapse = True
$ "$TESTDIR/killdaemons.py"
$ cat >> paths.conf <<EOF
Matt Mackall
tests: unify test-hgwebdir
r12443 > [web]
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 > collapse=true
> EOF
$ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
> -A access-paths.log -E error-paths-6.log
$ cat hg.pid >> $DAEMON_PIDS
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
/t/
/c/
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 't/?style=raw'
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 200 Script output follows
/t/a/
/t/b/
test descend = False
$ "$TESTDIR/killdaemons.py"
$ cat >> paths.conf <<EOF
Matt Mackall
tests: unify test-hgwebdir
r12443 > descend=false
> EOF
$ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 > -A access-paths.log -E error-paths-7.log
Matt Mackall
tests: unify test-hgwebdir
r12443 $ cat hg.pid >> $DAEMON_PIDS
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
/c/
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 't/?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
/t/a/
/t/b/
$ "$TESTDIR/killdaemons.py"
$ cat > paths.conf <<EOF
> [paths]
> nostore = $root/nostore
> inexistent = $root/inexistent
> EOF
$ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 > -A access-paths.log -E error-paths-8.log
Matt Mackall
tests: unify test-hgwebdir
r12443 $ cat hg.pid >> $DAEMON_PIDS
test inexistent and inaccessible repo should be ignored silently
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 ''
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
<head>
<link rel="icon" href="/static/hgicon.png" type="image/png" />
<meta name="robots" content="index, nofollow" />
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <script type="text/javascript" src="/static/mercurial.js"></script>
Matt Mackall
tests: unify test-hgwebdir
r12443
<title>Mercurial repositories index</title>
</head>
<body>
<div class="container">
<div class="menu">
<a href="http://mercurial.selenic.com/">
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
</div>
<div class="main">
<h2>Mercurial Repositories</h2>
<table class="bigtable">
<tr>
<th><a href="?sort=name">Name</a></th>
<th><a href="?sort=description">Description</a></th>
<th><a href="?sort=contact">Contact</a></th>
<th><a href="?sort=lastchange">Last modified</a></th>
<th>&nbsp;</th>
</tr>
</table>
</div>
</div>
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <script type="text/javascript">process_dates()</script>
Matt Mackall
tests: unify test-hgwebdir
r12443
</body>
</html>
$ cat > collections.conf <<EOF
> [collections]
> $root=$root
> EOF
$ hg serve --config web.baseurl=http://hg.example.com:8080/ -p $HGPORT2 -d \
> --pid-file=hg.pid --webdir-conf collections.conf \
> -A access-collections.log -E error-collections.log
$ cat hg.pid >> $DAEMON_PIDS
collections: should succeed
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
/a/
/a/.hg/patches/
/b/
/c/
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 /notrepo/e/
/notrepo/f/
Matt Mackall
tests: unify test-hgwebdir
r12443
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 'a/file/tip/a?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
a
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 'b/file/tip/b?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
b
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 'c/file/tip/c?style=raw'
Matt Mackall
tests: unify test-hgwebdir
r12443 200 Script output follows
c
atom-log with basedir /
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 'a/atom-log' | grep '<link'
Matt Mackall
tests: unify test-hgwebdir
r12443 <link rel="self" href="http://hg.example.com:8080/a/atom-log"/>
<link rel="alternate" href="http://hg.example.com:8080/a/"/>
<link href="http://hg.example.com:8080/a/rev/8580ff50825a"/>
rss-log with basedir /
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 'a/rss-log' | grep '<guid'
Matt Mackall
tests: unify test-hgwebdir
r12443 <guid isPermaLink="true">http://hg.example.com:8080/a/rev/8580ff50825a</guid>
$ "$TESTDIR/killdaemons.py"
$ hg serve --config web.baseurl=http://hg.example.com:8080/foo/ -p $HGPORT2 -d \
> --pid-file=hg.pid --webdir-conf collections.conf \
> -A access-collections-2.log -E error-collections-2.log
$ cat hg.pid >> $DAEMON_PIDS
atom-log with basedir /foo/
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 'a/atom-log' | grep '<link'
Matt Mackall
tests: unify test-hgwebdir
r12443 <link rel="self" href="http://hg.example.com:8080/foo/a/atom-log"/>
<link rel="alternate" href="http://hg.example.com:8080/foo/a/"/>
<link href="http://hg.example.com:8080/foo/a/rev/8580ff50825a"/>
rss-log with basedir /foo/
Mads Kiilerich
tests: prepare get-with-headers.py for MSYS...
r17017 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 'a/rss-log' | grep '<guid'
Matt Mackall
tests: unify test-hgwebdir
r12443 <guid isPermaLink="true">http://hg.example.com:8080/foo/a/rev/8580ff50825a</guid>
paths errors 1
$ cat error-paths-1.log
paths errors 2
$ cat error-paths-2.log
paths errors 3
$ cat error-paths-3.log
Paul Boddie
hgweb: support multi-level repository indexes by enabling descend and collapse...
r16239 paths errors 4
$ cat error-paths-4.log
paths errors 5
$ cat error-paths-5.log
paths errors 6
$ cat error-paths-6.log
paths errors 7
$ cat error-paths-7.log
paths errors 8
$ cat error-paths-8.log
Matt Mackall
tests: unify test-hgwebdir
r12443 collections errors
$ cat error-collections.log
collections errors 2
$ cat error-collections-2.log