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
/
repoformat.sh
blob
9b8693d4720a3414f156bbf3370da5018d849353
1
#!/usr/bin/env bash
2
set -ev
3
4
not
() {
"$@"
&&
exit
1
||
:; }
5
6
rm
-rf
temp1 temp2
7
mkdir temp1
8
cd
temp1
9
darcs init
10
echo
gobbledygook
>
_darcs
/
format
11
cd
..
12
13
not darcs get temp1 temp2
2
>
log
14
grep
-i
"can't understand repository format"
log
15
rm
-rf
temp1 temp2 log