subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1409727 - /subversion/trunk/subversion/libsvn_client/copy.c
Date Thu, 15 Nov 2012 10:53:38 GMT
Author: rhuijben
Date: Thu Nov 15 10:53:38 2012
New Revision: 1409727

URL: http://svn.apache.org/viewvc?rev=1409727&view=rev
Log:
* subversion/libsvn_client/copy.c
  (repos_to_repos_copy): Compose abort error instead of just clearing it.

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

Modified: subversion/trunk/subversion/libsvn_client/copy.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/copy.c?rev=1409727&r1=1409726&r2=1409727&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/copy.c (original)
+++ subversion/trunk/subversion/libsvn_client/copy.c Thu Nov 15 10:53:38 2012
@@ -1152,8 +1152,9 @@ repos_to_repos_copy(const apr_array_head
   if (err)
     {
       /* At least try to abort the edit (and fs txn) before throwing err. */
-      svn_error_clear(editor->abort_edit(edit_baton, pool));
-      return svn_error_trace(err);
+      return svn_error_compose_create(
+                    err,
+                    editor->abort_edit(edit_baton, pool));
     }
 
   /* Close the edit. */



Mime
View raw message