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

getting properties via perl bindings

From: Karl Hasselström <kha_at_treskal.com>
Date: 2006-02-14 02:50:01 CET

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?

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 14 02:50:29 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.