SVN command that returns wether a user has a valid login for a repository?

Posted by Zárate on Super User See other posts from Super User or by Zárate
Published on 2010-06-18T12:55:04Z Indexed on 2010/06/18 13:03 UTC
Read the original article Hit count: 277

Filed under:
|

Hi there,

I'm trying to find out an SVN command that would return some kind of true / false value depending on wether the user running it has access to a given repository.

I'm building a tool for automated deployment and part of the process is checking out the code from the SVN repository. I'd like to find out if the user running the tool has a valid login already. If there's no valid login, just show a message and exit the tool (handling the SVN login internally is not an option at the moment).

Plan B would be parsing the file in svn.simple looking for the repo URL, but thought about asking first.

Thanks,

Juan

© Super User or respective owner

Related posts about login

Related posts about svn