Subversion interaction

Jul 23, 2010 at 5:42pm
Hello,

I looking for a general direction to go. I have been tasked recently with editing one of the companies tools so that when a file is opened in it, that file is also checked out from the source control repository so the write-lock is removed and edits can be saved locally.

I was looking at MSSCCI for this, but its a visual studio interface and documentation on how you could even start to use it outside of VS is nill. I found one thread on the Visual Studio forums about it and the MS rep replied "MSSCCI is meant to interface with Visual studio, it is not designed for and there are no examples on how to integrate it into your own projects."

Does anyone know of a library, interface or approach that can be taken that can grant a program access to an repository?
Last edited on Jul 29, 2010 at 4:58pm
Jul 23, 2010 at 6:04pm
I've heard of totoise svn client.
http://tortoisesvn.tigris.org/
Jul 23, 2010 at 8:31pm
We already have a source control client. I need to know if theres a way to programmatically access and check out things from the repository via my app. Im sure theres some registry magic going on somewhere that I can tap into to do what I need. I was just hoping someone out there had some sort of experience with this and could point me in the right direction.
Last edited on Jul 29, 2010 at 4:58pm
Jul 23, 2010 at 9:20pm
Can't you just pass commands to the SVN client you already have, instead of basically writing a new one? I think it would be much faster.
Jul 24, 2010 at 12:16am
Maybe this is what you are after:

http://svnbook.red-bean.com/en/1.1/ch08s02.html

Jul 25, 2010 at 1:49am
The repository I am trying to access is Surround SCM (http://www.seapine.com/surroundscm.html)

It does have CLI, so I imagine there is a round about way I can invoke a hidden console and do what I need to do with command lines.

@Galik,
What I am gathering from your link is that there are headers somewhere on all of the workstations using the SVN that allow access to its functionality. That would be EXACTLY what I am looking for, as long as surround has something comparable. Its the weekend now so I cant look for them until Monday. But I didn't find anything mentioning that in the Surround documentation or forums. All thats mentioned there is MSSCCI, which is what started my headache in the first place.

I guess i'll just experiment with the command line route if I cant locate those headers. Really seems like there should be a more elegant way to do this though.
Last edited on Jul 29, 2010 at 5:00pm
Jul 25, 2010 at 8:49am
This suggets you can get the headers whith the source code:
http://www.collab.net/community/subversion/svnbook/svn.developer.usingapi.html

Here is the API docs, I expect you can build a local copy of this from the source code:
http://subversion.apache.org/docs/api/latest/
Last edited on Jul 25, 2010 at 8:49am
Topic archived. No new replies allowed.