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 2010/05/26 15:40:04 UTC
svn commit: r948423 - /subversion/trunk/subversion/libsvn_client/deprecated.c
Author: hwright
Date: Wed May 26 13:40:04 2010
New Revision: 948423
URL: http://svn.apache.org/viewvc?rev=948423&view=rev
Log:
Implement a couple of backward compat functions in terms of the newer
functions, thereby eliminating deep calls into the library, and some
default argument duplication.
* subversion/libsvn_client/deprecated.c
(svn_client_checkout2): Implement in terms of svn_client_checkout3().
(svn_client_checkout): Implement in terms of svn_client_checkout2().
Modified:
subversion/trunk/subversion/libsvn_client/deprecated.c
Modified: subversion/trunk/subversion/libsvn_client/deprecated.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/deprecated.c?rev=948423&r1=948422&r2=948423&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/deprecated.c (original)
+++ subversion/trunk/subversion/libsvn_client/deprecated.c Wed May 26 13:40:04 2010
@@ -1660,11 +1660,10 @@ svn_client_checkout2(svn_revnum_t *resul
svn_client_ctx_t *ctx,
apr_pool_t *pool)
{
- return svn_client__checkout_internal(result_rev, URL, path, peg_revision,
- revision, NULL,
- SVN_DEPTH_INFINITY_OR_FILES(recurse),
- ignore_externals, FALSE, FALSE, NULL,
- ctx, pool);
+ return svn_error_return(svn_client_checkout3(result_rev, URL, path,
+ peg_revision, revision,
+ SVN_DEPTH_INFINITY_OR_FILES(recurse),
+ ignore_externals, FALSE, ctx, pool));
}
svn_error_t *
@@ -1680,10 +1679,9 @@ svn_client_checkout(svn_revnum_t *result
peg_revision.kind = svn_opt_revision_unspecified;
- return svn_client__checkout_internal(result_rev, URL, path, &peg_revision,
- revision, NULL,
- SVN_DEPTH_INFINITY_OR_FILES(recurse),
- FALSE, FALSE, FALSE, NULL, ctx, pool);
+ return svn_error_return(svn_client_checkout2(result_rev, URL, path,
+ &peg_revision, revision, recurse,
+ FALSE, ctx, pool));
}
/*** From info.c ***/