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

Re: Tree conflict bugs I've just been finding

From: Neels J. Hofmeyr <neels_at_elego.de>
Date: Fri, 14 Nov 2008 01:43:19 +0100

Stefan Sperling wrote:

>
>> + if (! wc_root) /* but possibly a switched subdir */
>> + {
>> + /* In order to resolve tree-conflicts on the target PATH, we need an
>> + * adm_access on its parent directory. The lock level then needs to
>> + * extend at least onto the immediate children. */
>> + SVN_ERR(svn_wc_adm_close2(adm_access, pool));
>> + adm_lock_level++;
>
> There's a bug here---^

Yeah, -1 represents infinity, and -1 + 1 is definitely not infinity plus one.

Thanks, I am about to test the stuff.
~Neels

Received on 2008-11-14 01:43:58 CET

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.