You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2009/11/16 23:54:18 UTC
svn commit: r881023 -
/subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp
Author: hwright
Date: Mon Nov 16 22:54:18 2009
New Revision: 881023
URL: http://svn.apache.org/viewvc?rev=881023&view=rev
Log:
Update a couple of deprecated function calls in JavaHL.
* subversion/bindings/javahl/native/SVNClient.cpp
(revProperty, setRevProperty, revProperties): Update calls to
svn_client_url_from_path2().
Modified:
subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp
Modified: subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp?rev=881023&r1=881022&r2=881023&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp Mon Nov 16 22:54:18 2009
@@ -1473,8 +1473,9 @@
const char *URL;
svn_string_t *propval;
svn_revnum_t set_rev;
- SVN_JNI_ERR(svn_client_url_from_path(&URL, intPath.c_str(),
- requestPool.pool()),
+ SVN_JNI_ERR(svn_client_url_from_path2(&URL, intPath.c_str(), ctx,
+ requestPool.pool(),
+ requestPool.pool()),
NULL);
if (URL == NULL)
@@ -1659,8 +1660,9 @@
return;
const char *URL;
- SVN_JNI_ERR(svn_client_url_from_path(&URL, intPath.c_str(),
- requestPool.pool()), );
+ SVN_JNI_ERR(svn_client_url_from_path2(&URL, intPath.c_str(), ctx,
+ requestPool.pool(),
+ requestPool.pool()), );
if (URL == NULL)
{
@@ -1869,13 +1871,14 @@
Path intPath(path);
SVN_JNI_ERR(intPath.error_occured(), NULL);
+ svn_client_ctx_t *ctx = getContext(NULL);
const char *URL;
svn_revnum_t set_rev;
- SVN_JNI_ERR(svn_client_url_from_path(&URL, intPath.c_str(),
- requestPool.pool()),
+ SVN_JNI_ERR(svn_client_url_from_path2(&URL, intPath.c_str(), ctx,
+ requestPool.pool(),
+ requestPool.pool()),
NULL);
- svn_client_ctx_t *ctx = getContext(NULL);
if (ctx == NULL)
return NULL;