Follow upstream changes -- rest
[git-darcs-import.git] / tests / unrecord-setpref.sh
blobd04b03ea9b8c5a4f02b906b0265a25f05b1ad42b
1 #!/usr/bin/env bash
2 set -ev
4 rm -rf temp1
5 mkdir temp1
6 cd temp1
7 darcs init
9 darcs setpref boringfile foobar
11 darcs whatsnew > correct
12 cat correct
14 darcs record -a -m 'boringfoobar'
16 darcs unrecord -a
18 darcs whatsnew > unrecorded
19 cat unrecorded
21 diff -u correct unrecorded
23 cd ..
24 rm -rf temp1