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

#2246: repos_get_commit_editor API

From: Chia-liang Kao <clkao_at_clkao.org>
Date: 2005-03-27 16:54:16 CEST

Hi,

I'd like to get these txn-aware commit_editor api defined and implemented
for 1.2.

So, my plan is to have a new API that:
* takes a txn object as the base of the editor calls.
* does not call abort_txn upon abort_edit.

So:

svn_repos_get_txn_commit_editor
  (const svn_delta_editor_t **editor,
   void **edit_baton,
   svn_repos_t *repos,
   svn_fs_txn_t *txn;
   const char *repos_url,
   const char *base_path,
   svn_commit_callback_t callback,
   void *callback_baton,
   apr_pool_t *pool);

The txn and its user and log_msg should be prepared by the caller.

Comments on the api name or itself?

Cheers,
CLK

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 27 16:56:20 2005

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.