From f545103ddcccda8e2e1845ada781f091b918b920 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Mar 01 2011 16:11:51 +0000 Subject: Update _getActions.sh files: - The flow use to syncronize repository was change to: 1. cli_syncroRepoChanges (update, status, diff, commit) 2. Do something ... 3. cli_commitRepoChanges (status, diff, commit) Since some actions could involved deleting files, realize an update after do something is not convenient since subversion would bring the files deleted as unversioned back to the working copy. So, leave update action at the begining only. This forces to commit all changes made in the workgin copy before do anything over it. --- diff --git a/Scripts/Bash/centos-art/Functions/Html/html_getActions.sh b/Scripts/Bash/centos-art/Functions/Html/html_getActions.sh index dc29888..6cd746d 100755 --- a/Scripts/Bash/centos-art/Functions/Html/html_getActions.sh +++ b/Scripts/Bash/centos-art/Functions/Html/html_getActions.sh @@ -67,7 +67,7 @@ function html_getActions { # Syncronize changes between the working copy and the central # repository to bring down changes. - cli_commitRepoChanges + cli_syncroRepoChanges # Execute action name. if [[ $ACTIONNAM =~ "^${FUNCNAM}_[A-Za-z]+$" ]];then diff --git a/Scripts/Bash/centos-art/Functions/Identity/identity_getActions.sh b/Scripts/Bash/centos-art/Functions/Identity/identity_getActions.sh index ba02548..1daa39e 100644 --- a/Scripts/Bash/centos-art/Functions/Identity/identity_getActions.sh +++ b/Scripts/Bash/centos-art/Functions/Identity/identity_getActions.sh @@ -131,7 +131,7 @@ function identity_getActions { # Syncronize changes between the working copy and the central # repository to bring down changes. - cli_commitRepoChanges + cli_syncroRepoChanges # Execute action name. if [[ $ACTIONNAM =~ "^${FUNCNAM}_[A-Za-z]+$" ]];then diff --git a/Scripts/Bash/centos-art/Functions/Locale/locale_getActions.sh b/Scripts/Bash/centos-art/Functions/Locale/locale_getActions.sh index 68b2699..5e96715 100644 --- a/Scripts/Bash/centos-art/Functions/Locale/locale_getActions.sh +++ b/Scripts/Bash/centos-art/Functions/Locale/locale_getActions.sh @@ -104,7 +104,7 @@ function locale_getActions { # Syncronize changes between the working copy and the central # repository to bring down changes. - cli_commitRepoChanges "${WORKDIR}" + cli_syncroRepoChanges "${WORKDIR}" # Execute action name. if [[ $ACTIONNAM =~ "^${FUNCNAM}_[A-Za-z]+$" ]];then diff --git a/Scripts/Bash/centos-art/Functions/Path/path_getActions.sh b/Scripts/Bash/centos-art/Functions/Path/path_getActions.sh index 7504f68..c63f2e2 100755 --- a/Scripts/Bash/centos-art/Functions/Path/path_getActions.sh +++ b/Scripts/Bash/centos-art/Functions/Path/path_getActions.sh @@ -100,7 +100,7 @@ function path_getActions { # Syncronize changes between the working copy and the central # repository to bring down changes. - cli_commitRepoChanges "${ACTIOVAL} ${FLAG_TO}" + cli_syncroRepoChanges "${ACTIOVAL} ${FLAG_TO}" # Execute action name. if [[ $ACTIONNAM =~ "^${FUNCNAM}_[A-Za-z]+$" ]];then diff --git a/Scripts/Bash/centos-art/Functions/Shell/shell_getActions.sh b/Scripts/Bash/centos-art/Functions/Shell/shell_getActions.sh index c55606f..3f50c91 100755 --- a/Scripts/Bash/centos-art/Functions/Shell/shell_getActions.sh +++ b/Scripts/Bash/centos-art/Functions/Shell/shell_getActions.sh @@ -69,7 +69,7 @@ function shell_getActions { # Syncronize changes between the working copy and the central # repository to bring down changes. - cli_commitRepoChanges + cli_syncroRepoChanges # Execute action name. if [[ $ACTIONNAM =~ "^${FUNCNAM}_[A-Za-z]+$" ]];then diff --git a/Scripts/Bash/centos-art/Functions/Svg/svg_getActions.sh b/Scripts/Bash/centos-art/Functions/Svg/svg_getActions.sh index 62c5588..bca9556 100755 --- a/Scripts/Bash/centos-art/Functions/Svg/svg_getActions.sh +++ b/Scripts/Bash/centos-art/Functions/Svg/svg_getActions.sh @@ -81,7 +81,7 @@ function svg_getActions { # Syncronize changes between the working copy and the central # repository to bring down changes. - cli_commitRepoChanges + cli_syncroRepoChanges # Execute action name. if [[ $ACTIONNAM =~ "^${FUNCNAM}_[A-Za-z]+$" ]];then