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