update readmes
[git-darcs-import.git] / tests / pull_two.sh
blob7bdf5c63a5c71b2994c75ee816c23b45c84ad946
1 #!/usr/bin/env bash
3 # This test script, originally written by David Roundy is in the public
4 # domain.
6 set -ev
8 rm -rf temp1 temp2
10 mkdir temp1
11 cd temp1
12 echo foo > bar
13 darcs initialize
14 echo record author me > _darcs/prefs/defaults
15 darcs add bar
16 darcs record -a -m addbar
18 cd ..
19 darcs get temp1 temp2
20 cd temp1
21 date > bar
22 darcs record -a -m datebar
24 cd ../temp1
25 echo aack >> bar
26 darcs record -a -m aackbar
28 cd ../temp2
30 darcs pull -av
31 darcs check
33 cd ..
34 rm -rf temp1 temp2