You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2011/05/24 16:19:52 UTC

svn commit: r1127072 - /subversion/trunk/subversion/tests/libsvn_wc/entries-compat.c

Author: julianfoad
Date: Tue May 24 14:19:52 2011
New Revision: 1127072

URL: http://svn.apache.org/viewvc?rev=1127072&view=rev
Log:
* /home/julianfoad/src/subversion-b/subversion/tests/libsvn_wc/entries-compat.c
  (make_one_db): Revert a change made for debugging that was committed
    accidentally in r1127069.

Modified:
    subversion/trunk/subversion/tests/libsvn_wc/entries-compat.c

Modified: subversion/trunk/subversion/tests/libsvn_wc/entries-compat.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_wc/entries-compat.c?rev=1127072&r1=1127071&r2=1127072&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/entries-compat.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/entries-compat.c Tue May 24 14:19:52 2011
@@ -333,13 +333,13 @@ create_fake_wc(const char *subdir, int f
 {
   const char *root;
   const char *dirpath;
-  const char * const *my_statements; /*[] = {
+  const char * const my_statements[] = {
     statements[STMT_CREATE_SCHEMA],
     statements[STMT_CREATE_NODES],
     statements[STMT_CREATE_NODES_TRIGGERS],
     TESTING_DATA,
     NULL
-  };*/
+  };
   const char * const M_statements[] = {
     statements[STMT_CREATE_SCHEMA],
     statements[STMT_CREATE_NODES],
@@ -348,14 +348,6 @@ create_fake_wc(const char *subdir, int f
     NULL
   };
 
-  apr_array_header_t *a = apr_array_make(scratch_pool, 10, sizeof(const char *));
-  APR_ARRAY_PUSH(a, const char *) = statements[STMT_CREATE_SCHEMA];
-  APR_ARRAY_PUSH(a, const char *) = statements[STMT_CREATE_NODES];
-  APR_ARRAY_PUSH(a, const char *) = statements[STMT_CREATE_NODES_TRIGGERS];
-  svn_cstring_split_append(a, TESTING_DATA, ";", TRUE /* chop_whitespace */, scratch_pool);
-  APR_ARRAY_PUSH(a, const char *) = NULL;
-  my_statements = (const char **)a->elts;
-
   root = svn_dirent_join("fake-wc", subdir, scratch_pool);
 
   SVN_ERR(svn_io_remove_dir2(root, TRUE, NULL, NULL, scratch_pool));