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

svn client admin directory question

From: Tolga Erdogus <tolga_erdogus_at_yahoo.com>
Date: 2005-05-02 20:56:34 CEST

Hi,

 

I am trying to integrate some svn functionality in another program, which is
written in .NET C#. There are some server side hooks that I need to write
as well as client side code.

 

I have played around with the following approaches:

1) Using one of the C# svn API wrappers out there. There has been
some excellent work done out there, but I decided to take a pass on using
one of these wrappers, primarily because of cross-platform and maintenance
issues.

2) Parsing svn, svnadmin and svnlook command line outputs and
creating a virtual API. This works really well, but I am not too fond of
this either, because of the nature of having spawn off multiple background
processes to get the information.

 

I am probably going to end up going with 2), but I was wondering a couple of
things:

1) Is there anybody out there that has found a better way to do
this? By better, I mean and maintainable, fast ?

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?

3) Is all the information that I could get from svnadmin and svnlook
kind of commands store in the admin directory and available for me to read?
Or is there some information that is computed or stored some other place?

 

Thanks
Received on Mon May 2 20:59:08 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.