Follow upstream changes -- rest
[git-darcs-import.git] / tests / rollback-nothing.sh
blobaf5787a101ca8e3d6065e3711b6f270df3f02fe9
1 #!/usr/bin/env bash
3 set -ev
5 rm -rf temp
6 mkdir temp
7 cd temp
8 darcs init
9 date > file1
10 darcs add file1
11 darcs record -am "test"
12 rm file1
13 darcs record -am "rm"
14 echo yd | darcs rollback --last=1 -m 'oops' | grep 'No changes selected'
15 cd ..
16 rm -rf temp