maxb@tigris.org wrote:
>Author: maxb
>Date: Tue Sep 27 05:36:16 2005
>New Revision: 16295
>
>
>@@ -344,17 +342,25 @@
> const char *dst_path,
> apr_pool_t *pool)
> {
>- const char *src_subdir, *dst_subdir, *format_path;
>+ const char *src_subdir, *dst_subdir;
> svn_revnum_t youngest, rev;
> apr_pool_t *iterpool;
> svn_node_kind_t kind;
>+ int format;
>+ svn_error_t *err;
>
>- /* Copy the format file if it exists -- it is assumed to be format 1
>- if it does not exist. */
>- format_path = svn_path_join (src_path, PATH_FORMAT, pool);
>- SVN_ERR (svn_io_check_path (format_path, &kind, pool));
>- if (kind == svn_node_file)
>- SVN_ERR (svn_io_dir_file_copy (src_path, dst_path, PATH_FORMAT, pool));
>+ /* Check format to be sure we know how to hotcopy this FS. */
>+ SVN_ERR (svn_io_read_version_file
>+ (&format, svn_path_join (src_path, PATH_FORMAT, pool), pool));
>+ if (err && APR_STATUS_IS_ENOENT (err->apr_err))
>
>
subversion/libsvn_fs_fs/fs_fs.c(355) : warning C4700: local variable 'err' used without having been initialized
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 27 14:44:50 2005