summaryrefslogtreecommitdiff
path: root/exporters/darcs/t/testimport-git.sh
blob: 2e64e628b80e3d4143dfe7c8d3c065c9d8277baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
. ./lib.sh

create_git test

rm -rf test.darcs
mkdir test.darcs
cd test.darcs
darcs init
cd ..
(cd test; git fast-export --progress=2 HEAD) | (cd test.darcs; darcs-fast-import)
if [ $? != 0 ]; then
	exit 1
fi
diff_importgit test
exit $?