##// END OF EJS Templates
merge with crew
merge with crew

File last commit:

r6640:d6b53b48 default
r6986:55c16f12 merge default
Show More
test-bundle-type
41 lines | 625 B | text/plain | TextLexer
Benoit Allard
add compression type type parameter to bundle command
r6570 #!/bin/sh
echo % bundle w/o type option
hg init t1
hg init t2
cd t1
echo blablablablabla > file.txt
hg ci -Ama
hg log | grep summary
hg bundle ../b1 ../t2
cd ../t2
hg pull ../b1
hg up
hg log | grep summary
cd ..
for t in "None" "bzip2" "gzip"; do
echo % test bundle type $t
hg init t$t
cd t1
hg bundle -t $t ../b$t ../t$t
Christian Ebert
Make test-bundle-type work on MacOS 10.4.11...
r6640 head -n 1 ../b$t | cut -b 1-6
Benoit Allard
add compression type type parameter to bundle command
r6570 cd ../t$t
hg pull ../b$t
hg up
hg log | grep summary
cd ..
done
echo % test garbage file
echo garbage > bgarbage
hg init tgarbage
cd tgarbage
hg pull ../bgarbage
cd ..
echo % test invalid bundle type
cd t1
hg bundle -a -t garbage ../bgarbage
cd ..