FreeBSD/contrib/subversion/subversion/libsvn_fs_x/tree.c
/* Discover the copy ancestry of PATH under ROOT.  Return a relevant
   ancestor/revision combination in *PATH_P and *REV_P.  Temporary
   allocations are in POOL. */
Discover the copy ancestry of PATH under ROOT.  Return a relevant
ancestor/revision combination in *PATH_P and *REV_P.  Temporary
allocations are in POOL.
Discover the copy ancestry of PATH under ROOT . Return a relevant ancestor / revision combination in * PATH_P and * REV_P . Temporary allocations are in POOL .
static svn_error_t *
x_copied_from(svn_revnum_t *rev_p,
              const char **path_p,
              svn_fs_root_t *root,
              const char *path,
              apr_pool_t *pool)
{
  dag_node_t *node;
  SVN_ERR(get_dag(&node, root, path, pool));
  SVN_ERR(svn_fs_x__dag_get_copyfrom_rev(rev_p, node));
  SVN_ERR(svn_fs_x__dag_get_copyfrom_path(path_p, node));
  return SVN_NO_ERROR;
}
static svn_error_t * x_copied_from ( svn_revnum_t * rev_p , const char * * path_p , svn_fs_root_t * root , const char * path , apr_pool_t * pool ) { dag_node_t * node ; SVN_ERR ( get_dag ( & node , root , path , pool ) ) ; SVN_ERR ( svn_fs_x__dag_get_copyfrom_rev ( rev_p , node ) ) ; SVN_ERR ( svn_fs_x__dag_get_copyfrom_path ( path_p , node ) ) ; return SVN_NO_ERROR ; }
Discover the copy ancestry of PATH under ROOT.
Discover the copy ancestry of PATH under ROOT .
/* There is no cached entry, look it up the old-fashioned
      way. */