##// END OF EJS Templates
hooks: add url to changegroup, incoming, prechangegroup, pretxnchangegroup hooks...
hooks: add url to changegroup, incoming, prechangegroup, pretxnchangegroup hooks all repository classes now have url() method that returns url of repo.

File last commit:

r2572:d22d730c default
r2673:109a22f5 default
Show More
test-bad-pull
27 lines | 672 B | text/plain | TextLexer
Thomas Arendsen Hein
Don't use 'set -x', fix exports, sed and hexdump usage for Solaris.
r800 #!/bin/sh
mpm@selenic.com
commands: report http exceptions nicely...
r395
mpm@selenic.com
[PATCH] add clone command...
r485 hg clone http://localhost:20059/ copy
mpm@selenic.com
Fix troubles with clone and exception handling...
r503 echo $?
TK Soh
tests: more portability fix for the old systems
r1962 ls copy 2>/dev/null || echo copy: No such file or directory
mpm@selenic.com
commands: report http exceptions nicely...
r395
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 &
Vadim Gelfer
tests: record few more daemon pids to be safe
r2572 echo $! >> $DAEMON_PIDS
mpm@selenic.com
commands: report http exceptions nicely...
r395
Vadim Gelfer
test-bad-pull: fix change in error output.
r2438 http_proxy= hg clone http://localhost:20059/foo copy2 2>&1 | \
sed -e 's/404.*/404/' -e 's/Date:.*/Date:/'
mpm@selenic.com
Fix troubles with clone and exception handling...
r503 echo $?
mpm@selenic.com
commands: report http exceptions nicely...
r395
Thomas Arendsen Hein
Use "kill $!" to kill running background processes....
r492 kill $!