[OCLUG-Tech] detecting subversion not connected

2013-07-17 Thread Prof J C Nash (U30A)
Hi, I've a small script to allow me to update a sort of diary log. The process is, in summary form, svn update gedit myfile svn -m put it back commit I'd like to detect a failure to connect on the update and/or commit stages so that I can do something that lets me locally save

Re: [OCLUG-Tech] detecting subversion not connected

2013-07-17 Thread Rob Echlin
Hi John, I tried a couple of commands with svn and they all seemed to return 0, including trying to svn add a non-existent file. So it looks like the normal shell script technique of checking $? as the next step after a command won't work. Subversion has API's for severalĀ  languages. Perl and