Follow upstream changes -- rest
[git-darcs-import.git] / tests / unrevert.sh
bloba00601690648746fc5dd2a5f5b0a988d7e7ec418
1 #!/usr/bin/env bash
2 set -ev
4 rm -rf temp1
5 mkdir temp1
6 cd temp1
7 darcs init
8 echo hello world > foo
9 darcs add foo
10 darcs record -a -m add -A x
11 echo goodbye world >> foo
12 cp foo bar
13 darcs revert -a
14 darcs show contents foo | cmp foo -
16 darcs unrevert -a
17 cmp foo bar
19 cd ..
20 rm -rf temp1