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

Re: svn commit: r13332 - branches/locking/subversion/libsvn_client

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-03-09 22:00:29 CET

On Wed, 9 Mar 2005 fitz@tigris.org wrote:

> Author: fitz
> Date: Wed Mar 9 14:34:28 2005
> New Revision: 13332
>
> Modified:
> branches/locking/subversion/libsvn_client/commit.c
> Log:
> Be efficient. Thanks to cmpilato for pointing this out.
>
> * subversion/libsvn_client/commit.c (svn_client_commit2): Break out of
> the loop as soon as we find a changed path.
>
>
> Modified: branches/locking/subversion/libsvn_client/commit.c
> Url: http://svn.collab.net/viewcvs/svn/branches/locking/subversion/libsvn_client/commit.c?view=diff&rev=13332&p1=branches/locking/subversion/libsvn_client/commit.c&r1=13331&p2=branches/locking/subversion/libsvn_client/commit.c&r2=13332
> ==============================================================================
> --- branches/locking/subversion/libsvn_client/commit.c (original)
> +++ branches/locking/subversion/libsvn_client/commit.c Wed Mar 9 14:34:28 2005
> @@ -1360,6 +1360,7 @@
>
> if (item->state_flags != SVN_CLIENT_COMMIT_ITEM_LOCK_TOKEN) {
> found_changed_path = TRUE;
> + break;
> }
> }

I think he pointed out the odd brace placement as well:-)

//P

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 9 21:58:33 2005

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.