From f5ac99f3f660fab53a97024ef6c568ddf1553b59 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 20 2011 14:42:25 +0000 Subject: Update `cli_commitRepoChanges.sh': - Start using `cli_isVersioned' to prevent locations outside version control from being process as if they were under version control. --- diff --git a/Scripts/Functions/cli_commitRepoChanges.sh b/Scripts/Functions/cli_commitRepoChanges.sh index fa9c4ba..9f878e0 100755 --- a/Scripts/Functions/cli_commitRepoChanges.sh +++ b/Scripts/Functions/cli_commitRepoChanges.sh @@ -61,6 +61,12 @@ function cli_commitRepoChanges { # files, so we need to differentiate them using their locations. for LOCATION in $LOCATIONS;do + # Process location if it is under version control only. + if [[ ! $(cli_isVersioned $LOCATION) ]];then + continue + fi + + # Process location based on its path information. if [[ $LOCATION =~ 'trunk/Manuals' ]];then STATUSOUT="$(svn status ${LOCATION} | egrep -v '(pdf|txt|xhtml)$')\n$STATUSOUT" elif [[ $LOCATION =~ 'trunk/Identity' ]];then