X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fversion_control.sh;h=9bf195c1b9221c6fff9d364966372f07b49bb097;hb=f7a703e55707f14f6506bd450de6995ff427eac1;hp=432d32636c4bfb3de14efddd4f4184a5ec6fe87c;hpb=bbad9b62040c6192abde3808b1317244b56fc9ec;p=feisty_meow.git diff --git a/scripts/rev_control/version_control.sh b/scripts/rev_control/version_control.sh index 432d3263..9bf195c1 100644 --- a/scripts/rev_control/version_control.sh +++ b/scripts/rev_control/version_control.sh @@ -113,7 +113,9 @@ function do_checkin() fi pushd "$directory" &>/dev/null local retval=0 # normally successful. - if [ -d "CVS" ]; then + if [ -f ".no-checkin" ]; then + echo "Not checking in because found .no-checkin sentinel file." + elif [ -d "CVS" ]; then cvs ci . retval=$? elif [ -d ".svn" ]; then @@ -163,7 +165,9 @@ function do_report_new local retval=0 # normally successful. # only update if we see a repository living there. - if [ -d ".svn" ]; then + if [ -f ".no-checkin" ]; then + echo "Not reporting mods because found .no-checkin sentinel file." + elif [ -d ".svn" ]; then # this action so far only makes sense and is needed for svn. bash $FEISTY_MEOW_SCRIPTS/rev_control/svnapply.sh \? echo retval=$?