473,406 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 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 6083
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.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.