FreeBSD/contrib/subversion/subversion/libsvn_fs_x/tree.c
/* Add a change to the changes table in FS, keyed on transaction id
   TXN_ID, and indicated that a change of kind CHANGE_KIND occurred on
   PATH (whose node revision id is--or was, in the case of a
   deletion--NODEREV_ID), and optionally that TEXT_MODs, PROP_MODs or
   MERGEINFO_MODs occurred.  If the change resulted from a copy,
   COPYFROM_REV and COPYFROM_PATH specify under which revision and path
   the node was copied from.  If this was not part of a copy, COPYFROM_REV
   should be SVN_INVALID_REVNUM.  Use SCRATCH_POOL for temporary allocations.
 */
Add a change to the changes table in FS, keyed on transaction id
TXN_ID, and indicated that a change of kind CHANGE_KIND occurred on
PATH (whose node revision id is--or was, in the case of a
deletion--NODEREV_ID), and optionally that TEXT_MODs, PROP_MODs or
MERGEINFO_MODs occurred.  If the change resulted from a copy,
COPYFROM_REV and COPYFROM_PATH specify under which revision and path
the node was copied from.  If this was not part of a copy, COPYFROM_REV
should be SVN_INVALID_REVNUM.  Use SCRATCH_POOL for temporary allocations.
Add a change to the changes table in FS keyed on transaction id TXN_ID and indicated that a change of kind CHANGE_KIND occurred on PATH ( whose node revision id is -- or was in the case of a deletion -- NODEREV_ID ) and optionally that TEXT_MODs PROP_MODs or MERGEINFO_MODs occurred . If the change resulted from a copy COPYFROM_REV and COPYFROM_PATH specify under which revision and path the node was copied from . If this was not part of a copy COPYFROM_REV should be SVN_INVALID_REVNUM . Use SCRATCH_POOL for temporary allocations .
static svn_error_t *
add_change(svn_fs_t *fs,
           svn_fs_x__txn_id_t txn_id,
           const char *path,
           const svn_fs_x__id_t *noderev_id,
           svn_fs_path_change_kind_t change_kind,
           svn_boolean_t text_mod,
           svn_boolean_t prop_mod,
           svn_boolean_t mergeinfo_mod,
           svn_node_kind_t node_kind,
           svn_revnum_t copyfrom_rev,
           const char *copyfrom_path,
           apr_pool_t *scratch_pool)
{
  return svn_fs_x__add_change(fs, txn_id,
                              svn_fs__canonicalize_abspath(path,
                                                           scratch_pool),
                              noderev_id, change_kind,
                              text_mod, prop_mod, mergeinfo_mod,
                              node_kind, copyfrom_rev, copyfrom_path,
                              scratch_pool);
}
static svn_error_t * add_change ( svn_fs_t * fs , svn_fs_x__txn_id_t txn_id , const char * path , const svn_fs_x__id_t * noderev_id , svn_fs_path_change_kind_t change_kind , svn_boolean_t text_mod , svn_boolean_t prop_mod , svn_boolean_t mergeinfo_mod , svn_node_kind_t node_kind , svn_revnum_t copyfrom_rev , const char * copyfrom_path , apr_pool_t * scratch_pool ) { return svn_fs_x__add_change ( fs , txn_id , svn_fs__canonicalize_abspath ( path , scratch_pool ) , noderev_id , change_kind , text_mod , prop_mod , mergeinfo_mod , node_kind , copyfrom_rev , copyfrom_path , scratch_pool ) ; }
Add a change to the changes table in FS, keyed on transaction id
TXN_ID, and indicated that a change of kind CHANGE_KIND occurred on
PATH (whose node revision id is--or was, in the case of a
deletion--NODEREV_ID), and optionally that TEXT_MODs, PROP_MODs or
MERGEINFO_MODs occurred.
Add a change to the changes table in FS keyed on transaction id TXN_ID and indicated that a change of kind CHANGE_KIND occurred on PATH ( whose node revision id is -- or was in the case of a deletion -- NODEREV_ID ) and optionally that TEXT_MODs PROP_MODs or MERGEINFO_MODs occurred .