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
/
init.sh
blob
b9d3f3739696a908e81ed83e29307f7e58ecbaff
1
#!/usr/bin/env bash
2
set -ev
3
4
not
() {
"$@"
&&
exit
1
||
:; }
5
6
rm
-rf
temp1 temp2
7
8
mkdir temp1
9
darcs init
10
test -d
_darcs
11
not darcs init
12
cd
..
13
14
# Some tests for the repodir flag
15
mkdir temp2
16
darcs init
--repodir
temp2
17
test -d
temp
2
/
_darcs
18
19
rm
-rf
temp1 temp2