Follow upstream changes -- rest
[git-darcs-import.git] / tests / replace_after_pending_mv.sh
blob3848081f8028e03c3b82331af3c36b708f0875e0
1 #!/usr/bin/env bash
3 set -ev
5 rm -fr temp1
7 mkdir temp1
8 cd temp1
9 darcs init
11 echo a b a b a b > A
12 darcs add A
13 darcs record --all --patch-name=p1
14 darcs mv A B
15 if darcs replace a c B | grep Skipping; then
16 exit 1
18 cd ..
20 rm -fr temp1