From 353fe4c43fb44e59e07658cbd66311c70d9b9f3e Mon Sep 17 00:00:00 2001 From: "Fred T. Hamster" Date: Sat, 24 May 2014 10:07:17 -0400 Subject: [PATCH] better naming for revision control action method. --- scripts/rev_control/rev_checkin.sh | 2 +- scripts/rev_control/rev_diff.sh | 2 +- scripts/rev_control/rev_report_new.sh | 2 +- scripts/rev_control/rev_update.sh | 2 +- scripts/rev_control/version_control.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.34.1