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-copy.sh
blob
109d87eb1381c496c9bc7995fdd7603f6050f4fa
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
git commit
-m
a1
10
cp file
file2
11
git add file2
12
git commit
-m
b
13
cd
..
14
15
rm
-rf test
.darcs
16
mkdir
test
.darcs
17
cd test
.darcs
18
darcs init
19
cd
..
20
(
cd test
;
git fast-export
-C -C
HEAD
) >
out
21
cat
out |
(
cd test
.darcs
;
darcs-fast-import
)
22
if
[
$?
!=
0
];
then
23
exit
1
24
fi
25
diff_importgit
test
26
exit
$?