You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2014/09/22 13:24:58 UTC

svn commit: r1626734 - /subversion/branches/1.8.x-r1619774/subversion/tests/libsvn_fs_fs/fs-pack-test.c

Author: stefan2
Date: Mon Sep 22 11:24:58 2014
New Revision: 1626734

URL: http://svn.apache.org/r1626734
Log:
On the 1.8.x-r1619774 branch:
Update the test code to compile with 1.8.x.

* subversion/tests/libsvn_fs_fs/fs-pack-test.c
  (revprop_caching_on_off): Revert to 1.8.x APIs where needed.

Modified:
    subversion/branches/1.8.x-r1619774/subversion/tests/libsvn_fs_fs/fs-pack-test.c

Modified: subversion/branches/1.8.x-r1619774/subversion/tests/libsvn_fs_fs/fs-pack-test.c
URL: http://svn.apache.org/viewvc/subversion/branches/1.8.x-r1619774/subversion/tests/libsvn_fs_fs/fs-pack-test.c?rev=1626734&r1=1626733&r2=1626734&view=diff
==============================================================================
--- subversion/branches/1.8.x-r1619774/subversion/tests/libsvn_fs_fs/fs-pack-test.c (original)
+++ subversion/branches/1.8.x-r1619774/subversion/tests/libsvn_fs_fs/fs-pack-test.c Mon Sep 22 11:24:58 2014
@@ -888,9 +888,10 @@ revprop_caching_on_off(const svn_test_op
   SVN_ERR(svn_test__create_fs(&fs1, REPO_NAME, opts, pool));
 
   fs_config = apr_hash_make(pool);
-  svn_hash_sets(fs_config, SVN_FS_CONFIG_FSFS_CACHE_REVPROPS, "1");
+  apr_hash_set(fs_config, SVN_FS_CONFIG_FSFS_CACHE_REVPROPS,
+               APR_HASH_KEY_STRING, "1");
 
-  SVN_ERR(svn_fs_open2(&fs2, svn_fs_path(fs1, pool), fs_config, pool, pool));
+  SVN_ERR(svn_fs_open(&fs2, svn_fs_path(fs1, pool), fs_config, pool));
 
   /* With inefficient named atomics, the filesystem will output a warning
      and disable the revprop caching, but we still would like to test