Follow upstream changes -- rest
[git-darcs-import.git] / tests / unrevert_cancel.sh
blob9b6d1c2343fb7b69f524f0a53cb85cb25b3e1164
1 #!/usr/bin/env bash
3 # From issue366 bug report
5 set -ev
7 rm -rf temp1
8 mkdir temp1
9 cd temp1
10 darcs init
11 touch a
12 touch b
13 darcs add *
14 darcs record -A moi -am init
15 echo plim >> a
16 echo plim >> b
17 echo y/y/y/ | tr / \\012 | darcs revert
18 echo ploum >> a
19 echo nyy | tr / \\012 | darcs unrevert
21 cd ..
22 rm -rf temp1