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/06/12 13:12:51 UTC

svn commit: r1349255 - /subversion/trunk/subversion/libsvn_repos/replay.c

Author: hwright
Date: Tue Jun 12 11:12:50 2012
New Revision: 1349255

URL: http://svn.apache.org/viewvc?rev=1349255&view=rev
Log:
* subversion/libsvn_repos/replay.c:
  Add a define for using the Ev2 implementation, and wrap a few functions
  with it.

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=1349255&r1=1349254&r2=1349255&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/replay.c (original)
+++ subversion/trunk/subversion/libsvn_repos/replay.c Tue Jun 12 11:12:50 2012
@@ -101,6 +101,7 @@
    (though not necessarily in the same order in which they
    occurred). */
 
+/* #define USE_EV2_IMPL */
 
 
 /*** Helper functions. ***/
@@ -147,6 +148,7 @@ struct path_driver_cb_baton
   apr_pool_t *pool;
 };
 
+#ifndef USE_EV2_IMPL
 /* Recursively traverse EDIT_PATH (as it exists under SOURCE_ROOT) emitting
    the appropriate editor calls to add it and its children without any
    history.  This is meant to be used when either a subset of the tree
@@ -777,6 +779,7 @@ path_driver_cb_func(void **dir_baton,
 
   return SVN_NO_ERROR;
 }
+#endif
 
 
 
@@ -792,7 +795,7 @@ svn_repos_replay2(svn_fs_root_t *root,
                   void *authz_read_baton,
                   apr_pool_t *pool)
 {
-#if 1
+#ifndef USE_EV2_IMPL
   apr_hash_t *fs_changes;
   apr_hash_t *changed_paths;
   apr_hash_index_t *hi;