Follow upstream changes -- Bytestring updates
[git-darcs-import.git] / tests / addmv.sh
blobfc91f932484b55f9be268ccc96a8356c676dbb0d
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 bar
9 darcs add foo bar
10 darcs record -a -m add_foo_bar -A x
11 darcs mv foo zig
12 darcs mv bar foo
13 darcs mv zig bar
14 darcs record -a -m swap_foo_bar -A x
15 cd ../temp2
16 darcs init
17 darcs pull -v -a ../temp1
18 cd ..
19 rm -rf temp1 temp2