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

Re: Why svn_fs__txn_id is private?

From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2001-02-28 01:12:42 CET

Yoshiki Hayashi <yoshiki@xemacs.org> writes:
> Subject says all. Why svn_fs__txn_id is a private function?
> Transaction ID is necessary for svn_fs_open_txn(). Right
> now, there's no way to reopen a closed svn transaction.

Huh? Look at this pair from svn_fs.h, one of which you mention above:

   /* Set *NAME_P to the name of the transaction TXN, as a
      null-terminated string. Allocate the name in POOL. */
   svn_error_t *svn_fs_txn_name (char **name_p,
                                 svn_fs_txn_t *txn,
                                 apr_pool_t *pool);

   /* Open the transaction named NAME in the filesystem FS. Set *TXN to
      the transaction.
   
      Allocate the new transaction in POOL; when POOL is freed, the new
      transaction will be closed (neither committed nor aborted). You
      can also close the transaction explicitly, using
      `svn_fs_close_txn'. */
   svn_error_t *svn_fs_open_txn (svn_fs_txn_t **txn,
                                 svn_fs_t *fs,
                                 const char *name,
                                 apr_pool_t *pool);

-Karl
Received on Sat Oct 21 14:36:23 2006

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.