#!/bin/bash
-
# this script reports files that are not checked in yet in a set of folders.
# it works with subversion only, since git handles new files well whereas
# subversion ignores them until you tell it about them. this script can take
dir=.
fi
+source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
+
pushd "$dir" &>/dev/null
+tempfile=$(generate_rev_ctrl_filelist)
+popd &>/dev/null
-for i in * ; do
- if [ -d "$i" ]; then
- echo "[$i]"
- pushd $i &>/dev/null
- # only update if we see a repository living there.
- if [ -d ".svn" ]; then
- bash $FEISTY_MEOW_SCRIPTS/rev_control/svnapply.sh \? echo
- fi
- popd &>/dev/null
- echo "======="
- fi
-done
+perform_revctrl_action_on_file "$tempfile" do_report_new
-popd &>/dev/null