diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-08-05 16:22:51 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-08-05 16:22:51 +0000 |
commit | cf46733632c7279a9fd0fe6ce26f9185a4ae82a9 (patch) | |
tree | da27775a2161723ef342e91af41a8b51fedef405 /subversion/libsvn_client/util.c | |
parent | bb0ef45f7c46b0ae221b26265ef98a768c33f820 (diff) | |
download | subversion-tarball-master.tar.gz |
subversion-1.9.7HEADsubversion-1.9.7master
Diffstat (limited to 'subversion/libsvn_client/util.c')
-rw-r--r-- | subversion/libsvn_client/util.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/subversion/libsvn_client/util.c b/subversion/libsvn_client/util.c index 06855e7..248412b 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) |