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 2012/11/01 14:28:44 UTC

svn commit: r1404584 - /subversion/trunk/subversion/libsvn_client/prop_commands.c

Author: rhuijben
Date: Thu Nov  1 13:28:43 2012
New Revision: 1404584

URL: http://svn.apache.org/viewvc?rev=1404584&view=rev
Log:
* subversion/libsvn_client/prop_commands.c
  (svn_client_propset_local): Just return the error instead of performing
    work to get the same error on the next wc call.

Modified:
    subversion/trunk/subversion/libsvn_client/prop_commands.c

Modified: subversion/trunk/subversion/libsvn_client/prop_commands.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/prop_commands.c?rev=1404584&r1=1404583&r2=1404584&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/prop_commands.c (original)
+++ subversion/trunk/subversion/libsvn_client/prop_commands.c Thu Nov  1 13:28:43 2012
@@ -356,11 +356,9 @@ svn_client_propset_local(const char *pro
 
               ctx->notify_func2(ctx->notify_baton2, notify, iterpool);
             }
-
-          svn_error_clear(err);
         }
-      else
-        SVN_ERR(err);
+
+      SVN_ERR(err);
 
       SVN_WC__CALL_WITH_WRITE_LOCK(
         svn_wc_prop_set4(ctx->wc_ctx, target_abspath, propname,