X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Frev_report_new.sh;h=224b1dfb703ee4052898f0859d0e310df42b4800;hb=e603a8e96ad90207f2894e5fe45e04c7cce2fffc;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..224b1dfb 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,12 @@ if [ -z "$dir" ]; then dir=. fi +source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" +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