X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Frev_report_new.sh;h=2197346d134b3dbbdcffb789f2b1b8ffc5ca6b58;hb=8b5da5ba39bcada64b7853cde4f48b754273fe02;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..2197346d 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,9 @@ if [ -z "$dir" ]; then dir=. fi -pushd "$dir" &>/dev/null +source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh" + +tempfile=$(generate_rev_ctrl_filelist) -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_action_on_file "$tempfile" do_report_new -popd &>/dev/null