You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2017/07/26 20:35:15 UTC
svn commit: r1803107 -
/subversion/branches/shelve-checkpoint3/subversion/libsvn_client/checkpoint3.c
Author: julianfoad
Date: Wed Jul 26 20:35:14 2017
New Revision: 1803107
URL: http://svn.apache.org/viewvc?rev=1803107&view=rev
Log:
On the 'shelve-checkpoint3' branch: Destroy the checkpoints repo
at the end of the 'checkpoint finish' command.
Modified:
subversion/branches/shelve-checkpoint3/subversion/libsvn_client/checkpoint3.c
Modified: subversion/branches/shelve-checkpoint3/subversion/libsvn_client/checkpoint3.c
URL: http://svn.apache.org/viewvc/subversion/branches/shelve-checkpoint3/subversion/libsvn_client/checkpoint3.c?rev=1803107&r1=1803106&r2=1803107&view=diff
==============================================================================
--- subversion/branches/shelve-checkpoint3/subversion/libsvn_client/checkpoint3.c (original)
+++ subversion/branches/shelve-checkpoint3/subversion/libsvn_client/checkpoint3.c Wed Jul 26 20:35:14 2017
@@ -154,7 +154,10 @@ static svn_error_t *
checkpoints_repo_destroy(const char *wc_root_abspath,
apr_pool_t *scratch_pool)
{
- printf(" (destroying the repo is not implemented yet)\n");
+ const char *repo_dir
+ = checkpoints_repo_dir(wc_root_abspath, scratch_pool);
+
+ SVN_ERR(svn_io_remove_dir(repo_dir, scratch_pool));
return SVN_NO_ERROR;
}