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

Re: RE: python client for svn?

From: Jörg Beyer <beyer_joerg_at_web.de>
Date: 2001-12-09 11:37:10 CET

"Barry Scott" <barry.alan.scott@ntlworld.com> schrieb am 08.12.01:
> I'm very interested in having Python and svn play together.
>
> I see a number of ways to do this:
>
> 1) An extension around the svn client library.

that's what I thought about, a python extension (a shared object,
that is loaded when someone does an import from python).

This way it would be on the same layer as the cmdline client,
not build on top of it.

> 2) run svn via a popen() and parse the result
> 3) run svn via a popen() but tell svn to output marshaled python objects

with the third solution you have to modify the cmdlient and keep
two outputs for each command uptodate (for humans and for programs).

> (1) avoids the parsing problem of (2) but will have to be updated each
> time the svn command changes. It has the advantage of being able to get
> at any and all features of the svn client library.
>
> (2) requires only python code, but has the parsing problem.
>
> (3) avoids the need to keep an extension in sync with the svn client library
> and removes the parsing problem that (2) suffers from.
>
    Joerg

______________________________________________________________________________
Die schönsten Ski-Regionen der Alpen - jetzt bei Ferienklick.de
http://ferienklick.de/ski/?PP=2-5-100-105-38

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:51 2006

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

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