Follow upstream changes -- rest
[git-darcs-import.git] / tests / addrm.sh
bloba5932fab91968dad7403b16faa85cb1c3a1242b5
1 #!/usr/bin/env bash
2 set -ev
4 rm -rf temp1 temp2
5 mkdir temp1 temp2
6 cd temp1
7 darcs init
8 touch foo
9 darcs add foo
10 darcs record -a -m add_foo -A x
11 darcs remove foo
12 darcs record -a -m del_foo -A x
13 cd ../temp2
14 darcs init
15 darcs pull --all ../temp1
16 cd ..
17 rm -rf temp1 temp2