subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1238896 - /subversion/trunk/subversion/svnrdump/svnrdump.c
Date Wed, 01 Feb 2012 01:22:28 GMT
Author: hwright
Date: Wed Feb  1 01:22:26 2012
New Revision: 1238896

URL: http://svn.apache.org/viewvc?rev=1238896&view=rev
Log:
Ensure we close our edit in svnrdump.  While typically a no-op, it's still
good form.

* subversion/svnrdump/svnrdump.c
  (replay_revend): Close the edit.

Modified:
    subversion/trunk/subversion/svnrdump/svnrdump.c

Modified: subversion/trunk/subversion/svnrdump/svnrdump.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnrdump/svnrdump.c?rev=1238896&r1=1238895&r2=1238896&view=diff
==============================================================================
--- subversion/trunk/subversion/svnrdump/svnrdump.c (original)
+++ subversion/trunk/subversion/svnrdump/svnrdump.c Wed Feb  1 01:22:26 2012
@@ -240,6 +240,9 @@ replay_revend(svn_revnum_t revision,
 {
   /* No resources left to free. */
   struct replay_baton *rb = replay_baton;
+
+  SVN_ERR(editor->close_edit(edit_baton, pool));
+
   if (! rb->quiet)
     SVN_ERR(svn_cmdline_fprintf(stderr, pool, "* Dumped revision %lu.\n",
                                 revision));



Mime
View raw message