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 2010/10/27 14:17:22 UTC
svn commit: r1027931 -
/subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c
Author: julianfoad
Date: Wed Oct 27 12:17:22 2010
New Revision: 1027931
URL: http://svn.apache.org/viewvc?rev=1027931&view=rev
Log:
* subversion/tests/libsvn_wc/op-depth-test.c
(wc_wc_copies): For the copies being tested, call svn_wc_copy3()
directly rather than going through the client API, because this is
supposed to be a unit test.
Modified:
subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c
Modified: subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c?rev=1027931&r1=1027930&r2=1027931&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c Wed Oct 27 12:17:22 2010
@@ -520,7 +520,11 @@ wc_wc_copies(wc_baton_t *b)
/* Perform each subtest in turn. */
for (subtest = subtests; subtest->from_path; subtest++)
{
- SVN_ERR(wc_copy(b, subtest->from_path, subtest->to_path));
+ SVN_ERR(svn_wc_copy3(b->wc_ctx,
+ wc_path(b, subtest->from_path),
+ wc_path(b, subtest->to_path),
+ FALSE /* metadata_only */,
+ NULL, NULL, NULL, NULL, b->pool));
SVN_ERR(check_db_rows(b, subtest->to_path, subtest->expected));
}
}