FreeBSD/contrib/subversion/subversion/libsvn_fs_x/tree.c
/* Copy CHANGE into a FS API object allocated in RESULT_POOL and return
   it in *RESULT_P.  Pass CONTEXT to the ID API object being created. */
Copy CHANGE into a FS API object allocated in RESULT_POOL and return
it in *RESULT_P.  Pass CONTEXT to the ID API object being created.
Copy CHANGE into a FS API object allocated in RESULT_POOL and return it in * RESULT_P . Pass CONTEXT to the ID API object being created .
static svn_error_t *
construct_fs_path_change(svn_fs_path_change2_t **result_p,
                         svn_fs_x__id_context_t *context,
                         svn_fs_x__change_t *change,
                         apr_pool_t *result_pool)
{
  const svn_fs_id_t *id
    = svn_fs_x__id_create(context, &change->noderev_id, result_pool);
  svn_fs_path_change2_t *result
    = svn_fs__path_change_create_internal(id, change->change_kind,
                                          result_pool);
  result->text_mod = change->text_mod;
  result->prop_mod = change->prop_mod;
  result->node_kind = change->node_kind;
  result->copyfrom_known = change->copyfrom_known;
  result->copyfrom_rev = change->copyfrom_rev;
  result->copyfrom_path = change->copyfrom_path;
  result->mergeinfo_mod = change->mergeinfo_mod;
  *result_p = result;
  return SVN_NO_ERROR;
}
static svn_error_t * construct_fs_path_change ( svn_fs_path_change2_t * * result_p , svn_fs_x__id_context_t * context , svn_fs_x__change_t * change , apr_pool_t * result_pool ) { const svn_fs_id_t * id = svn_fs_x__id_create ( context , & change -> noderev_id , result_pool ) ; svn_fs_path_change2_t * result = svn_fs__path_change_create_internal ( id , change -> change_kind , result_pool ) ; result -> text_mod = change -> text_mod ; result -> prop_mod = change -> prop_mod ; result -> node_kind = change -> node_kind ; result -> copyfrom_known = change -> copyfrom_known ; result -> copyfrom_rev = change -> copyfrom_rev ; result -> copyfrom_path = change -> copyfrom_path ; result -> mergeinfo_mod = change -> mergeinfo_mod ; * result_p = result ; return SVN_NO_ERROR ; }
Copy CHANGE into a FS API object allocated in RESULT_POOL and return
it in *RESULT_P.
Copy CHANGE into a FS API object allocated in RESULT_POOL and return it in * RESULT_P .