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

Re: svn commit: r26220 - in branches/copy-on-update/subversion: libsvn_repos libsvn_wc

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2007-08-21 21:21:15 CEST

This is why I love committing to branches. Feedback already!

I've added an authz check as Vlad suggested...

On 8/21/07, C. Michael Pilato <cmpilato@collab.net> wrote:
> >> + if (closest_copy_root != NULL)
> >> + {
> >> + /* If the destination of the copy event is the same path as
> >> + o_path, then we've found something interesting that should
> >> + have 'copyfrom' history. */
> >> + if (strcmp(closest_copy_path + 1, o_path) == 0)
>
> I don't think other processes permit this to happen, but this could should
> be able to handle the possibility of closest_copy_path being "/". Won't
> strcmp() choke here in that case?

How could the destination of a copy event be '/'?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 21 22:17:07 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.