Author: gstein
Date: Wed Jan 25 13:31:39 2012
New Revision: 1235738
URL: http://svn.apache.org/viewvc?rev=1235738&view=rev
Log:
Type incompatibility is just a warning on my box, but breaks on
others... so: unbreak the build.
* subversion/libsvn_delta/compat.c:
(rotate_cb): add a callback for handling rotations
(editor_from_delta): insert the rotation callback into editor_cbs
Modified:
subversion/trunk/subversion/libsvn_delta/compat.c
Modified: subversion/trunk/subversion/libsvn_delta/compat.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_delta/compat.c?rev=1235738&r1=1235737&r2=1235738&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_delta/compat.c (original)
+++ subversion/trunk/subversion/libsvn_delta/compat.c Wed Jan 25 13:31:39 2012
@@ -1316,6 +1316,18 @@ move_cb(void *baton,
return SVN_NO_ERROR;
}
+/* This implements svn_editor_cb_rotate_t */
+static svn_error_t *
+rotate_cb(void *baton,
+ const apr_array_header_t *relpaths,
+ const apr_array_header_t *revisions,
+ apr_pool_t *scratch_pool)
+{
+ struct editor_baton *eb = baton;
+
+ return SVN_NO_ERROR;
+}
+
static svn_error_t *
change_props(const svn_delta_editor_t *editor,
void *baton,
@@ -1611,6 +1623,7 @@ editor_from_delta(svn_editor_t **editor_
delete_cb,
copy_cb,
move_cb,
+ rotate_cb,
complete_cb,
abort_cb
};