By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,908 Members | 2,055 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,908 IT Pros & Developers. It's quick & easy.

Python svn bindings for Subversion?

P: n/a
I'm trying to get Subversion 'hook scripts' working on an Ubuntu box and the
following fails.

from svn import fs, repos, core, delta

As far as I can tell there are two Python Subversion libraries, 'pysvn' and
'svn':
'pysvn' from http://pysvn.tigris.org/ appears to be a client side interface and
isn't what I need.
'svn' appears to be a SWIG wrapper and could be what I'm looking for, but I
cannot find it anywhere.

Can anyone point me in the right direction.

Thanks

Mike
Aug 28 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Mike B <someone@noplacewrites:
I'm trying to get Subversion 'hook scripts' working on an Ubuntu box and the
following fails.

from svn import fs, repos, core, delta

As far as I can tell there are two Python Subversion libraries, 'pysvn' and
'svn':
'pysvn' from http://pysvn.tigris.org/ appears to be a client side interface and
isn't what I need.
'svn' appears to be a SWIG wrapper and could be what I'm looking for, but I
cannot find it anywhere.

Can anyone point me in the right direction.
Check this:
http://svn.collab.net/repos/svn/trun...s/swig/python/

HTH,
Rob
Aug 28 '08 #2

P: n/a
Mike B writes:
I'm trying to get Subversion 'hook scripts' working on an Ubuntu box and the
following fails.

from svn import fs, repos, core, delta
[...]
'svn' appears to be a SWIG wrapper and could be what I'm looking for, but I
cannot find it anywhere.

Can anyone point me in the right direction.

It's maintained as part of the main Subversion distribution.

http://svn.collab.net/viewvc/svn/tru...bindings/swig/

In Ubuntu, it should be in the python-subversion package.

-M-
Aug 28 '08 #3

P: n/a
On Thu, 28 Aug 2008 19:58:10 GMT, Matthew Woodcraft <ma*****@woodcraft.me.uk>
wrote:
>Mike B writes:
>I'm trying to get Subversion 'hook scripts' working on an Ubuntu box and the
following fails.

from svn import fs, repos, core, delta
[...]
>'svn' appears to be a SWIG wrapper and could be what I'm looking for, but I
cannot find it anywhere.

Can anyone point me in the right direction.


It's maintained as part of the main Subversion distribution.

http://svn.collab.net/viewvc/svn/tru...bindings/swig/

In Ubuntu, it should be in the python-subversion package.
That fixed it.

Thanks

Mike
Aug 29 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.