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 -- Bytestring updates
[git-darcs-import.git]
/
tests
/
obliterate-add.sh
blob
8c280b8abcb062a6952e2dfe01d3c241d2860e71
1
#!/usr/bin/env bash
2
set -ev
3
4
## The builtin ! has the wrong semantics for not.
5
not
() {
"$@"
&&
exit
1
||
:; }
6
7
rm
-rf
temp1
8
mkdir temp1
9
cd
temp1
10
darcs init
11
echo
foo
>
foo
12
darcs add foo
13
14
darcs record
-a -m
'addfoo'
15
16
darcs obliterate
-a
17
18
not darcs whatsnew
19
20
cd
..
21
rm
-rf
temp1