summaryrefslogtreecommitdiff
path: root/exporters/darcs/t/test-hg-d2x.sh
blob: bc83385d10d1c06c22f3897e9c847cff12892b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
. ./lib.sh

create_darcs test --old-fashioned-inventory

rm -rf test.hg
if [ "$1" != "--stdout" ]; then
	d2x -f hg test
	diff_hg test
	exit $?
else
	darcs-fast-export test
fi