You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by mb <ma...@post.rwth-aachen.de> on 2007/03/12 13:53:12 UTC

Using Python bindings to commit changes

Hi,

is there anywhere a tutorial on how to use the Python bindings to
commit changes.

I'm using the bindings succesfully to list, checkout, merge, revert
etc., but I haven't
found out how to commit these changes back into the repo.

Does anybody have en example application or some such, that could help
me along?

TIA
Max

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Using Python bindings to commit changes

Posted by mb <ma...@post.rwth-aachen.de>.
Thanks for the answers. This app was just what I was looking for.

-- Max

On 13 Mrz., 20:12, "David James" <j....@cs.toronto.edu> wrote:
> On 3/12/07, mb <ma...@post.rwth-aachen.de> wrote:
>
> > Hi,
>
> > is there anywhere a tutorial on how to use the Python bindings to
> > commit changes.
>
> > I'm using the bindings succesfully to list, checkout, merge, revert
> > etc., but I haven't
> > found out how to commit these changes back into the repo.
>
> > Does anybody have en example application or some such, that could help
> > me along?
>
> Sure. Take a look athttp://svn.collab.net/repos/svn/trunk/tools/examples/putfile.py
>
> This app should do what you need
>
> Cheers,
>
> David
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@subversion.tigris.org
> For additional commands, e-mail: dev-h...@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Using Python bindings to commit changes

Posted by David James <ja...@cs.toronto.edu>.
On 3/12/07, mb <ma...@post.rwth-aachen.de> wrote:
> Hi,
>
> is there anywhere a tutorial on how to use the Python bindings to
> commit changes.
>
> I'm using the bindings succesfully to list, checkout, merge, revert
> etc., but I haven't
> found out how to commit these changes back into the repo.
>
> Does anybody have en example application or some such, that could help
> me along?

Sure. Take a look at
http://svn.collab.net/repos/svn/trunk/tools/examples/putfile.py

This app should do what you need

Cheers,

David

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Using Python bindings to commit changes

Posted by Daniel Rall <dl...@collab.net>.
On Mon, 12 Mar 2007, mb wrote:

> Hi,
> 
> is there anywhere a tutorial on how to use the Python bindings to
> commit changes.
> 
> I'm using the bindings succesfully to list, checkout, merge, revert
> etc., but I haven't
> found out how to commit these changes back into the repo.
> 
> Does anybody have en example application or some such, that could help
> me along?

Max, a great place to look for this type of thing is always a
project's test suite.  subversion/bindings/swig/python/tests/client.py
contains some example code that you ought to find useful.