On Mon, Aug 4, 2008 at 8:14 AM, Luke Imhoff <luke_at_cray.com> wrote:
> 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.
Well right now pysvn doesn't seem to have a way to parse relative external
paths. Basically, I need to take a path that looks like "^/foo/bar" and
change it to absolute, like "svn://myserver/foo/bar". I'm doing this in
Python, by the way. Do the python bindings have a way of doing this? I asked
about this issue in the pysvn mailing list and they said to check out
svn_wc, but I'm not sure what that is. Help is appreciated.
Received on 2008-08-04 18:02:13 CEST