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

Re: What are the python bindings?

From: Luke Imhoff <luke_at_cray.com>
Date: Mon, 04 Aug 2008 08:14:43 -0500

The bindings may have changed since the last time I looked at them and
decided on pysvn, but it used to be that the python bindings that came
with subversion were very much C wrapped in Python. That is to say,
even though you're in python you have to do very C like things like
manually pass around memory pools, etc. pysvn is much more pythonic,
but the python bindings give you fill access to the C API. I'm not sure
if they'd actually translate the relative externals for you though since
that depends if the translating function is accessible in the C API or
if it's buried in the other functions (or not exported) that actually
need the URLs translated.

On Fri, 2008-08-01 at 18:18 -0500, Robert Dailey wrote:
> Hi,
> Currently I'm using pysvn to create a script to automatically create
> tags. However, I'm finding it is difficult to work with svn:externals
> properties in pysvn because I basically have to parse the externals
> myself. In addition, I don't think pysvn supports relative external
> links, like ones that begin with ^. These relative URLs into the
> repository would need to be converted into absolute ones somehow.
> I noticed that there are python bindings for SVN 1.5.1, however I have
> found no documentation on what exactly these bindings do, or what
> exactly they're wrapping. Is there reference documentation anywhere?
> I'm basically curious if these python bindings can shine where pysvn
> is failing. I don't want to parse svn:externals myself, and I most
> certainly need to be able to resolve relative URLs into the
> repository. Help is appreciated.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-04 15:15:24 CEST

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.