summaryrefslogtreecommitdiff
path: root/subversion/libsvn_client/util.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2015-10-12 08:54:49 +0000
committerPeter Wemm <peter@FreeBSD.org>2015-10-12 08:54:49 +0000
commitdc5d469d6574e9fb03bdd793658bb371315b306a (patch)
tree013c2e6845398e5a9ca4901dcc077769c7520e1d /subversion/libsvn_client/util.c
parent58218291fa73a17020ef0447398e9e8a78f9e8c7 (diff)
Diffstat (limited to 'subversion/libsvn_client/util.c')
-rw-r--r--subversion/libsvn_client/util.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/subversion/libsvn_client/util.c b/subversion/libsvn_client/util.c
index 06855e7e70e0..248412b04e8d 100644
--- a/subversion/libsvn_client/util.c
+++ b/subversion/libsvn_client/util.c
@@ -138,7 +138,13 @@ svn_client__pathrev_fspath(const svn_client__pathrev_t *pathrev,
svn_client_commit_item3_t *
svn_client_commit_item3_create(apr_pool_t *pool)
{
- return apr_pcalloc(pool, sizeof(svn_client_commit_item3_t));
+ svn_client_commit_item3_t *item = apr_pcalloc(pool, sizeof(*item));
+
+ item->revision = SVN_INVALID_REVNUM;
+ item->copyfrom_rev = SVN_INVALID_REVNUM;
+ item->kind = svn_node_unknown;
+
+ return item;
}
svn_client_commit_item3_t *
@@ -195,7 +201,6 @@ svn_client__wc_node_get_base(svn_client__pathrev_t **base_p,
NULL,
wc_ctx, wc_abspath,
TRUE /* ignore_enoent */,
- TRUE /* show_hidden */,
result_pool, scratch_pool));
if ((*base_p)->repos_root_url && relpath)
{
@@ -225,7 +230,8 @@ svn_client__wc_node_get_origin(svn_client__pathrev_t **origin_p,
&relpath,
&(*origin_p)->repos_root_url,
&(*origin_p)->repos_uuid,
- NULL, ctx->wc_ctx, wc_abspath,
+ NULL, NULL,
+ ctx->wc_ctx, wc_abspath,
FALSE /* scan_deleted */,
result_pool, scratch_pool));
if ((*origin_p)->repos_root_url && relpath)