summaryrefslogtreecommitdiff
path: root/exporters/darcs/t/test-bzr.sh
blob: 778b7783a7aed582a8a0abb14d0edb065631772c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
. lib.sh

create_darcs test --old-fashioned-inventory

rm -rf test.darcs test.bzr
mkdir test.bzr
cd test.bzr
bzr init-repo .
cd ..
if [ "$1" != "--stdout" ]; then
	darcs-fast-export test |(cd test.bzr; bzr fast-import -)
	diff_bzr test
	exit $?
else
	darcs-fast-export test
fi