FreeBSD/contrib/subversion/subversion/libsvn_wc/wc_db_update_move.c
/* Return TRUE if SRC_PROPS and DST_PROPS contain the same properties,
   FALSE otherwise. SRC_PROPS and DST_PROPS are standard property
   hashes. */
Return TRUE if SRC_PROPS and DST_PROPS contain the same properties,
FALSE otherwise. SRC_PROPS and DST_PROPS are standard property
hashes.
Return TRUE if SRC_PROPS and DST_PROPS contain the same properties FALSE otherwise . SRC_PROPS and DST_PROPS are standard property hashes .
static svn_error_t *
props_match(svn_boolean_t *match,
            apr_hash_t *src_props,
            apr_hash_t *dst_props,
            apr_pool_t *scratch_pool)
{
  if (!src_props && !dst_props)
    *match = TRUE;
  else if (!src_props || ! dst_props)
    *match = FALSE;
  else
    {
      apr_array_header_t *propdiffs;
      SVN_ERR(svn_prop_diffs(&propdiffs, src_props, dst_props, scratch_pool));
      *match = propdiffs->nelts ? FALSE : TRUE;
    }
  return SVN_NO_ERROR;
}
static svn_error_t * props_match ( svn_boolean_t * match , apr_hash_t * src_props , apr_hash_t * dst_props , apr_pool_t * scratch_pool ) { if ( ! src_props && ! dst_props ) * match = TRUE ; else if ( ! src_props || ! dst_props ) * match = FALSE ; else { apr_array_header_t * propdiffs ; SVN_ERR ( svn_prop_diffs ( & propdiffs , src_props , dst_props , scratch_pool ) ) ; * match = propdiffs -> nelts ? FALSE : TRUE ; } return SVN_NO_ERROR ; }
Return TRUE if SRC_PROPS and DST_PROPS contain the same properties,
FALSE otherwise.
Return TRUE if SRC_PROPS and DST_PROPS contain the same properties FALSE otherwise .