now can add a .no-checkin file at the top of a repository (svn, git, etc) and if that file is found, then the repository will not be checked in or have changes reported by our tools. this is crucial for checking out others repos that we don't intend to modify.
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
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=$?