On Sat, 2004-05-08 at 19:24, C.A.T.Magic wrote:
>      svn_error_t *
>      svn_fs_abort_txn (svn_fs_txn_t *txn, apr_pool_t *pool)
>      {
>  >      return txn->vtable->abort (txn, pool);
>      }
> 
> 
>      txn->vtable = 0x00000000
Let me know if the following patch helps:
Index: subversion/libsvn_repos/commit.c
===================================================================
--- subversion/libsvn_repos/commit.c    (revision 9652)
+++ subversion/libsvn_repos/commit.c    (working copy)
@@ -129,6 +129,7 @@
   struct dir_baton *dirb;
   struct edit_baton *eb = edit_baton;
   svn_revnum_t youngest;
+  svn_fs_txn_t *txn;
 
   /* Ignore BASE_REVISION.  We always build our transaction against
      HEAD.  However, we will keep it in our dir baton for out of
@@ -137,12 +138,13 @@
 
   /* Begin a subversion transaction, cache its name, and get its
      root object. */
-  SVN_ERR (svn_repos_fs_begin_txn_for_commit (&(eb->txn), 
+  SVN_ERR (svn_repos_fs_begin_txn_for_commit (&txn,
                                               eb->repos, 
                                               youngest,
                                               eb->user, 
                                               eb->log_msg,
                                               eb->pool));
+  eb->txn = txn;
   SVN_ERR (svn_fs_txn_root (&(eb->txn_root), eb->txn, eb->pool));
   SVN_ERR (svn_fs_txn_name (&(eb->txn_name), eb->txn, eb->pool));
   
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May  9 02:08:11 2004