From ccef8a44d2eec804a4068badf70db29bb2480c86 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 10 2012 18:05:08 +0000 Subject: Update `Functions/Svn/svn_updateRepoChanges.sh' file. --- diff --git a/Scripts/Bash/Functions/Svn/svn_updateRepoChanges.sh b/Scripts/Bash/Functions/Svn/svn_updateRepoChanges.sh index bd006b8..fb01451 100755 --- a/Scripts/Bash/Functions/Svn/svn_updateRepoChanges.sh +++ b/Scripts/Bash/Functions/Svn/svn_updateRepoChanges.sh @@ -35,7 +35,14 @@ function svn_updateRepoChanges { local CHNGTOTAL=0 local LOCATION=$(cli_checkRepoDirSource "$1") - # Update working copy and retrive update output. + # Verify source location absolute path. It should point either to + # existent files or directories both under version control inside + # the working copy. Otherwise, if it doesn't point to an existent + # file under version control, finish the script execution with an + # error message. + cli_checkFiles ${LOCATION} -e --is-versioned + + # Update working copy and retrieve update output. cli_printMessage "`gettext "Bringing changes from the repository into the working copy"`" --as-banner-line UPDATEOUT=$(${SVN} update ${LOCATION} --quiet)