summaryrefslogtreecommitdiff
path: root/exporters/darcs/t/test-git-progress.sh
blob: 6586e8028172b0fed0d186cb29b06d10add48a49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
. ./lib.sh

create_darcs test --old-fashioned-inventory

rm -rf test.darcs test.git
mkdir test.git
cd test.git
git --bare init
cd ..
if [ "$1" != "--stdout" ]; then
	darcs-fast-export --progres 2 test |(cd test.git; git fast-import)
	if [ $? = 0 ]; then
		diff_git test
		exit $?
	fi
else
	darcs-fast-export test
fi