Re: Python svn bindings for Subversion?

2008-08-29 Thread Mike B
On Thu, 28 Aug 2008 19:58:10 GMT, Matthew Woodcraft <[EMAIL PROTECTED]>
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/trunk/subversion/bindings/swig/
>
>In Ubuntu, it should be in the python-subversion package.
>
That fixed it.

Thanks

Mike
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python svn bindings for Subversion?

2008-08-28 Thread Matthew Woodcraft
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/trunk/subversion/bindings/swig/

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

-M-
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python svn bindings for Subversion?

2008-08-28 Thread Rob Wolfe
Mike B <[EMAIL PROTECTED]> 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
>
> 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/trunk/subversion/bindings/swig/python/

HTH,
Rob
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python svn bindings for Subversion?

2008-08-28 Thread Benjamin Kaplan
On Thu, Aug 28, 2008 at 11:22 AM, Mike B <[EMAIL PROTECTED]> wrote:

> 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
>

I think the python-subversion package is the swig wrapper.
--
http://mail.python.org/mailman/listinfo/python-list

Python svn bindings for Subversion?

2008-08-28 Thread Mike B
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

 
--
http://mail.python.org/mailman/listinfo/python-list