X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Frgetem.sh;h=529fae19b59e8e363602dd716222b1d419fc5d29;hb=4e0d105164d48387cb49d71a695bfed9a94b8221;hp=6e096279951bbde23b26f24fed54d6c1b7e18da1;hpb=ba3dab0632f2eedfce6f724d76a9c967ccb9fe90;p=feisty_meow.git diff --git a/scripts/rev_control/rgetem.sh b/scripts/rev_control/rgetem.sh index 6e096279..529fae19 100644 --- a/scripts/rev_control/rgetem.sh +++ b/scripts/rev_control/rgetem.sh @@ -4,17 +4,26 @@ # working directory. all the directories under the passed directory will # be examined. +source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" +source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh" + +save_terminal_title + +############## + dir="$1"; shift 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 +exit_on_error "changing to directory: $dir" tempfile=$(generate_rev_ctrl_filelist) +exit_on_error "generating revision control file list" popd &>/dev/null -perform_revctrl_action_on_file "$tempfile" do_update +perform_revctrl_action_on_file "$tempfile" do_revctrl_simple_update +exit_on_error "running revision control update" + +restore_terminal_title