Author: hwright Date: Thu Apr 12 16:41:30 2012 New Revision: 1325370 URL: http://svn.apache.org/viewvc?rev=1325370&view=rev Log: * subversion/libsvn_ra_serf/commit.c (svn_ra_serf__get_commit_editor): Provide the correct repos_root to the Ev2 shims.
Modified: subversion/trunk/subversion/libsvn_ra_serf/commit.c Modified: subversion/trunk/subversion/libsvn_ra_serf/commit.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/commit.c?rev=1325370&r1=1325369&r2=1325370&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_ra_serf/commit.c (original) +++ subversion/trunk/subversion/libsvn_ra_serf/commit.c Thu Apr 12 16:41:30 2012 @@ -2322,6 +2322,7 @@ svn_ra_serf__get_commit_editor(svn_ra_se svn_delta_editor_t *editor; commit_context_t *ctx; apr_hash_index_t *hi; + const char *repos_root; ctx = apr_pcalloc(pool, sizeof(*ctx)); @@ -2368,8 +2369,10 @@ svn_ra_serf__get_commit_editor(svn_ra_se *ret_editor = editor; *edit_baton = ctx; + SVN_ERR(svn_ra_get_repos_root2(ra_session, &repos_root, pool)); + SVN_ERR(svn_editor__insert_shims(ret_editor, edit_baton, *ret_editor, - *edit_baton, NULL, NULL, + *edit_baton, repos_root, NULL, session->shim_callbacks, pool, pool)); return SVN_NO_ERROR;