title: How can I get revision number from a remote SVN repository, using SVNKit and Java / Groovy?
body: <p>I thought the basic answer to my question was here:
  <a href="https://stackoverflow.com/questions/5263995/grails-add-svn-revision-to-app-version">grails add svn revision to app.version</a></p>
  
  <p>but it turned out that 'baseDir' has to be a physical file location and not a url -  or so it seemed.</p>
  
  <p>Can anyone direct me to an example using a remote repository, that doesn't require a userid/pswd?</p>
  
  <p>I have this working by issuing 'svn info <em>url</em>', but this seems a bit fragile to me. I spent maybe two hours yesterday evening searching and trying things, but without success. I can't help feeling that the solution is probably quite close to the example in the link.</p>
  
  <p>Regards, John</p>