472,985 Members | 2,855 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,985 software developers and data experts.

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
3 6059
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Logan | last post by:
Several people asked me for the following HOWTO, so I decided to post it here (though it is still very 'alpha' and might contain many (?) mistakes; didn't test what I wrote, but wrote it - more or...
9
by: John Smith | last post by:
I am going to be working with some people on a project that is going to be done over the internet. I am looking for a good method of keeping everyone's code up to date and have everyone be able to...
1
by: Arthur Chereau | last post by:
Hi, I'm trying to setup viewcvs to work with subversion 1.2.0 on Linux with Python 2.4.1. The last viewcvs (from CVS) needs subversion python bindings. I installed swig and built subversion from...
3
by: patkinson | last post by:
Hello, I am one of those guys trying with no chance to get a working copy of TRAC for python 2.5 http://trac.edgewall.org/ is a superb Project managment tool with a wiki, control version...
2
by: riklaunim | last post by:
There is pySVN for subversion but does other revision control system systems have some good python bindings/apis ? with good docs and some examples.
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.