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 2010/08/05 22:23:57 UTC

svn commit: r982765 - /subversion/trunk/subversion/libsvn_ra_serf/commit.c

Author: rhuijben
Date: Thu Aug  5 20:23:57 2010
New Revision: 982765

URL: http://svn.apache.org/viewvc?rev=982765&view=rev
Log:
* subversion/libsvn_ra_serf/commit.c
  (create_proppatch_body): Following up on r982415 and the major refactoring
     in r982487, r982495 to make this possible just return these errors.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/commit.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/commit.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/commit.c?rev=982765&r1=982764&r2=982765&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/commit.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/commit.c Thu Aug  5 20:23:57 2010
@@ -770,10 +770,9 @@ create_proppatch_body(serf_bucket_t **bk
       svn_ra_serf__add_open_tag_buckets(body_bkt, alloc, "D:set", NULL);
       svn_ra_serf__add_open_tag_buckets(body_bkt, alloc, "D:prop", NULL);
 
-      err = svn_ra_serf__walk_all_props(ctx->changed_props, ctx->path,
-                                        SVN_INVALID_REVNUM,
-                                         proppatch_walker, body_bkt, pool);
-      svn_error_clear(err); /* ### */
+      SVN_ERR(svn_ra_serf__walk_all_props(ctx->changed_props, ctx->path,
+                                          SVN_INVALID_REVNUM,
+                                          proppatch_walker, body_bkt, pool));
 
       svn_ra_serf__add_close_tag_buckets(body_bkt, alloc, "D:prop");
       svn_ra_serf__add_close_tag_buckets(body_bkt, alloc, "D:set");
@@ -784,10 +783,9 @@ create_proppatch_body(serf_bucket_t **bk
       svn_ra_serf__add_open_tag_buckets(body_bkt, alloc, "D:remove", NULL);
       svn_ra_serf__add_open_tag_buckets(body_bkt, alloc, "D:prop", NULL);
 
-      err = svn_ra_serf__walk_all_props(ctx->removed_props, ctx->path,
-                                        SVN_INVALID_REVNUM,
-                                        proppatch_walker, body_bkt, pool);
-      svn_error_clear(err); /* ### */
+      SVN_ERR(svn_ra_serf__walk_all_props(ctx->removed_props, ctx->path,
+                                          SVN_INVALID_REVNUM,
+                                          proppatch_walker, body_bkt, pool));
 
       svn_ra_serf__add_close_tag_buckets(body_bkt, alloc, "D:prop");
       svn_ra_serf__add_close_tag_buckets(body_bkt, alloc, "D:remove");