[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r27302 - trunk/subversion/libsvn_client

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-10-23 00:13:16 CEST

Thanks for catching this!

--dave

On 10/21/07, jpeacock@tigris.org <jpeacock@tigris.org> wrote:
> Author: jpeacock
> Date: Sun Oct 21 18:48:59 2007
> New Revision: 27302
>
> Log:
> New depth argument for svn_client_commit4 wasn't promoted to
> svn_client_commit3 in r26241, thus breaking all older commit API calls.
>
> * subversion/libsvn_client/commit.c
> (svn_client_commit3): synthesize depth argument from old recurse argument
>
> Reviewed by: kfogel
>
>
> Modified:
> trunk/subversion/libsvn_client/commit.c
>
> Modified: trunk/subversion/libsvn_client/commit.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/commit.c?pathrev=27302&r1=27301&r2=27302
> ==============================================================================
> --- trunk/subversion/libsvn_client/commit.c (original)
> +++ trunk/subversion/libsvn_client/commit.c Sun Oct 21 18:48:59 2007
> @@ -1770,7 +1770,9 @@
> svn_client_ctx_t *ctx,
> apr_pool_t *pool)
> {
> - return svn_client_commit4(commit_info_p, targets, recurse, keep_locks,
> + svn_depth_t depth = SVN_DEPTH_INFINITY_OR_FILES(recurse);
> +
> + return svn_client_commit4(commit_info_p, targets, depth, keep_locks,
> FALSE, NULL, ctx, pool);
> }
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: svn-help@subversion.tigris.org
>
>

-- 
David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 23 00:13:26 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.