FreeBSD/contrib/subversion/subversion/libsvn_fs_fs/hotcopy.c
/* Remove revision properties between START_REV (inclusive) and END_REV
 * (non-inclusive) from DST_FS. Assume sharding as per MAX_FILES_PER_DIR.
 * Use SCRATCH_POOL for temporary allocations.  Revision 0 revprops will
 * not be deleted. */
Remove revision properties between START_REV (inclusive) and END_REV
(non-inclusive) from DST_FS. Assume sharding as per MAX_FILES_PER_DIR.
Use SCRATCH_POOL for temporary allocations.  Revision 0 revprops will
not be deleted.
Remove revision properties between START_REV ( inclusive ) and END_REV ( non - inclusive ) from DST_FS . Assume sharding as per MAX_FILES_PER_DIR . Use SCRATCH_POOL for temporary allocations . Revision 0 revprops will not be deleted .
static svn_error_t *
hotcopy_remove_revprop_files(svn_fs_t *dst_fs,
                             svn_revnum_t start_rev,
                             svn_revnum_t end_rev,
                             int max_files_per_dir,
                             apr_pool_t *scratch_pool)
{
  SVN_ERR_ASSERT(start_rev <= end_rev);
  SVN_ERR(hotcopy_remove_files(dst_fs,
                               svn_dirent_join(dst_fs->path,
                                               PATH_REVPROPS_DIR,
                                               scratch_pool),
                               start_rev ? start_rev : 1, end_rev,
                               max_files_per_dir, scratch_pool));
  return SVN_NO_ERROR;
}
static svn_error_t * hotcopy_remove_revprop_files ( svn_fs_t * dst_fs , svn_revnum_t start_rev , svn_revnum_t end_rev , int max_files_per_dir , apr_pool_t * scratch_pool ) { SVN_ERR_ASSERT ( start_rev <= end_rev ) ; SVN_ERR ( hotcopy_remove_files ( dst_fs , svn_dirent_join ( dst_fs -> path , PATH_REVPROPS_DIR , scratch_pool ) , start_rev ? start_rev : 1 , end_rev , max_files_per_dir , scratch_pool ) ) ; return SVN_NO_ERROR ; }
Remove revision properties between START_REV (inclusive) and END_REV
 (non-inclusive) from DST_FS.
Remove revision properties between START_REV ( inclusive ) and END_REV ( non - inclusive ) from DST_FS .
/* don't delete rev 0 props */