[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn client admin directory question

From: Kyle Kline <kyle.kline_at_gmail.com>
Date: 2005-05-02 21:28:36 CEST

I don't think I adequately described the solution earlier --
Using the javahl libraries basically does this -- instead ofJava-[JNI]->SVN-C, the IKVM.NET converter makes it run like: C#-[PInvoke]-SVN-C. And the javahl API's are much more friendly thethe C api's.
If you were coding C# straight to the SVN C APIs, this is how youwould do it -- but being able to directly use another high-level APIset to do it is much faster & easier to maintain.
-Kyle
On 5/2/05, Ben Collins-Sussman <sussman@collab.net> wrote:> > On May 2, 2005, at 1:56 PM, Tolga Erdogus wrote:> >> > 1) Is there anybody out there that has found a better way to> > do this? By better, I mean and maintainable, fast ?> > I've not used C# yet, but I'm told that it's supposed to be *really*> easy to access C library APIs, much easier than JNI. Why not just use> Subversion's C API's directly? They've been designed for exactly this> purpose: to be easily callable from many different languages.> > > > 2) (Using an FSFS repo) is it an absolutely unrecommended> > thing to parse the files in the clientside and repository side admin> > directories? I am not going to write anything, just read. I am> > hoping that this will be a lot quicker… If this is something that is> > ok to do, where would I find information describing the format and> > contents of the of the db directory?> > We have C APIs to do this. Why are you going to reinvent the wheel? I> pray that C# doesn't suffer from the same sort of
 "must reimplement all> the world's code in C#" mentality that "100% java" people chant. C> *is* portable. And interfaceable. That's why we chose it.> > ---------------------------------------------------------------------> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org> For additional commands, e-mail: users-help@subversion.tigris.org> >
Received on Mon May 2 21:37:15 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.