Follow upstream changes -- rest
[git-darcs-import.git] / tests / network / lazy-get.sh
blob3fb6cc003bfca71a827e22083bab554b7aae0a13
1 #!/usr/bin/env bash
2 set -ev
4 rm -rf temp temp2 temp3
6 darcs get --lazy http://darcs.net/repos/franchise temp
8 darcs get --lazy temp temp2
10 rm -rf temp
12 cd temp2
14 test ! -f _darcs/patches/0000003700-fb09ec6a61b35ac7aa77e65388b1a0c182fddca9a908f1a08d0bc5653f2f2d2a
16 darcs annotate -p 'initial minimal version'
18 test -f _darcs/patches/0000003700-fb09ec6a61b35ac7aa77e65388b1a0c182fddca9a908f1a08d0bc5653f2f2d2a
20 cd ..
22 rm -rf temp temp2 temp3