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.
|