subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1232916 - /subversion/branches/ev2-export/subversion/libsvn_client/export.c
Date Wed, 18 Jan 2012 14:47:54 GMT
Author: hwright
Date: Wed Jan 18 14:47:53 2012
New Revision: 1232916

URL: http://svn.apache.org/viewvc?rev=1232916&view=rev
Log:
On the ev2-export branch:
Remove no-op callbacks, as the editor no longer requires we provide these.

* subversion/libsvn_client/export.c
  (set_props, complete): Remove.
  (get_editor): Don't set callbacks for the above.

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

Modified: subversion/branches/ev2-export/subversion/libsvn_client/export.c
URL: http://svn.apache.org/viewvc/subversion/branches/ev2-export/subversion/libsvn_client/export.c?rev=1232916&r1=1232915&r2=1232916&view=diff
==============================================================================
--- subversion/branches/ev2-export/subversion/libsvn_client/export.c (original)
+++ subversion/branches/ev2-export/subversion/libsvn_client/export.c Wed Jan 18 14:47:53 2012
@@ -820,25 +820,6 @@ add_file(void *baton,
 }
 
 static svn_error_t *
-set_props(void *baton,
-          const char *relpath,
-          svn_revnum_t revision,
-          apr_hash_t *props,
-          svn_boolean_t complete,
-          apr_pool_t *scratch_pool)
-{
-  /* This is an export, we don't care about properties. */
-  return SVN_NO_ERROR;
-}
-
-static svn_error_t *
-complete(void *baton,
-         apr_pool_t *scratch_pool)
-{
-  return SVN_NO_ERROR;
-}
-
-static svn_error_t *
 add_directory(void *baton,
               const char *relpath,
               const apr_array_header_t *children,
@@ -894,8 +875,6 @@ get_editor(const svn_delta_editor_t **ex
 
   SVN_ERR(svn_editor_create(&editor, eb, ctx->cancel_func, ctx->cancel_baton,
                             result_pool, scratch_pool));
-  SVN_ERR(svn_editor_setcb_set_props(editor, set_props, scratch_pool));
-  SVN_ERR(svn_editor_setcb_complete(editor, complete, scratch_pool));
   SVN_ERR(svn_editor_setcb_add_directory(editor, add_directory,
                                          scratch_pool));
   SVN_ERR(svn_editor_setcb_add_file(editor, add_file, scratch_pool));



Mime
View raw message