Re: conflict resolver callback question / enhancement request
From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2007-10-12 18:17:06 CEST
On 9/6/07, Stefan Küng <tortoisesvn@gmail.com> wrote:
> > And yes, you're right: we should expand the conflict_description_t to
Here's my interactive-prop-conflict design. Code forthcoming.
The only property actions are 'set' and 'delete'. Thus there are only
- two people try to set the same property to different values
(Both people deleting a prop is a mergeable change, as is two propsets
In svn 1.4, when a property conflict happens, libsvn_wc just marks the
Proposal to extend our interactive conflict callback for props:
- Invoke conflict callback for *each* property conflict discovered.
- svn_wc_conflict_description_t is expanded to describe a property
- add new fields, and only set them when we're describing a
const char *propname;
- the "action" field is either 'edit' or 'delete'... (and
- the "reason" field is either 'edited' or 'deleted'... (and
- svn_wc_conflict_result_t is expanded to describe the resolution of
- add a new field:
svn_string_t *merged_propvalue;
- add new enums:
svn_wc_conflict_result_choose_base_propvalue
As one would expect, returning one of these new result-codes tells
- returning 'svn_wc_conflict_result_conflicted' tells libsvn_wc
---------------------------------------------------------------------
|
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.