Author: danielsh
Date: Sat Jul 24 17:04:04 2010
New Revision: 978902
URL: http://svn.apache.org/viewvc?rev=978902&view=rev
Log:
Make 'svn cl --remove -R' not spam stdout.
* subversion/libsvn_client/changelist.c
(set_node_changelist):
Suppress notifications when removing a dir from a changelist.
Modified:
subversion/trunk/subversion/libsvn_client/changelist.c
Modified: subversion/trunk/subversion/libsvn_client/changelist.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/changelist.c?rev=978902&r1=978901&r2=978902&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/changelist.c (original)
+++ subversion/trunk/subversion/libsvn_client/changelist.c Sat Jul 24 17:04:04
2010
@@ -72,7 +72,11 @@ set_node_changelist(const char *local_ab
/* We only care about files right now. */
if (kind != svn_node_file)
{
- if (b->ctx->notify_func2)
+ /* Notify, unless it's a directory being removed from a changelist.
+ (That is in order to not spam during 'svn cl --remove -R'.)
+ */
+ if (b->ctx->notify_func2
+ && ! (b->changelist == NULL && kind == svn_node_dir))
b->ctx->notify_func2(b->ctx->notify_baton2,
svn_wc_create_notify(local_abspath,
svn_wc_notify_skip,