[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 01:07:07 CET

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

> SVN::Client works fine, but it's also a little unclear on how to get
> svn:log props for each dirent returned from ->ls without making seperate
> calls to get_prop for each item when looping through them.

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
bit easier to solve your problem if you explain exactly what you're
trying to do though.

> At this point, I've be a little more productive just parsing the cmd
> line client output. :-/

Well, there's nothing wrong with that (heck, we even provide the --xml
switch so you can get a parseable format), although if you do try to
do it via the perl API I'm sure patches to improve its documentation
would be more than welcome.

-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 01:09:20 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.