FreeBSD/contrib/subversion/subversion/libsvn_fs_base/node-rev.c
/* Creating new revisions of existing nodes.  */
Creating new revisions of existing nodes.
Creating new revisions of existing nodes .
svn_error_t *
svn_fs_base__create_successor(const svn_fs_id_t **new_id_p,
                              svn_fs_t *fs,
                              const svn_fs_id_t *old_id,
                              node_revision_t *new_noderev,
                              const char *copy_id,
                              const char *txn_id,
                              trail_t *trail,
                              apr_pool_t *pool)
{
  svn_fs_id_t *new_id;
  SVN_ERR(svn_fs_bdb__new_successor_id(&new_id, fs, old_id, copy_id,
                                       txn_id, trail, pool));
  SVN_ERR(svn_fs_bdb__put_node_revision(fs, new_id, new_noderev,
                                        trail, pool));
  *new_id_p = new_id;
  return SVN_NO_ERROR;
}
svn_error_t * svn_fs_base__create_successor ( const svn_fs_id_t * * new_id_p , svn_fs_t * fs , const svn_fs_id_t * old_id , node_revision_t * new_noderev , const char * copy_id , const char * txn_id , trail_t * trail , apr_pool_t * pool ) { svn_fs_id_t * new_id ; SVN_ERR ( svn_fs_bdb__new_successor_id ( & new_id , fs , old_id , copy_id , txn_id , trail , pool ) ) ; SVN_ERR ( svn_fs_bdb__put_node_revision ( fs , new_id , new_noderev , trail , pool ) ) ; * new_id_p = new_id ; return SVN_NO_ERROR ; }
Creating new revisions of existing nodes.
Creating new revisions of existing nodes .
/* Choose an ID for the new node, and store it in the database.  */ /* Store the new skel under that ID.  */