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

RE: python client for svn?

From: Barry Scott <barry.alan.scott_at_ntlworld.com>
Date: 2001-12-08 13:26:22 CET

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.
2) run svn via a popen() and parse the result
3) run svn via a popen() but tell svn to output marshaled python objects

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

        BArry

> -----Original Message-----
> From: J�rg Beyer [mailto:beyer_joerg@web.de]
> Sent: 08 December 2001 10:51
> To: svn-dev
> Subject: python client for svn?
>
>
> Hi,
>
> I am thinking about a svn python client. All I saw is the old mailing
> list from april. Has anybody thought about a python extension that ypu could
> do thinks like this:
>
> --- python code ---
>
> import svnclient
>
> myclient = svnclient("http//svn.myrepository.org")
> s = myclient.status("/path/to/some/file")
> ...
> myclient.update("/path/to/another/file")
> ...
> myclient.import("/path/to/something/comletly different")
> --- python code ---
>
> as you might have guessed, this is just to get the idea, not to fix an api.
>
> has anybody done any work on this, or has there been a diskussion
> whether this will work or not?
> yours
> Joerg
> ______________________________________________________________________________
> Lotto online tippen! Egal zu welcher Zeit, egal von welchem Ort.
> Mit dem WEB.DE Lottoservice. http://tippen2.web.de/?x=5
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

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