From 3036eae6643c170d180a51193bdf573081303a33 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Mar 08 2011 17:28:08 +0000 Subject: Update position of separator lines in cli_commitRepoChanges.sh. --- diff --git a/Scripts/Bash/Cli/Functions/cli_commitRepoChanges.sh b/Scripts/Bash/Cli/Functions/cli_commitRepoChanges.sh index 79ee27c..f774a50 100755 --- a/Scripts/Bash/Cli/Functions/cli_commitRepoChanges.sh +++ b/Scripts/Bash/Cli/Functions/cli_commitRepoChanges.sh @@ -108,13 +108,14 @@ function cli_commitRepoChanges { done - # Outout separator line. - cli_printMessage '-' 'AsSeparatorLine' - # In case new unversioned files exist, ask the user to add them # into the repository. This may happen when new documentation # entries are created. if [[ ${FILESNUM[1]} -gt 0 ]];then + + # Outout separator line. + cli_printMessage '-' 'AsSeparatorLine' + cli_printMessage "`ngettext "The following file is unversioned" \ "The following files are unversioned" ${FILESNUM[1]}`:" for FILE in ${FILES[1]};do @@ -129,6 +130,9 @@ function cli_commitRepoChanges { # commit them up to central repository. if [[ $CHNGTOTAL -gt 0 ]];then + # Outout separator line. + cli_printMessage '-' 'AsSeparatorLine' + # Verify changes. cli_printMessage "`gettext "Do you want to see changes now?"`" "AsYesOrNoRequestLine" svn diff ${FILES[*]} | less