subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1209692 - /subversion/trunk/subversion/libsvn_repos/dump.c
Date Fri, 02 Dec 2011 21:21:23 GMT
Author: hwright
Date: Fri Dec  2 21:21:22 2011
New Revision: 1209692

URL: http://svn.apache.org/viewvc?rev=1209692&view=rev
Log:
Properly close the dump editor when we are done dumping a revision.  While
in the current implementation the 'close edit' callback is a no-op, this
is not the case for the Ev2 shims, and other potential editors.

Current number of Ev2 test failures: 678

* subversion/libsvn_repos/dump.c
  (svn_repos_dump_fs3): Close the dump editor.

Modified:
    subversion/trunk/subversion/libsvn_repos/dump.c

Modified: subversion/trunk/subversion/libsvn_repos/dump.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/dump.c?rev=1209692&r1=1209691&r2=1209692&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/dump.c (original)
+++ subversion/trunk/subversion/libsvn_repos/dump.c Fri Dec  2 21:21:22 2011
@@ -1129,6 +1129,10 @@ svn_repos_dump_fs3(svn_repos_t *repos,
                                     NULL, NULL, subpool));
         }
 
+      /* While our editor close_edit implementation is a no-op, we still
+         do this for completeness. */
+      SVN_ERR(dump_editor->close_edit(dump_edit_baton, subpool));
+
     loop_end:
       if (notify_func)
         {



Mime
View raw message