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

Re: SVN Python questions and suggestions

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2003-10-04 13:00:58 CEST

At 03-10-2003 02:15, Greg Stein wrote:
>On Thu, Oct 02, 2003 at 07:19:07PM +0100, Barry Scott wrote:
> > What would be really cool is that I could do:
> >
> > import svn
> >
> > list = svn.ls( 'http://x/repos/foo' )
> >
> > list = svn.status( r'c:\workspace\svn' )
>
>We could add a few, key functions/classes into the svn/__init__.py module
>to do stuff like this.
>
> > Of course this overlooks the problem of the options on each command.
>
>Keyword arguments, my boy... keyword arguments.

The other way might be to make svn.ls a class and be able to set options
with set methods. I'm hungry to prototype this once the binding work
enough. Does python
version of svn.exe interest you? That's what I aiming to build so that I get
all the building blocks for doing everything with svn from python that is
useful.
Then I can go and build high level tools up top of svn.

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 4 13:02:05 2003

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.