Cleanup an abnormally terminated working copy.
[Client working copy management]


Functions

svn_error_tsvn_client_vacuum (const char *dir_abspath, svn_boolean_t remove_unversioned_items, svn_boolean_t remove_ignored_items, svn_boolean_t fix_recorded_timestamps, svn_boolean_t vacuum_pristines, svn_boolean_t include_externals, svn_client_ctx_t *ctx, apr_pool_t *scratch_pool)
 Recursively vacuum a working copy directory dir, removing unnecessary data.
svn_error_tsvn_client_cleanup2 (const char *dir_abspath, svn_boolean_t break_locks, svn_boolean_t fix_recorded_timestamps, svn_boolean_t clear_dav_cache, svn_boolean_t vacuum_pristines, svn_boolean_t include_externals, svn_client_ctx_t *ctx, apr_pool_t *scratch_pool)
 Recursively cleanup a working copy directory dir, finishing any incomplete operations, removing lockfiles, etc.
svn_error_tsvn_client_cleanup (const char *dir, svn_client_ctx_t *ctx, apr_pool_t *scratch_pool)

Function Documentation

svn_error_t* svn_client_cleanup2 ( const char *  dir_abspath,
svn_boolean_t  break_locks,
svn_boolean_t  fix_recorded_timestamps,
svn_boolean_t  clear_dav_cache,
svn_boolean_t  vacuum_pristines,
svn_boolean_t  include_externals,
svn_client_ctx_t ctx,
apr_pool_t *  scratch_pool 
)

Recursively cleanup a working copy directory dir, finishing any incomplete operations, removing lockfiles, etc.

If include_externals is TRUE, recurse into externals and clean them up as well.

If ctx->cancel_func is non-NULL, invoke it with ctx->cancel_baton at various points during the operation. If it returns an error (typically SVN_ERR_CANCELLED), return that error immediately.

Use scratch_pool for any temporary allocations.

Since:
New in 1.9.

svn_error_t* svn_client_vacuum ( const char *  dir_abspath,
svn_boolean_t  remove_unversioned_items,
svn_boolean_t  remove_ignored_items,
svn_boolean_t  fix_recorded_timestamps,
svn_boolean_t  vacuum_pristines,
svn_boolean_t  include_externals,
svn_client_ctx_t ctx,
apr_pool_t *  scratch_pool 
)

Recursively vacuum a working copy directory dir, removing unnecessary data.

If include_externals is TRUE, recurse into externals and vacuum them as well.

If remove_unversioned_items is TRUE, remove unversioned items in dir after successful working copy cleanup. If remove_ignored_items is TRUE, remove ignored unversioned items in dir after successful working copy cleanup.

When asked to remove unversioned or ignored items, and the working copy is already locked, return SVN_ERR_WC_LOCKED. This prevents accidental working copy corruption in case users run the cleanup operation to remove unversioned items while another client is performing some other operation on the working copy.

If ctx->cancel_func is non-NULL, invoke it with ctx->cancel_baton at various points during the operation. If it returns an error (typically SVN_ERR_CANCELLED), return that error immediately.

Use scratch_pool for any temporary allocations.

Since:
New in 1.9.


Generated on Mon Mar 17 15:46:35 2014 for Subversion by  doxygen 1.4.7