From 875c8835a7638c4fe0ff87051ea2b9c22593e031 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 13 2012 17:04:54 +0000 Subject: Update `Functions/Svn/svn_deleteRepoFile.sh' file. --- diff --git a/Scripts/Bash/Functions/Svn/svn_deleteRepoFile.sh b/Scripts/Bash/Functions/Svn/svn_deleteRepoFile.sh index 45a4e6a..b153786 100644 --- a/Scripts/Bash/Functions/Svn/svn_deleteRepoFile.sh +++ b/Scripts/Bash/Functions/Svn/svn_deleteRepoFile.sh @@ -31,8 +31,8 @@ function svn_deleteRepoFile { # Print action reference. cli_printMessage "${TARGET}" --as-deleting-line - # Verify target existence. - cli_checkFiles -e ${TARGET} + # Verify target existence. Be sure it is under version control. + cli_checkFiles "${TARGET}" --is-versioned # Revert changes before deleting related files. ${SVN} revert ${TARGET} --quiet --recursive