+function do_report_new
+{
+ local directory="$1"; shift
+ pushd "$directory" &>/dev/null
+ local retval=0 # normally successful.
+
+ # only update if we see a repository living there.
+ if [ -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=$?
+ elif [ -d ".git" ]; then
+ git status -u
+ retval=$?
+ fi
+
+ popd &>/dev/null
+ return $retval
+}