I am writing a script which will add a new project in the repository, based on the name supplied by the user. Part of this involves checking that an url with the same name does
Like @A Scott says, the echo $? can't be used to know wether the URL is correct (I'm on Mac OS 10.11 and SVN client 1.9.5).
echo $?
For potential future readers, i use this workaround :
content=$(svn info $SVN_TAG_URL) if [[ -z $content ]]; then echo "The SVN URL doesn't exist"; exit fi