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

Re: Editing repository contents

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-11-10 23:53:46 CET

On Mon, 2003-11-10 at 12:48, Files wrote:
> I apologize for posting in both lists in advance, but I'm not sure which one
> this applies to.
>
> The repository browser I'm working on allows you to view the contents of the
> repository at present.
>
> However, I would like to also allow you to use it as a file management interface.

You need to use the repository access (RA) api, in svn_ra.h. It's an
abstraction of the svn network protocol.

If you want to change the repository, call RA->open() to get a network
session object, then call RA->get_commit_editor() and drive the editor
vtable, pushing your changes at the server.

(This is what clkao does in his 'svk' tool, using the perl bindings.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 10 23:54:47 2003

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