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

Re: r1477876 - setting the node kind in a prop conflict description

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 2 May 2013 09:42:52 +0200

On Wed, May 01, 2013 at 08:32:55PM +0100, Julian Foad wrote:
> r1477876, which I proposed for back-port to 1.8.x, fills in the 'node kind' field correctly for a prop conflict.  The code in 'svn' shown below now leads to a crash because the 'file/edit/edit' case matches a prop conflict and calls the text conflict handler function, which asserts that the conflict kind is 'text'.
>
> Stefan Sperling, can you confirm the intention there was to match only a text conflict?  (I think this is your code.)

I don't think I wrote this code originally but I certainly touched
it during the 1.8-dev timeframe.

Your patch looks very sensible to me.

>   This looks like a simple enough fix (shown below), except I'm dealing with a knock-on effect already so I thought
> it's time I posted here to get a second opinion.  I'm a bit uncertain about the 'obstruction' handling below it.  How do the obstruction cases relate to the conflict kinds 'text', 'prop', and 'tree'?

The obstruction handling dates back to 1.5, I believe.
It was added as part of the original conflict resolution callback
implementation.

> If there are any obstruction cases that are reported as conflict kind 'text', then this patch would probably break them.  I don't know if there are.
>

That wouldn't make any sense anyway. They should be tree-conflicts.
Received on 2013-05-02 09:43:33 CEST

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.