Author: julianfoad
Date: Tue Aug 29 13:08:27 2017
New Revision: 1806587
URL: http://svn.apache.org/viewvc?rev=1806587&view=rev
Log:
On the 'shelve' branch: Notify when creating and deleting patch files.
* subversion/libsvn_client/shelve.c
(svn_client_shelf_write_patch,
svn_client_shelf_delete_patch): Add notifications.
Modified:
subversion/branches/shelve/subversion/libsvn_client/shelve.c
Modified: subversion/branches/shelve/subversion/libsvn_client/shelve.c
URL:
http://svn.apache.org/viewvc/subversion/branches/shelve/subversion/libsvn_client/shelve.c?rev=1806587&r1=1806586&r2=1806587&view=diff
==============================================================================
--- subversion/branches/shelve/subversion/libsvn_client/shelve.c (original)
+++ subversion/branches/shelve/subversion/libsvn_client/shelve.c Tue Aug 29
13:08:27 2017
@@ -93,6 +93,8 @@ svn_client_shelf_write_patch(const char
svn_opt_revision_t start_revision = {svn_opt_revision_base, {0}};
svn_opt_revision_t end_revision = {svn_opt_revision_working, {0}};
+ printf("writing '%s.patch'\n", shelf_name);
+
SVN_ERR(get_patch_abspath(&patch_abspath, shelf_name, wc_root_abspath,
ctx, scratch_pool, scratch_pool));
@@ -194,6 +196,7 @@ svn_client_shelf_delete_patch(const char
scratch_pool));
/* move the patch to a backup file */
+ printf("moving '%s.patch' to '%s.patch.bak'\n", shelf_name, shelf_name);
SVN_ERR(svn_io_file_rename2(patch_abspath, to_abspath, FALSE
/*flush_to_disk*/,
scratch_pool));
return SVN_NO_ERROR;