Author: rhuijben
Date: Mon Mar 9 15:45:14 2015
New Revision: 1665264
URL: http://svn.apache.org/r1665264
Log:
In ra-tests.c: Minor housekeeping, including removing a SVN_DBG().
* subversion/tests/libsvn_ra/ra-test.c
(SVN_DEPRECATED): Remove define.
(commit_changes,
commit_tree): Use non-deprecated function.
(ra_revision_errors): Remove SVN_DBG().
(max_threads): Increase to 4.
Modified:
subversion/trunk/subversion/tests/libsvn_ra/ra-test.c
Modified: subversion/trunk/subversion/tests/libsvn_ra/ra-test.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_ra/ra-test.c?rev=1665264&r1=1665263&r2=1665264&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_ra/ra-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_ra/ra-test.c Mon Mar 9 15:45:14
2015
@@ -27,7 +27,6 @@
#include <apr_pools.h>
#include <apr_file_io.h>
#include <assert.h>
-#define SVN_DEPRECATED
#include "svn_error.h"
#include "svn_delta.h"
@@ -82,7 +81,7 @@ commit_changes(svn_ra_session_t *session
SVN_ERR(svn_ra_get_commit_editor3(session, &editor, &edit_baton,
revprop_table,
NULL, NULL, NULL, TRUE, pool));
- SVN_ERR(svn_ra_get_repos_root(session, &repos_root_url, pool));
+ SVN_ERR(svn_ra_get_repos_root2(session, &repos_root_url, pool));
SVN_ERR(editor->open_root(edit_baton, SVN_INVALID_REVNUM,
pool, &root_baton));
@@ -106,7 +105,7 @@ commit_tree(svn_ra_session_t *session,
SVN_ERR(svn_ra_get_commit_editor3(session, &editor, &edit_baton,
revprop_table,
NULL, NULL, NULL, TRUE, pool));
- SVN_ERR(svn_ra_get_repos_root(session, &repos_root_url, pool));
+ SVN_ERR(svn_ra_get_repos_root2(session, &repos_root_url, pool));
SVN_ERR(editor->open_root(edit_baton, SVN_INVALID_REVNUM,
pool, &root_baton));
@@ -944,7 +943,6 @@ ra_revision_errors(const svn_test_opts_t
SVN_DIRENT_ALL, pool),
SVN_ERR_FS_NO_SUCH_REVISION);
- SVN_DBG(("Final"));
SVN_ERR(svn_ra_get_dir2(ra_session, &dirents, &fetched,
&props, "A", SVN_INVALID_REVNUM,
SVN_DIRENT_ALL, pool));
@@ -958,7 +956,7 @@ ra_revision_errors(const svn_test_opts_t
/* The test table. */
-static int max_threads = 2;
+static int max_threads = 4;
static struct svn_test_descriptor_t test_funcs[] =
{