repo.or.cz
/
git-darcs-import.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Follow upstream changes -- rest
[git-darcs-import.git]
/
tests
/
rollback-nothing.sh
blob
af5787a101ca8e3d6065e3711b6f270df3f02fe9
1
#!/usr/bin/env bash
2
3
set -ev
4
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