Mercurial > hg
view tests/test-bad-pull @ 496:6ce95a04999d
[PATCH] simplify init
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] simplify init
From: Bryan O'Sullivan <bos@serpentine.com>
Remove source directory option from "hg init".
manifest hash: 2ace7b16c962fb434340b937fbcd494f3098a85f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCwQG/ywK+sNU5EO8RArbCAJ9DG45GepMI0Z9KWXqV8gmEbV1WfwCgotih
LGAkD8iTfOLn7HIPVqt9FWY=
=65uW
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Mon, 27 Jun 2005 23:52:31 -0800 |
parents | e94cebc60d96 |
children | c6a2e41c8c60 |
line wrap: on
line source
#!/bin/bash hg clone http://localhost:20059/ copy cd copy 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 & hg clone http://localhost:20059/foo copy2 cd copy2 hg verify hg co cat foo hg manifest kill $!