FreeBSD/contrib/subversion/subversion/libsvn_repos/dump.c
/* A special case of dump_node(), for a delete record.
 *
 * The only thing special about this version is it only writes one blank
 * line, not two, after the headers. Why? Historical precedent for the
 * case where a delete record is used as part of a (delete + add-with-history)
 * in implementing a replacement.
 *
 * Also it doesn't do a path-tracker check.
 */
A special case of dump_node(), for a delete record.
The only thing special about this version is it only writes one blank
line, not two, after the headers. Why. Historical precedent for the
case where a delete record is used as part of a (delete + add-with-history)
in implementing a replacement.

Also it doesn't do a path-tracker check.
A special case of dump_node () for a delete record . The only thing special about this version is it only writes one blank line not two after the headers . Why . Historical precedent for the case where a delete record is used as part of a ( delete + add - with - history ) in implementing a replacement . Also it doesn ' t do a path - tracker check .
static svn_error_t *
dump_node_delete(svn_stream_t *stream,
                 const char *node_relpath,
                 apr_pool_t *pool)
{
  svn_repos__dumpfile_headers_t *headers
    = svn_repos__dumpfile_headers_create(pool);
  svn_repos__dumpfile_header_push(
    headers, SVN_REPOS_DUMPFILE_NODE_PATH, node_relpath);
  svn_repos__dumpfile_header_push(
    headers, SVN_REPOS_DUMPFILE_NODE_ACTION, "delete");
  SVN_ERR(svn_repos__dump_headers(stream, headers, pool));
  return SVN_NO_ERROR;
}
static svn_error_t * dump_node_delete ( svn_stream_t * stream , const char * node_relpath , apr_pool_t * pool ) { svn_repos__dumpfile_headers_t * headers = svn_repos__dumpfile_headers_create ( pool ) ; svn_repos__dumpfile_header_push ( headers , SVN_REPOS_DUMPFILE_NODE_PATH , node_relpath ) ; svn_repos__dumpfile_header_push ( headers , SVN_REPOS_DUMPFILE_NODE_ACTION , " " ) ; SVN_ERR ( svn_repos__dump_headers ( stream , headers , pool ) ) ; return SVN_NO_ERROR ; }
A special case of dump_node(), for a delete record.
A special case of dump_node () for a delete record .
/* Node-path: ... */ /* Node-action: delete */