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