##// END OF EJS Templates
http: fix many problems with url parsing and auth. added proxy test....
http: fix many problems with url parsing and auth. added proxy test. problems fixed: - https scheme handled properly for real and proxy urls. - url of form "http://user:password@host:port/path" now ok. - no-proxy check uses proper host names.

File last commit:

r1926:ba198d17 default
r2337:3f24bc5d default
Show More
test-clone
27 lines | 302 B | text/plain | TextLexer
#!/bin/sh
mkdir a
cd a
hg init
echo a > a
hg add a
hg commit -m test -d '0 0'
# Default operation
hg clone . ../b
cd ../b
cat a
hg verify
# No update
hg clone -U . ../c
cd ../c
cat a 2>/dev/null || echo "a not present"
hg verify
# Default destination
mkdir ../d
cd ../d
hg clone ../a
cd a
hg cat a