You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2011/04/29 22:52:21 UTC
svn commit: r1097949 - /subversion/trunk/subversion/libsvn_wc/adm_ops.c
Author: rhuijben
Date: Fri Apr 29 20:52:20 2011
New Revision: 1097949
URL: http://svn.apache.org/viewvc?rev=1097949&view=rev
Log:
* subversion/libsvn_wc/adm_ops.c
(svn_wc_delete4,
add_from_disk,
revert_restore): Add a note that the list should be deleted even though no
notifications happen. Otherwise this might break notifications on long
living clients.
Modified:
subversion/trunk/subversion/libsvn_wc/adm_ops.c
Modified: subversion/trunk/subversion/libsvn_wc/adm_ops.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/adm_ops.c?rev=1097949&r1=1097948&r2=1097949&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/adm_ops.c (original)
+++ subversion/trunk/subversion/libsvn_wc/adm_ops.c Fri Apr 29 20:52:20 2011
@@ -704,6 +704,7 @@ svn_wc_delete4(svn_wc_context_t *wc_ctx,
if (notify_func)
SVN_ERR(svn_wc__db_delete_list_notify(notify_func, notify_baton,
db, local_abspath, pool));
+ /* ### else: Delete the list */
#else
if (kind == svn_wc__db_kind_dir)
{
@@ -803,6 +804,7 @@ add_from_disk(svn_wc__db_t *db,
SVN_ERR(svn_wc__db_changelist_list_notify(notify_func, notify_baton,
db, local_abspath,
scratch_pool));
+ /* ### else: Delete the list */
}
return SVN_NO_ERROR;
@@ -1384,6 +1386,7 @@ revert_restore(svn_wc__db_t *db,
if (notify_func)
SVN_ERR(svn_wc__db_revert_list_notify(notify_func, notify_baton,
db, local_abspath, scratch_pool));
+ /* ### else: Delete the list */
return SVN_NO_ERROR;
}
@@ -1562,6 +1565,7 @@ revert_restore(svn_wc__db_t *db,
if (notify_func)
SVN_ERR(svn_wc__db_revert_list_notify(notify_func, notify_baton,
db, local_abspath, scratch_pool));
+ /* ### else: Delete the list */
return SVN_NO_ERROR;
}