I'm creating a bash script that does checkouts for me using whiptail. I've got it all working but I'd like to check if i can reach svn before showing a menu etc.
Currently I'm going to do svn ls svn://host and check if the responce is equals svn: Unknown hostname 'host'. if so exit / show msg.
Is there a better way to do this using shell commands?