You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2011/12/02 23:18:03 UTC
svn commit: r1209735 - /subversion/trunk/subversion/libsvn_delta/compat.c
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)