FreeBSD/contrib/subversion/subversion/libsvn_fs_x/tree.c
/* Determine if the properties of two path/root combinations are
   different.  Set *CHANGED_P to TRUE if the properties at PATH1 under
   ROOT1 differ from those at PATH2 under ROOT2, or FALSE otherwise.
   Both roots must be in the same filesystem. */
Determine if the properties of two path/root combinations are
different.  Set *CHANGED_P to TRUE if the properties at PATH1 under
ROOT1 differ from those at PATH2 under ROOT2, or FALSE otherwise.
Both roots must be in the same filesystem.
Determine if the properties of two path / root combinations are different . Set * CHANGED_P to TRUE if the properties at PATH1 under ROOT1 differ from those at PATH2 under ROOT2 or FALSE otherwise . Both roots must be in the same filesystem .
static svn_error_t *
x_props_changed(svn_boolean_t *changed_p,
                svn_fs_root_t *root1,
                const char *path1,
                svn_fs_root_t *root2,
                const char *path2,
                svn_boolean_t strict,
                apr_pool_t *scratch_pool)
{
  dag_node_t *node1, *node2;
  apr_pool_t *subpool = svn_pool_create(scratch_pool);
  if (root1->fs != root2->fs)
    return svn_error_create
      (SVN_ERR_FS_GENERAL, NULL,
       _("Cannot compare property value between two different filesystems"));
  SVN_ERR(get_dag(&node1, root1, path1, subpool));
  SVN_ERR(get_dag(&node2, root2, path2, subpool));
  SVN_ERR(svn_fs_x__dag_things_different(changed_p, NULL, node1, node2,
                                         strict, subpool));
  svn_pool_destroy(subpool);
  return SVN_NO_ERROR;
}
static svn_error_t * x_props_changed ( svn_boolean_t * changed_p , svn_fs_root_t * root1 , const char * path1 , svn_fs_root_t * root2 , const char * path2 , svn_boolean_t strict , apr_pool_t * scratch_pool ) { dag_node_t * node1 , * node2 ; apr_pool_t * subpool = svn_pool_create ( scratch_pool ) ; if ( root1 -> fs != root2 -> fs ) return svn_error_create ( SVN_ERR_FS_GENERAL , NULL , _ ( " " ) ) ; SVN_ERR ( get_dag ( & node1 , root1 , path1 , subpool ) ) ; SVN_ERR ( get_dag ( & node2 , root2 , path2 , subpool ) ) ; SVN_ERR ( svn_fs_x__dag_things_different ( changed_p , NULL , node1 , node2 , strict , subpool ) ) ; svn_pool_destroy ( subpool ) ; return SVN_NO_ERROR ; }
Determine if the properties of two path/root combinations are
different.
Determine if the properties of two path / root combinations are different .
/* Check that roots are in the same fs. */