Author: hwright
Date: Sat Nov 24 15:04:52 2012
New Revision: 1413197
URL: http://svn.apache.org/viewvc?rev=1413197&view=rev
Log:
Use the configure-time guard for compiling some Ev2 implementation stuffs.
* subversion/libsvn_repos/replay.c
(USE_EV2_IMPL): Remove the commented out define, and change other instances
to ENABLE_EV2_IMPL.
(path_driver_cb_func): Conditionally compile.
Modified:
subversion/trunk/subversion/libsvn_repos/replay.c
Modified: subversion/trunk/subversion/libsvn_repos/replay.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/replay.c?rev=1413197&r1=1413196&r2=1413197&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/replay.c (original)
+++ subversion/trunk/subversion/libsvn_repos/replay.c Sat Nov 24 15:04:52 2012
@@ -103,8 +103,6 @@
(though not necessarily in the same order in which they
occurred). */
-/* #define USE_EV2_IMPL */
-
/*** Helper functions. ***/
@@ -457,6 +455,7 @@ fill_copyfrom(svn_fs_root_t **copyfrom_r
return SVN_NO_ERROR;
}
+#ifndef ENABLE_EV2_IMPL
static svn_error_t *
path_driver_cb_func(void **dir_baton,
void *parent_baton,
@@ -780,8 +779,9 @@ path_driver_cb_func(void **dir_baton,
return SVN_NO_ERROR;
}
+#endif
-#ifdef USE_EV2_IMPL
+#ifdef ENABLE_EV2_IMPL
static svn_error_t *
fetch_kind_func(svn_kind_t *kind,
void *baton,
@@ -840,7 +840,7 @@ svn_repos_replay2(svn_fs_root_t *root,
void *authz_read_baton,
apr_pool_t *pool)
{
-#ifndef USE_EV2_IMPL
+#ifndef ENABLE_EV2_IMPL
apr_hash_t *fs_changes;
apr_hash_t *changed_paths;
apr_hash_index_t *hi;