/[Apache-SVN]
ViewVC logotype

Revision 1687071


Jump to revision: Previous Next
Author: kotkov
Date: Tue Jun 23 14:21:31 2015 UTC (8 years, 9 months ago)
Changed paths: 1
Log Message:
Rework the initialization step in svn_fs_fs__hotcopy() in order to only
have a single call to hotcopy_create_empty_dest() and to emphasize how
an incremental hotcopy fallbacks to non-incremental mode if there is no
destination filesystem.

* subversion/libsvn_fs_fs/hotcopy.c
  (svn_fs_fs__hotcopy): Check whether db/format exists in the destination
   as the very first step of the incremental hotcopy.  If it doesn't exist,
   emphasize that we are performing a fallback to the non-incremental mode
   by setting INCREMENTAL to FALSE.  In the case of the fallback, passing
   this value (FALSE) to lower levels, apart from being logical, allows us
   to skip certain logic that's only required in a true incremental mode,
   such as removing unnecessary non-packed revision files after replacing
   them with a packed shard.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_fs_fs/hotcopy.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26