repo.or.cz
/
girocco-darcs-fast-export.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix timezones in darcs-fast-export, take 2
[girocco-darcs-fast-export.git]
/
t
/
testimport-deleteall.sh
blob
11c5a83366cb43f20fc37bbabe36c953fb34ade7
1
. .
/
lib.sh
2
3
rm
-rf test
4
mkdir
test
5
cd test
6
git init
7
echo
a
>
file
8
git add
file
9
echo
A
>
file2
10
git add file2
11
git commit
-m
a12
12
git
rm file
*
13
echo
b
>
file3
14
git add file3
15
git commit
-m
b
16
cd
..
17
18
rm
-rf test
.darcs
19
mkdir
test
.darcs
20
cd test
.darcs
21
darcs init
22
cd
..
23
(
cd test
;
git fast-export
--progress
=
2
HEAD
) >
out
24
sed
-i
'/^D file$/d'
out
25
sed
-i
's/^D file2$/deleteall/'
out
26
cat
out |
(
cd test
.darcs
;
darcs-fast-import
)
27
if
[
$?
!=
0
];
then
28
exit
1
29
fi
30
diff_importgit
test
31
exit
$?