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