projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of feistymeow.org:feisty_meow
[feisty_meow.git]
/
scripts
/
rev_control
/
rcheckin.sh
diff --git
a/scripts/rev_control/rcheckin.sh
b/scripts/rev_control/rcheckin.sh
index 1c5400fb8562105a439673c01efc0136652e8871..dc05cf47e1c8655461a9aea134d01d30405e2d5c 100644
(file)
--- a/
scripts/rev_control/rcheckin.sh
+++ b/
scripts/rev_control/rcheckin.sh
@@
-7,6
+7,8
@@
source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
+save_terminal_title
+
##############
dir="$1"; shift
##############
dir="$1"; shift
@@
-15,11
+17,12
@@
if [ -z "$dir" ]; then
fi
pushd "$dir" &>/dev/null
fi
pushd "$dir" &>/dev/null
-
test_or_die
"changing to directory: $dir"
+
exit_on_error
"changing to directory: $dir"
tempfile=$(generate_rev_ctrl_filelist)
tempfile=$(generate_rev_ctrl_filelist)
-
test_or_die
"generating revision control file list"
+
exit_on_error
"generating revision control file list"
popd &>/dev/null
popd &>/dev/null
-perform_revctrl_action_on_file "$tempfile" do_checkin
-
test_or_die
"doing a check-in on: $tempfile"
+perform_revctrl_action_on_file "$tempfile" do_
revctrl_
checkin
+
exit_on_error
"doing a check-in on: $tempfile"
+restore_terminal_title