A struct that describes a conflict that has occurred in the working copy.
The conflict described by this structure is one of:
- a conflict on the content of the file node local_abspath
- a conflict on the property property_name of local_abspath
- a tree conflict, of which local_abspath is the victim Be aware that the victim of a tree conflict can be a non-existent node. The three kinds of conflict are distinguished by kind.
- Note
- Fields may be added to the end of this structure in future versions. Therefore, to preserve binary compatibility, users should not directly allocate structures of this type but should use svn_wc_create_conflict_description_text2() or svn_wc_create_conflict_description_prop2() or svn_wc_create_conflict_description_tree2() instead.
- Since
- New in 1.7.
Definition at line 1678 of file svn_wc.h.
const char* svn_wc_conflict_description2_t::base_abspath |
If this is text-conflict and involves the merging of two files descended from a common ancestor, here are the paths of up to four fulltext files that can be used to interactively resolve the conflict.
base_abspath, their_abspath and my_abspath are absolute paths.
Is merged_file relative to some directory, or absolute?
All four files will be in repository-normal form – LF line endings and contracted keywords. (If any of these files are not available, they default to NULL.)
On the other hand, if this is a property-conflict, then these paths represent temporary files that contain the three different property-values in conflict. The fourth path (merged_file
) may or may not be NULL; if set, it represents libsvn_wc's attempt to merge the property values together. (Remember that property values are technically binary values, and thus can't always be merged.)
Definition at line 1734 of file svn_wc.h.