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/14 13:34:38 UTC
svn commit: r1022469 -
/subversion/trunk/subversion/tests/libsvn_wc/pristine-store-test.c
Author: julianfoad
Date: Thu Oct 14 11:34:38 2010
New Revision: 1022469
URL: http://svn.apache.org/viewvc?rev=1022469&view=rev
Log:
* subversion/tests/libsvn_wc/pristine-store-test.c
(pristine_get_translated): Use the new svn_wc_add_from_disk() instead of
svn_wc_add4().
Modified:
subversion/trunk/subversion/tests/libsvn_wc/pristine-store-test.c
Modified: subversion/trunk/subversion/tests/libsvn_wc/pristine-store-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_wc/pristine-store-test.c?rev=1022469&r1=1022468&r2=1022469&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/pristine-store-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/pristine-store-test.c Thu Oct 14 11:34:38 2010
@@ -256,9 +256,8 @@ pristine_get_translated(const svn_test_o
SVN_ERR(svn_wc__db_wclock_obtain(wc_ctx->db, dirname, 0, FALSE, pool));
- SVN_ERR(svn_wc_add4(wc_ctx, versioned_abspath, svn_depth_empty,
- NULL, SVN_INVALID_REVNUM, NULL, NULL, NULL, NULL,
- pool));
+ SVN_ERR(svn_wc_add_from_disk(wc_ctx, versioned_abspath,
+ NULL, NULL, NULL, NULL, pool));
SVN_ERR(svn_wc_prop_set4(wc_ctx, versioned_abspath,
"svn:keywords", svn_string_create("Rev", pool),
FALSE, NULL, NULL, pool));