From: Love Hörnquist Åstrand Date: Sat, 7 Feb 2009 22:04:34 +0000 (-0500) Subject: incrementals X-Git-Tag: git2svn-0.4^0 X-Git-Url: https://repo.or.cz/w/git2svn.git/commitdiff_plain/be694f8968b25339e5f3f05e462bc85d43148280 incrementals --- diff --git a/run-tests.sh b/run-tests.sh index 74314a9..7b1f457 100644 --- a/run-tests.sh +++ b/run-tests.sh @@ -1,10 +1,29 @@ #!/bin/sh -rm -rf repro - gitrepro=/Users/lha/src/heimdal/git-trunk -(cd $gitrepro && git tag -d git2svn-syncpoint-master) +incremental=no + +usage="-i" + +while true +do + case $1 in + -i) incremental="yes"; shift ;; + -*) echo "$0: Bad option $1"; echo $usage; exit 1;; + *) break;; + esac +done +if test $# -ne 0; then + echo $usage + exit 1 +fi + +if [ "$incremental" = no ] ; then + rm -rf repro + (cd $gitrepro && git tag -d git2svn-syncpoint-master) + (cd $gitrepro && git tag -d git2svn-syncpoint-heimdal-1-1-branch) +fi echo "####full import of master -> trunk" ./git2svn \