X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Frev_report_new.sh;h=1d0aeaad720867a32df164dd4f4ac41dbe44daf6;hb=a5bb115313d0e3fc896b0b5a6746f3900ab999fb;hp=cac32b6fa06df7ddc87607e893733b13f2eade7d;hpb=effad3771ed1c45241578a2b075e4cdd0887209a;p=feisty_meow.git diff --git a/scripts/rev_control/rev_report_new.sh b/scripts/rev_control/rev_report_new.sh index cac32b6f..1d0aeaad 100644 --- a/scripts/rev_control/rev_report_new.sh +++ b/scripts/rev_control/rev_report_new.sh @@ -1,5 +1,4 @@ #!/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 @@ -11,19 +10,11 @@ if [ -z "$dir" ]; then 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