X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Frcheckin.sh;h=dc05cf47e1c8655461a9aea134d01d30405e2d5c;hb=20e1a09bf9e638bbccf8a5169bc7a969ce1d7f3a;hp=cfb72c294e384f1fc49f6ba1833cdaf732ba5f7b;hpb=ba3dab0632f2eedfce6f724d76a9c967ccb9fe90;p=feisty_meow.git diff --git a/scripts/rev_control/rcheckin.sh b/scripts/rev_control/rcheckin.sh index cfb72c29..dc05cf47 100644 --- a/scripts/rev_control/rcheckin.sh +++ b/scripts/rev_control/rcheckin.sh @@ -4,17 +4,25 @@ # current 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_checkin +perform_revctrl_action_on_file "$tempfile" do_revctrl_checkin +exit_on_error "doing a check-in on: $tempfile" +restore_terminal_title