5 gitrepro
=/Users
/lha
/src
/heimdal
/git-trunk
7 (cd $gitrepro && git tag
-d git2svn-syncpoint-master
)
9 echo "####full import of master -> trunk"
12 $gitrepro repro ||
exit 1
14 echo "####full import of branch -> branches/heimdal-1-1-branch"
17 --svn-prefix=branches
/heimdal-1-1-branch \
18 --git-branch=heimdal-1-1-branch \
19 $gitrepro repro ||
exit 1
21 echo "####incremental import of master -> trunk"
24 $gitrepro repro ||
exit 1
26 echo "####test that repro looks ok at a glance"
28 svn
=file://`pwd`/repro
30 svn
ls $svn |
grep trunk
> /dev
/null ||
exit 1
31 svn
ls $svn/branches |
grep heimdal-1-1-branch
> /dev
/null ||
exit 1
33 echo "####all tests passed"