subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1209735 - /subversion/trunk/subversion/libsvn_delta/compat.c
Date Fri, 02 Dec 2011 22:18:03 GMT
Author: hwright
Date: Fri Dec  2 22:18:02 2011
New Revision: 1209735

URL: http://svn.apache.org/viewvc?rev=1209735&view=rev
Log:
Ev2 shims: Make sure our root baton is open before trying to close it.

Current number of Ev2 test failures: 662

* subversion/libsvn_delta/compat.c
  (complete_cb): On the off chance that no subsequent changes were made to our
    tree, ensure the root baton is opened.

Modified:
    subversion/trunk/subversion/libsvn_delta/compat.c

Modified: subversion/trunk/subversion/libsvn_delta/compat.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_delta/compat.c?rev=1209735&r1=1209734&r2=1209735&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_delta/compat.c (original)
+++ subversion/trunk/subversion/libsvn_delta/compat.c Fri Dec  2 22:18:02 2011
@@ -1392,6 +1392,8 @@ complete_cb(void *baton,
   struct editor_baton *eb = baton;
   svn_error_t *err;
 
+  SVN_ERR(ensure_root_opened(eb));
+
   /* Drive the tree we've created. */
   err = drive_tree(&eb->root, eb->deditor, eb->make_abs_paths, scratch_pool);
   if (!err)



Mime
View raw message