You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2013/02/20 19:38:52 UTC
svn commit: r1448345 - /subversion/trunk/subversion/libsvn_client/externals.c
Author: rhuijben
Date: Wed Feb 20 18:38:52 2013
New Revision: 1448345
URL: http://svn.apache.org/r1448345
Log:
* subversion/libsvn_client/externals.c
(svn_client__handle_externals): Use cheaper check for not-versioned.
(svn_client__export_externals): Use iterpool.
Modified:
subversion/trunk/subversion/libsvn_client/externals.c
Modified: subversion/trunk/subversion/libsvn_client/externals.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/externals.c?rev=1448345&r1=1448344&r2=1448345&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/externals.c (original)
+++ subversion/trunk/subversion/libsvn_client/externals.c Wed Feb 20 18:38:52 2013
@@ -1016,12 +1016,12 @@ svn_client__handle_externals(apr_hash_t
* external and the DEFINING_ABSPATH which we can remove? */
parent_abspath = item_abspath;
do {
- svn_wc_status3_t *parent_status;
+ svn_node_kind_t kind;
parent_abspath = svn_dirent_dirname(parent_abspath, iterpool);
- SVN_ERR(svn_wc_status3(&parent_status, ctx->wc_ctx, parent_abspath,
- iterpool, iterpool));
- if (parent_status->node_status == svn_wc_status_unversioned)
+ SVN_ERR(svn_wc_read_kind(&kind, ctx->wc_ctx, parent_abspath, FALSE,
+ iterpool));
+ if (kind == svn_node_none)
{
svn_error_t *err;
@@ -1076,7 +1076,7 @@ svn_client__export_externals(apr_hash_t
SVN_ERR(svn_wc_parse_externals_description3(&items, local_abspath,
desc_text, FALSE,
- scratch_pool));
+ iterpool));
if (! items->nelts)
continue;