subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1509732 - in /subversion/branches/log-addressing/subversion/libsvn_fs_fs: fs_fs.c hotcopy.c
Date Fri, 02 Aug 2013 15:00:26 GMT
Author: stefan2
Date: Fri Aug  2 15:00:26 2013
New Revision: 1509732

URL: http://svn.apache.org/r1509732
Log:
On the log-addressing branch:  Fix the hotcopy for f7 repos.

* subversion/libsvn_fs_fs/fs_fs.c
  (svn_fs_fs__open): actually use the min_log_addressing_rev value
                     read from the format file
* subversion/libsvn_fs_fs/hotcopy.c
  (hotcopy_create_empty_dest): copy min_log_addressing_rev as well

Modified:
    subversion/branches/log-addressing/subversion/libsvn_fs_fs/fs_fs.c
    subversion/branches/log-addressing/subversion/libsvn_fs_fs/hotcopy.c

Modified: subversion/branches/log-addressing/subversion/libsvn_fs_fs/fs_fs.c
URL: http://svn.apache.org/viewvc/subversion/branches/log-addressing/subversion/libsvn_fs_fs/fs_fs.c?rev=1509732&r1=1509731&r2=1509732&view=diff
==============================================================================
--- subversion/branches/log-addressing/subversion/libsvn_fs_fs/fs_fs.c (original)
+++ subversion/branches/log-addressing/subversion/libsvn_fs_fs/fs_fs.c Fri Aug  2 15:00:26
2013
@@ -686,6 +686,7 @@ svn_fs_fs__open(svn_fs_t *fs, const char
   /* Now we've got a format number no matter what. */
   ffd->format = format;
   ffd->max_files_per_dir = max_files_per_dir;
+  ffd->min_log_addressing_rev = min_log_addressing_rev;
 
   /* Read in and cache the repository uuid. */
   SVN_ERR(svn_io_file_open(&uuid_file, path_uuid(fs, pool),

Modified: subversion/branches/log-addressing/subversion/libsvn_fs_fs/hotcopy.c
URL: http://svn.apache.org/viewvc/subversion/branches/log-addressing/subversion/libsvn_fs_fs/hotcopy.c?rev=1509732&r1=1509731&r2=1509732&view=diff
==============================================================================
--- subversion/branches/log-addressing/subversion/libsvn_fs_fs/hotcopy.c (original)
+++ subversion/branches/log-addressing/subversion/libsvn_fs_fs/hotcopy.c Fri Aug  2 15:00:26
2013
@@ -868,6 +868,7 @@ hotcopy_create_empty_dest(svn_fs_t *src_
   dst_fs->path = apr_pstrdup(pool, dst_path);
 
   dst_ffd->max_files_per_dir = src_ffd->max_files_per_dir;
+  dst_ffd->min_log_addressing_rev = src_ffd->min_log_addressing_rev;
   dst_ffd->config = src_ffd->config;
   dst_ffd->format = src_ffd->format;
 



Mime
View raw message