tests/test-pull
author mpm@selenic.com
Fri, 17 Jun 2005 08:50:11 -0800
changeset 391 5f65a108a559
parent 382 37249c522770
child 392 ee4c80d294e5
permissions -rwxr-xr-x
hgweb: pull cgitb into CGI script example, where it can easily be disabled -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hgweb: pull cgitb into CGI script example, where it can easily be disabled This also eliminates cgitb dumps in the logging output of hg serve manifest hash: a0aa07a706c2c388c0b49505e2960197f716920c -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCsv9DywK+sNU5EO8RAieFAJwOjdfkz7pILNVUTvpMkRa6/OIhIQCgo2TP I2E4hxQ0N7mTtl45pXEFLsk= =tG0v -----END PGP SIGNATURE-----

#!/bin/bash

set -e

mkdir test
cd test
echo foo>foo
hg init
hg addremove
hg commit -t "1"
hg verify
hg serve -p 20059 2>/dev/null &
C=$!
cd ..

mkdir copy
cd copy
hg init http://localhost:20059/
hg verify
hg co
cat foo
hg manifest

kill $C