#[repr(C)]pub struct svn_log_entry_t {
pub changed_paths: *mut apr_hash_t,
pub revision: svn_revnum_t,
pub revprops: *mut apr_hash_t,
pub has_children: svn_boolean_t,
pub changed_paths2: *mut apr_hash_t,
pub non_inheritable: svn_boolean_t,
pub subtractive_merge: svn_boolean_t,
}
Expand description
A structure to represent all the information about a particular log entry.
@note To allow for extending the #svn_log_entry_t structure in future releases, always use svn_log_entry_create() to allocate the structure.
@since New in 1.5.
Fields§
§changed_paths: *mut apr_hash_t
A hash containing as keys every path committed in @a revision; the values are (#svn_log_changed_path_t *) structures.
The subversion core libraries will always set this field to the same value as changed_paths2 for compatibility reasons.
@deprecated Provided for backward compatibility with the 1.5 API.
revision: svn_revnum_t
The revision of the commit.
revprops: *mut apr_hash_t
The hash of requested revision properties, which may be NULL if it would contain no revprops. Maps (const char *) property name to (svn_string_t *) property value.
has_children: svn_boolean_t
Whether or not this message has children.
When a log operation requests additional merge information, extra log entries may be returned as a result of this entry. The new entries, are considered children of the original entry, and will follow it. When the HAS_CHILDREN flag is set, the receiver should increment its stack depth, and wait until an entry is provided with SVN_INVALID_REVNUM which indicates the end of the children.
For log operations which do not request additional merge information, the HAS_CHILDREN flag is always FALSE.
For more information see: https://svn.apache.org/repos/asf/subversion/trunk/notes/merge-tracking/design.html#commutative-reporting
changed_paths2: *mut apr_hash_t
A hash containing as keys every path committed in @a revision; the values are (#svn_log_changed_path2_t *) structures.
If this value is not @c NULL, it MUST have the same value as changed_paths or svn_log_entry_dup() will not create an identical copy.
The subversion core libraries will always set this field to the same value as changed_paths for compatibility with users assuming an older version.
@note See http://svn.haxx.se/dev/archive-2010-08/0362.shtml for further explanation.
@since New in 1.6.
non_inheritable: svn_boolean_t
Whether @a revision should be interpreted as non-inheritable in the same sense of #svn_merge_range_t.
Only set when this #svn_log_entry_t instance is returned by the libsvn_client mergeinfo apis. Currently always FALSE when the #svn_log_entry_t instance is reported by the ra layer.
@since New in 1.7.
subtractive_merge: svn_boolean_t
Whether @a revision is a merged revision resulting from a reverse merge.
@since New in 1.7.
Trait Implementations§
Source§impl Clone for svn_log_entry_t
impl Clone for svn_log_entry_t
Source§fn clone(&self) -> svn_log_entry_t
fn clone(&self) -> svn_log_entry_t
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more