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

Re: getting properties via perl bindings

From: <kfogel_at_collab.net>
Date: 2006-02-14 19:20:39 CET

Karl Hasselström <kha@treskal.com> writes:
> I'm trying to extend git's Subversion import tool by making it
> recognize the svn:executable and svn:ignore properties. (It currently
> disregards properties altogether.) It's written in perl, and uses the
> SVN::Ra module.
>
> But. I can find exactly one way to get file and directory properties
> via ra, and that is svn_ra_get_file and svn_ra_get_dir. These are only
> partially wrapped in SVN:Ra; in particular, there is no way to not
> pass a NULL props argument, which means no property hash.
>
> It is possible to use the prop* methods in SVN::Client instead, but
> that is unusably slow since it sets up a new connection to the server
> for every operation.
>
> Is there a way to get the properties reasonably quickly, or am I out
> of luck with the current state of the bindings?

I don't know much about the state of the Perl bindings, but it does
sound like they lack what you need here. I can't think of any better
API for getting the properties. (Have you investigated improving the
bindings? I don't know how hard that would be.)

Good luck,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 14 21:03:44 2006

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

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