subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject svn commit: r931450 - /subversion/trunk/subversion/libsvn_client/commit_util.c
Date Wed, 07 Apr 2010 07:07:03 GMT
Author: gstein
Date: Wed Apr  7 07:07:03 2010
New Revision: 931450

URL: http://svn.apache.org/viewvc?rev=931450&view=rev
Log:
Spread the svn_error_return() love...

* subversion/libsvn_client/commit_util.c:
  (do_item_commit): add svn_error_return() where appropriate

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

Modified: subversion/trunk/subversion/libsvn_client/commit_util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/commit_util.c?rev=931450&r1=931449&r2=931450&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/commit_util.c (original)
+++ subversion/trunk/subversion/libsvn_client/commit_util.c Wed Apr  7 07:07:03 2010
@@ -1412,7 +1412,8 @@ do_item_commit(void **dir_baton,
                                  parent_baton, pool);
 
       if (err)
-        return fixup_out_of_date_error(path, item->kind, err);
+        return svn_error_return(fixup_out_of_date_error(path, item->kind,
+                                                        err));
     }
 
   /* If this item is supposed to be added, do so. */
@@ -1471,7 +1472,8 @@ do_item_commit(void **dir_baton,
                                       file_pool, &file_baton);
 
               if (err)
-                return fixup_out_of_date_error(path, kind, err);
+                return svn_error_return(fixup_out_of_date_error(path, kind,
+                                                                err));
             }
         }
       else
@@ -1502,7 +1504,7 @@ do_item_commit(void **dir_baton,
               (kind == svn_node_dir) ? *dir_baton : file_baton, pool);
 
       if (err)
-        return fixup_out_of_date_error(path, kind, err);
+        return svn_error_return(fixup_out_of_date_error(path, kind, err));
 
       SVN_ERR(svn_wc_transmit_prop_deltas2(
                 ctx->wc_ctx, local_abspath, editor,
@@ -1548,7 +1550,8 @@ do_item_commit(void **dir_baton,
                                     file_pool, &file_baton);
 
           if (err)
-            return fixup_out_of_date_error(path, item->kind, err);
+            return svn_error_return(fixup_out_of_date_error(path, item->kind,
+                                                            err));
         }
 
       /* Add this file mod to the FILE_MODS hash. */



Mime
View raw message