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

Re: Perl equiv for 'svn info http://example.com/repos'?

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-10-31 02:39:11 CET

On 10/30/05, Christopher H. Laco <claco@chrislaco.com> wrote:

> > Well, unfortunately, I don't think you can actually get that data
> > without doing a bunch of calls to the repos.
>
> I was getting that impression. It's not a major requirement, but it
> would be nice.
>
> >
> > Note that most repository viewer software uses the libsvn_repos and
> > libsvn_fs APIs, not the libsvn_client and libsvn_ra APIs. It's much
>
> OK, I'll bite. What's the difference between the first two, and the last
> two in the big picture? Don't the first two imply that the repos viewer
> is on the same machine as the repo itself?
>
> Does SVN::Repos fall into that?

libsvn_client is the C level library that corresponds to the perl
module SVN::Client. libsvn_ra is the C level library that corresponds
to SVN::Ra. Both of these generally communicate with the repository
over the network.

libsvn_repos and libsvn_fs are the C level libraries for talking
directly to a repository (in Perl that's SVN::Repos and SVN::Fs), they
give you a different kind of API, one that lets you do a lot of the
kind of things you're trying to do, but yes, you do have to be on the
same machine as the repository itself.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 31 02:41:24 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.