From be694f8968b25339e5f3f05e462bc85d43148280 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Love=20H=F6rnquist=20=C5strand?= Date: Sat, 7 Feb 2009 17:04:34 -0500 Subject: [PATCH] incrementals --- run-tests.sh | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) 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 \ -- 2.11.4.GIT