So I’m looking to implement a wrapper for SVN in C#, I’m wondering what is the best way to interact with the SVN backend through the wrapper application.
Any suggestions?
The first thing that came through my head was directly using shell to manipulate SVN. Just wondering if there are alternative methods 🙂
Thanks!
You could take a look at SubversionSharp which is a C# implementation if the SVN client side API. For any other language, I’d take the same approach: see if a native implementation of the protocol is already available. If yes, use it. If not, see if the protocol is well enough documented to implement it yourself. Only if that is not the case, or time is really scarce, fall back to wrapping the command-line client.