From: Fred T. Hamster Date: Sat, 24 May 2014 14:07:17 +0000 (-0400) Subject: better naming for revision control action method. X-Git-Tag: 2.140.90~788 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=353fe4c43fb44e59e07658cbd66311c70d9b9f3e;p=feisty_meow.git better naming for revision control action method. --- diff --git a/scripts/rev_control/rev_checkin.sh b/scripts/rev_control/rev_checkin.sh index ec00deec..808f21a7 100644 --- a/scripts/rev_control/rev_checkin.sh +++ b/scripts/rev_control/rev_checkin.sh @@ -15,5 +15,5 @@ pushd "$dir" &>/dev/null tempfile=$(generate_rev_ctrl_filelist) popd &>/dev/null -perform_action_on_file "$tempfile" do_checkin +perform_revctrl_action_on_file "$tempfile" do_checkin diff --git a/scripts/rev_control/rev_diff.sh b/scripts/rev_control/rev_diff.sh index f09d72b1..9f04b069 100644 --- a/scripts/rev_control/rev_diff.sh +++ b/scripts/rev_control/rev_diff.sh @@ -15,5 +15,5 @@ pushd "$dir" &>/dev/null tempfile=$(generate_rev_ctrl_filelist) popd &>/dev/null -perform_action_on_file "$tempfile" do_diff +perform_revctrl_action_on_file "$tempfile" do_diff diff --git a/scripts/rev_control/rev_report_new.sh b/scripts/rev_control/rev_report_new.sh index 34414ac7..1d0aeaad 100644 --- a/scripts/rev_control/rev_report_new.sh +++ b/scripts/rev_control/rev_report_new.sh @@ -16,5 +16,5 @@ pushd "$dir" &>/dev/null tempfile=$(generate_rev_ctrl_filelist) popd &>/dev/null -perform_action_on_file "$tempfile" do_report_new +perform_revctrl_action_on_file "$tempfile" do_report_new diff --git a/scripts/rev_control/rev_update.sh b/scripts/rev_control/rev_update.sh index b79dc8e9..d4fa6e48 100644 --- a/scripts/rev_control/rev_update.sh +++ b/scripts/rev_control/rev_update.sh @@ -15,5 +15,5 @@ pushd "$dir" &>/dev/null tempfile=$(generate_rev_ctrl_filelist) popd &>/dev/null -perform_action_on_file "$tempfile" do_update +perform_revctrl_action_on_file "$tempfile" do_update diff --git a/scripts/rev_control/version_control.sh b/scripts/rev_control/version_control.sh index e004964a..8314be5e 100644 --- a/scripts/rev_control/version_control.sh +++ b/scripts/rev_control/version_control.sh @@ -270,7 +270,7 @@ function generate_rev_ctrl_filelist() # iterates across a list of directories contained in a file (first parameter). # on each directory name, it performs the action (second parameter) provided. -function perform_action_on_file() +function perform_revctrl_action_on_file() { local tempfile="$1"; shift local action="$1"; shift