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

Re: Tree-conflicts: HEADS UP: update failure with tc-siblings :0

From: Stephen Butler <sbutler_at_elego.de>
Date: Wed, 12 Nov 2008 23:05:33 +0100

Quoting Julian Foad <julianfoad_at_btopenworld.com>:

> On Wed, 2008-11-12 at 10:29 +0100, Stephen Butler wrote:
>> Quoting "Neels J. Hofmeyr" <neels_at_elego.de>:
>>
>> > Hey guys,
>> >
>> > while trying to write a test for my most recent fix ("resolved" with
>> > --depth), I found a most horrendous failure in tree-conflicts reporting
>> > during update.
>> >
>> > See r34153 (on branch tc-resolve), inline comments in depth_tests.py's
>> > function make_depth_tree_conflicts(), marked "##". :O
>> >
>> > Had no time to investigate yet.
>> >
>> > ~Neels
>> >
>>
>> Hi Neels,
>>
>> I thinks this is a case where update "functions as designed". ;-)
>> The setup commits r2 with a prop edit to dir E and a text edit to
>> file E/alpha. In a working copy at r1, dir E is deleted. The
>> update tries to open E to apply the edits, but raises (one) tree
>> conflict because E is scheduled for deletion.
>
> But:
>
> CMD: svn up ...
> C svn-test-work/working_copies/depth_tests-35/A/B/lambda
> C svn-test-work/working_copies/depth_tests-35/A/B/E/alpha
> C svn-test-work/working_copies/depth_tests-35/A/B/E
>
> The main point is that 'lambda' is not inside E, it is a sibling of E,
> so it gets its own conflict. So far so good.
>
> A secondary point is that the notification showed a conflict on
> 'E/alpha' as well as on 'E', which is arguably not great.

That is now fixed on trunk.

>
> But then the "svn status" is inconsistet: it doesn't show conflict on
> 'lambda':
>
> CMD: svn status -v -u -q ...
> D 2 1 jrandom /A/B/E/beta
> D C * 1 1 jrandom /A/B/E/alpha
> D C 2 2 jrandom /A/B/E
> D * 1 1 jrandom /A/B/lambda
> 2 1 jrandom /A/B/F

The missing ' C' for lambda is still missing on trunk. It appears
that two log files are written in /A/B/.svn, for lambda and for E, and
svn_wc__run_log() reads both of them, but the content of the first log
file isn't written to the entry.

Strange. I'll keep digging.

Steve

-- 
Stephen Butler | Software Developer
elego Software Solutions GmbH
Gustav-Meyer-Allee 25 | 13355 Berlin | Germany
fon: +49 30 2345 8696 | mobile: +49 163 25 45 015
fax: +49 30 2345 8695 | http://www.elegosoft.com
Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin
Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-11-12 23:05:45 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.