You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2011/12/19 23:46:40 UTC
svn commit: r1220985 -
/subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c
Author: hwright
Date: Mon Dec 19 22:46:39 2011
New Revision: 1220985
URL: http://svn.apache.org/viewvc?rev=1220985&view=rev
Log:
On the fs-py branch:
More followup to the merge in r1220946.
* subversion/libsvn_fs_py/fs_fs.c
(hotcopy_body, hotcopy_incremental_check_preconditions):
Fetch max_files_per_dir and uuid from the Python object.
Modified:
subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c
Modified: subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c
URL: http://svn.apache.org/viewvc/subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c?rev=1220985&r1=1220984&r2=1220985&view=diff
==============================================================================
--- subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c (original)
+++ subversion/branches/fs-py/subversion/libsvn_fs_py/fs_fs.c Mon Dec 19 22:46:39 2011
@@ -7196,10 +7196,13 @@ hotcopy_copy_packed_shard(svn_revnum_t *
/* If necessary, update the min-unpacked rev file in the hotcopy. */
if (*dst_min_unpacked_rev < shard_rev + max_files_per_dir)
{
+ fs_fs_data_t *dst_ffd = dst_fs->fsap_data;
+
*dst_min_unpacked_rev = shard_rev + max_files_per_dir;
- SVN_ERR(write_revnum_file(dst_fs->path, PATH_MIN_UNPACKED_REV,
- *dst_min_unpacked_rev,
- scratch_pool));
+ SVN_ERR(svn_fs_py__call_method(NULL, dst_ffd->p_fs,
+ "_write_revnum_file",
+ PATH_MIN_UNPACKED_REV,
+ *dst_min_unpacked_rev));
}
return SVN_NO_ERROR;