Merge branch 'darcs' into master
[git-darcs-import.git] / tests / record-interactive.sh
blob59d40ede48eebde23e842855641c7d62749fcb76
1 #!/usr/bin/env bash
2 set -ev
4 not () { "$@" && exit 1 || :; }
7 rm -rf temp1
8 mkdir temp1
9 cd temp1
10 darcs init
12 touch foo
13 darcs add foo
14 darcs record -a -m addfoo
16 darcs replace one two foo
17 darcs replace three four foo
18 darcs replace five six foo
20 echo sa | darcs record -m cancelled
22 darcs whatsnew
24 darcs changes > ch
25 not grep cancelled ch
27 cd ..
28 rm -rf temp1