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

Re: API question: client-side transaction creation

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-02-22 03:40:29 CET

On Feb 21, 2005, at 11:24 AM, Jay Berkenbilt wrote:

> I'd like to find or write a program that uses Subversion APIs to
> perform multiple mkdir/copy/move operations in a single transaction at
> that runs from the client side rather than the repository side. I'm
> aware of RSVN which has basically the functionality I'm looking for
> but runs from the repository side. Is anyone aware of a program that
> does this from the client side? If not, I'm planning on reading
> HACKING and understanding the subversion APIs well enough to write
> this. I'm assuming it must be possible to do this with the existing
> subversion APIs because any commit would have to essentially do this.
> Any quick pointers would be appreciated, though since I haven't yet
> read through all the available information, I'm not looking for
> hand-holding. I'm merely trying to make sure I don't do any major
> wheel reinvention, though there is something to be said for wheel
> reinvention for its learning value. :-)

Grab a "commit editor" from the RA libraries. Drive it. Read svn_ra.h
and svn_delta.h to understand the APIs. Look at
tools/examples/svnput.c (and minimal_client.c) as examples.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 22 03:42:50 2005

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

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