Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-bad-pull @ 465:f8cb8d082d40
Add a doc makefile
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Add a doc makefile
- From Vincent Danjean
manifest hash: ef14a37f8bdee641148e705ba13ce386cf29316a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCvQSmywK+sNU5EO8RAh/QAJoCDQVUKS8uYO5kcIqJBsrKYtj+FACgmSvI
FnYSmWjUX5kLbDHdQqM6jls=
=fPAM
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Fri, 24 Jun 2005 23:15:50 -0800 |
parents | fbe8834923c5 |
children | c5705ab9cebd |
line wrap: on
line source
#!/bin/bash mkdir copy cd copy hg init http://localhost:20059/ hg verify hg co cat foo hg manifest cat > dumb.py <<EOF import BaseHTTPServer, SimpleHTTPServer, signal def run(server_class=BaseHTTPServer.HTTPServer, handler_class=SimpleHTTPServer.SimpleHTTPRequestHandler): server_address = ('localhost', 20059) httpd = server_class(server_address, handler_class) httpd.serve_forever() signal.signal(signal.SIGTERM, lambda x: sys.exit(0)) run() EOF python dumb.py 2>/dev/null & mkdir copy2 cd copy2 hg init http://localhost:20059/foo hg verify hg co cat foo hg manifest kill %1