Matthew Bentham <mjb67_at_artvps.com> writes:
> wc-ng: work towards eliminating svn_wc_entry_t
>
> * subversion/libsvn_client/commit_util.c
> (add_lock_token): Replace a use of svn_wc__maybe_get_entry with
> use of svn_wc__node_get_*
>
> Patch by: Matthew Bentham <mjb67{_AT_}artvps.com>
> ]]]
> Index: subversion/libsvn_client/commit_util.c
> ===================================================================
> --- subversion/libsvn_client/commit_util.c (revision 909397)
> +++ subversion/libsvn_client/commit_util.c (working copy)
> @@ -195,19 +195,25 @@
> {
> struct add_lock_token_baton *altb = walk_baton;
> apr_pool_t *token_pool = apr_hash_pool_get(altb->lock_tokens);
> - const svn_wc_entry_t *entry;
> + const char* lock_token;
> + const char* url;
> +
> + SVN_ERR(svn_wc__node_get_lock_token(&lock_token, altb->wc_ctx,
> + local_abspath, scratch_pool, scratch_pool));
Indentation is a bit off. I'll fix and commit when the regression tests
finish.
--
Philip
Received on 2010-02-15 15:46:25 CET