GME  13
Public Attributes
svn_wc_conflict_description2_t Struct Reference

#include <svn_wc.h>

Collaboration diagram for svn_wc_conflict_description2_t:
Collaboration graph
[legend]

List of all members.

Public Attributes

const char * local_abspath
svn_node_kind_t node_kind
svn_wc_conflict_kind_t kind
const char * property_name
svn_boolean_t is_binary
const char * mime_type
svn_wc_conflict_action_t action
svn_wc_conflict_reason_t reason
const char * base_abspath
const char * their_abspath
const char * my_abspath
const char * merged_file
svn_wc_operation_t operation
const svn_wc_conflict_version_tsrc_left_version
const svn_wc_conflict_version_tsrc_right_version

Detailed Description

A struct that describes a conflict that has occurred in the working copy.

The conflict described by this structure is one of:

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_conflict_description_create_text2() or svn_wc_conflict_description_create_prop2() or svn_wc_conflict_description_create_tree2() instead.
Since:
New in 1.7.

Definition at line 1754 of file svn_wc.h.


Member Data Documentation

The action being attempted on the conflicted node or property. (When kind is 'text', this action must be 'edit'.)

Definition at line 1781 of file svn_wc.h.

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 1810 of file svn_wc.h.

Whether svn thinks ('my' version of) path is a 'binary' file. (Only if kind is 'text', else undefined.)

Definition at line 1772 of file svn_wc.h.

What sort of conflict are we describing?

Definition at line 1764 of file svn_wc.h.

The path that is in conflict (for a tree conflict, it is the victim)

Definition at line 1757 of file svn_wc.h.

merged version; may contain conflict markers

Definition at line 1821 of file svn_wc.h.

The svn:mime-type property of ('my' version of) path, if available, else NULL. (Only if kind is 'text', else undefined.)

Definition at line 1777 of file svn_wc.h.

my locally-edited version of the file

Definition at line 1818 of file svn_wc.h.

The node type of the path being operated on (for a tree conflict, ### which version?)

Definition at line 1761 of file svn_wc.h.

The operation that exposed the conflict. Used only for tree conflicts.

Definition at line 1826 of file svn_wc.h.

The name of the property whose conflict is being described. (Only if kind is 'property'; else undefined.)

Definition at line 1768 of file svn_wc.h.

The state of the target node or property, relative to its merge-left source, that is the reason for the conflict. (When kind is 'text', this reason must be 'edited'.)

Definition at line 1786 of file svn_wc.h.

Info on the "merge-left source" or "older" version of incoming change.

Definition at line 1829 of file svn_wc.h.

Info on the "merge-right source" or "their" version of incoming change.

Definition at line 1832 of file svn_wc.h.

their version of the file

Definition at line 1815 of file svn_wc.h.


The documentation for this struct was generated from the following file: