Author: stefan2
Date: Thu Nov 23 11:06:12 2017
New Revision: 1816132
URL: http://svn.apache.org/viewvc?rev=1816132&view=rev
Log:
Follow-up to r1815799: Fix assertion triggered in ra-tests over ra_svn.
* subversion/tests/libsvn_ra/ra-test.c
(commit_locked_file): Don't use a closed editor, create a new one instead.
Modified:
subversion/trunk/subversion/tests/libsvn_ra/ra-test.c
Modified: subversion/trunk/subversion/tests/libsvn_ra/ra-test.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_ra/ra-test.c?rev=1816132&r1=1816131&r2=1816132&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_ra/ra-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_ra/ra-test.c Thu Nov 23 11:06:12
2017
@@ -1769,6 +1769,9 @@ commit_locked_file(const svn_test_opts_t
SVN_TEST_INT_ASSERT((int) fetched_rev, 2);
/* Change property of the locked file. */
+ SVN_ERR(svn_ra_get_commit_editor3(session, &editor, &edit_baton,
+ apr_hash_make(pool), NULL, NULL,
+ lock_tokens, TRUE, pool));
SVN_ERR(editor->open_root(edit_baton, SVN_INVALID_REVNUM,
pool, &root_baton));
SVN_ERR(editor->open_file("file", root_baton, SVN_INVALID_REVNUM, pool,