[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: Christopher H. Laco <claco_at_chrislaco.com>
Date: 2005-10-31 01:49:08 CET

Hash: SHA1

Garrett Rooney wrote:
> On 10/30/05, Christopher H. Laco <claco@chrislaco.com> wrote:
>>>Well, ->ls should give you the last changed revision, so that should
>>>be enough to use ->log to get you the log. I suspect it might be a
>>Where's that log method? on each dirent returned?
>>svn_dirent_t appears to only have:
>>kind, size, has_props, created_Rev, time, last_author... no log.
>>package _p_svn_dirent_t inherits Core, but it's not clear to me what
>>Core has really...
> SVN::Client should have a log method of some sort.

Yeah it does. But that seems to imple that while looping through a list
of items, I need to call log(itempath, itemrev, itemrev) on each one to
get it's last log.

If I have 100 items, that 100 more calls to the repo. That's can't be fast.

I could also call log([all,items,paths]), but what do I put in start/end
revision params since each item has a differen rev number?

> 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?

- -=Chris
Version: GnuPG v1.4.1 (GNU/Linux)


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