##// END OF EJS Templates
add support for streaming clone....
add support for streaming clone. existing clone code uses pull to get changes from remote repo. is very slow, uses lots of memory and cpu. new clone code has server write file data straight to client, client writes file data straight to disk. memory and cpu used are very low, clone is much faster over lan. new client can still clone with pull, can still clone from older servers. new server can still serve older clients.

File last commit:

r1960:dac4bd67 default
r2612:ffb895f1 default
Show More
test-unrelated-pull
20 lines | 217 B | text/plain | TextLexer
/ tests / test-unrelated-pull
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 #!/bin/sh
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579 mkdir a
cd a
hg init
echo 123 > a
hg add a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "a" -u a -d "1000000 0"
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579
cd ..
mkdir b
cd b
Thomas Arendsen Hein
Cleanup of tabs and trailing spaces.
r1308 hg init
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579 echo 321 > b
hg add b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "b" -u b -d "1000000 0"
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579
hg pull ../a
Vadim Gelfer
update test for unrelated repo.
r1960 hg pull -f ../a
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579 hg heads