Subversion
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Cleanup an abnormally terminated working copy.

Functions

svn_error_tsvn_client_cleanup (const char *dir, svn_client_ctx_t *ctx, apr_pool_t *scratch_pool)
 Recursively cleanup a working copy directory dir, finishing any incomplete operations, removing lockfiles, etc. More...
 

Detailed Description

Function Documentation

svn_error_t* svn_client_cleanup ( const char *  dir,
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 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.