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 2012/05/16 06:13:40 UTC

svn commit: r1338999 - /subversion/branches/ev2-export/subversion/libsvn_client/copy.c

Author: hwright
Date: Wed May 16 04:13:40 2012
New Revision: 1338999

URL: http://svn.apache.org/viewvc?rev=1338999&view=rev
Log:
On the ev2-export branch:
Convert wc->repos copy to use the repos-private Ev2 provider.

* subversion/libsvn_client/copy.c
  (wc_to_repos_copy): Use svn_ra__get_commit_ev2(). 

Modified:
    subversion/branches/ev2-export/subversion/libsvn_client/copy.c

Modified: subversion/branches/ev2-export/subversion/libsvn_client/copy.c
URL: http://svn.apache.org/viewvc/subversion/branches/ev2-export/subversion/libsvn_client/copy.c?rev=1338999&r1=1338998&r2=1338999&view=diff
==============================================================================
--- subversion/branches/ev2-export/subversion/libsvn_client/copy.c (original)
+++ subversion/branches/ev2-export/subversion/libsvn_client/copy.c Wed May 16 04:13:40 2012
@@ -1281,16 +1281,19 @@ wc_to_repos_copy(const apr_array_header_
   SVN_ERR(svn_ra_get_repos_root2(ra_session, &repos_root, pool));
 
   /* Fetch RA commit editor. */
-  SVN_ERR(svn_ra__register_editor_shim_callbacks(ra_session,
-                        svn_client__get_shim_callbacks(ctx->wc_ctx, relpath_map,
-                                                       pool)));
-  SVN_ERR(svn_ra_get_commit_editor4(ra_session, &editor,
-                                    commit_revprops,
-                                    commit_callback,
-                                    commit_baton, NULL,
-                                    TRUE, /* No lock tokens */
-                                    ctx->cancel_func, ctx->cancel_baton,
-                                    pool, pool));
+  SVN_ERR(svn_ra__get_commit_ev2(&editor, ra_session,
+                                 commit_revprops,
+                                 commit_callback,
+                                 commit_baton, NULL,
+                                 TRUE, /* No lock tokens */
+                                 svn_client__ra_provide_base,
+                                 svn_client__ra_provide_props,
+                                 svn_client__ra_get_copysrc_kind,
+                                 svn_client__ra_make_cb_baton(ctx->wc_ctx,
+                                                              relpath_map,
+                                                              pool),
+                                 ctx->cancel_func, ctx->cancel_baton,
+                                 pool, pool));
 
   /* Perform the commit. */
   SVN_ERR_W(svn_client__do_commit(repos_root, commit_items, editor,