[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: scripting support with python bindings

From: Micah Elliott <mde_at_MicahElliott.com>
Date: 2007-11-16 18:06:36 CET

On 2007-11-16 Hartwig, Andreas wrote:

> I would like to write some tools and hooks in Python. I
> installed the SVN Python bindings and checked around a bit. ...
>
> Now I miss something to read about SVN.core SVN.fs SVN.delta
> and SVN.repos. There are so many classes and methods and I
> don't know how to deal with all that.
>
> Do you know a good starting point for Python scripting in
> Subversion ?

You might prefer pysvn over the subversion-provided Python
bindings. The best starting point is probably the Programmer's
Guide:

    http://pysvn.tigris.org/docs/pysvn_prog_guide.html

pysvn's features:

    * Supports all svn client features
    * Supports svn transaction features required to write svn
      pre-commit hooks
    * Easy to learn and use
    * Python like interface
    * Good Documentation and examples
    * No need to understand the Subversion C API

-- 
                          _ _     ___
                          |V|icah |- lliott
                          " "     """
mde_at_MicahElliott.com            <><             http://MicahElliott.com
PGP: 0x7C07CBF0          ICQ: 369060435      Linux/Ubuntu: 417195/12440
HackerKey: v4sw6YUPCJhw5ln5pr7OPck2ma9u8Lw3m5l6Ui2e7t3b8LDMOen6a3XsMRr5

Received on Fri Nov 16 18:07:26 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.