[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r33689 - in branches/fsfs-pack/subversion: include libsvn_fs libsvn_fs_base libsvn_fs_fs libsvn_repos svnadmin

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: Mon, 20 Oct 2008 04:50:50 +0200

2008-10-16 11:59:00 hwright_at_tigris.org napisaƂ(a):
> Author: hwright
> Date: Thu Oct 16 02:59:00 2008
> New Revision: 33689
>
> Log:
> On the fsfs-pack branch:
> Add cancellation support for fs packing.
>
> * subversion/libsvn_fs/fs-loader.h
> (fs_library_vtable_t.pack): Add cancel func/baton.
>
> * subversion/libsvn_fs/fs-loader.c
> (svn_fs_pack): Same.
>
> * subversion/libsvn_fs_base/fs.c
> (base_bdb_pack): Same.
>
> * subversion/include/svn_fs.h
> (svn_fs_pack): Same.

You should rename svn_fs_pack() to svn_fs_pack2() and restore older svn_fs_pack()
which should be marked as deprecated.

> * subversion/include/svn_repos.h,
> subversion/libsvn_repos/fs-wrap.c
> (svn_repos_fs_pack): Same.

You should rename svn_repos_fs_pack() to svn_repos_fs_pack2() and restore older
svn_repos_fs_pack() which should be marked as deprecated.

> * subversion/libsvn_fs_fs/fs_fs.h
> (svn_fs_fs__pack): Same.
>
> * subversion/libsvn_fs_fs/fs_fs.c
> (packer_baton): Same.
> (packer_func, pack_shard): Pass the cancellation func/baton to lower-level
> APIs.
> (svn_fs_fs__pack): Check cancellation between shard packing, and send the
> cancellation func/baton to the lower-level APIs.
>
> * subversion/svnadmin/main.c
> (subcommand_pack): Use the standard svnadmin cancellation check.
>
> Modified:
> branches/fsfs-pack/subversion/include/svn_fs.h
> branches/fsfs-pack/subversion/include/svn_repos.h
> branches/fsfs-pack/subversion/libsvn_fs/fs-loader.c
> branches/fsfs-pack/subversion/libsvn_fs/fs-loader.h
> branches/fsfs-pack/subversion/libsvn_fs_base/fs.c
> branches/fsfs-pack/subversion/libsvn_fs_fs/fs_fs.c
> branches/fsfs-pack/subversion/libsvn_fs_fs/fs_fs.h
> branches/fsfs-pack/subversion/libsvn_repos/fs-wrap.c
> branches/fsfs-pack/subversion/svnadmin/main.c
>
> Modified: branches/fsfs-pack/subversion/include/svn_fs.h
> URL: http://svn.collab.net/viewvc/svn/branches/fsfs-pack/subversion/include/svn_fs.h?pathrev=33689&r1=33688&r2=33689
> ==============================================================================
> --- branches/fsfs-pack/subversion/include/svn_fs.h Thu Oct 16 02:41:58 2008 (r33688)
> +++ branches/fsfs-pack/subversion/include/svn_fs.h Thu Oct 16 02:59:00 2008 (r33689)
> @@ -2023,6 +2023,8 @@ svn_fs_print_modules(svn_stringbuf_t *ou
> */
> svn_error_t *
> svn_fs_pack(const char *db_path,
> + svn_cancel_func_t cancel_func,
> + void *cancel_baton,
> apr_pool_t *pool);
>
>
>
> Modified: branches/fsfs-pack/subversion/include/svn_repos.h
> URL: http://svn.collab.net/viewvc/svn/branches/fsfs-pack/subversion/include/svn_repos.h?pathrev=33689&r1=33688&r2=33689
> ==============================================================================
> --- branches/fsfs-pack/subversion/include/svn_repos.h Thu Oct 16 02:41:58 2008 (r33688)
> +++ branches/fsfs-pack/subversion/include/svn_repos.h Thu Oct 16 02:59:00 2008 (r33689)
> @@ -315,6 +315,8 @@ svn_repos_hotcopy(const char *src_path,
> */
> svn_error_t *
> svn_repos_fs_pack(svn_repos_t *repos,
> + svn_cancel_func_t cancel_func,
> + void *cancel_baton,
> apr_pool_t *pool);
>

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2008-10-20 04:54:34 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.