467,921 Members | 1,294 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,921 developers. It's quick & easy.

Python svn bindings for Subversion?

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
  • viewed: 5730
Share:
3 Replies
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
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
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.

Similar topics

4 posts views Thread by Logan | last post: by
9 posts views Thread by John Smith | last post: by
1 post views Thread by Arthur Chereau | last post: by
2 posts views Thread by riklaunim | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.