svn_log_entry_t Struct Reference

A structure to represent all the information about a particular log entry. More...

#include <svn_types.h>


Data Fields

apr_hash_t * changed_paths
 A hash containing as keys every path committed in revision; the values are (svn_log_changed_path_t *) stuctures.
svn_revnum_t revision
 The revision of the commit.
apr_hash_t * revprops
 The hash of requested revision properties, which may be NULL if it would contain no revprops.
svn_boolean_t has_children
 Whether or not this message has children.


Detailed 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.

Definition at line 563 of file svn_types.h.


Field Documentation

apr_hash_t* svn_log_entry_t::changed_paths
 

A hash containing as keys every path committed in revision; the values are (svn_log_changed_path_t *) stuctures.

### The only reason changed_paths is not qualified with `const' is that we usually want to loop over it, and apr_hash_first() doesn't take a const hash, for various reasons. I'm not sure that those "various reasons" are actually even relevant anymore, and if they're not, it might be nice to change apr_hash_first() so read-only uses of hashes can be protected via the type system.

Definition at line 575 of file svn_types.h.

svn_boolean_t svn_log_entry_t::has_children
 

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: http://subversion.tigris.org/merge-tracking/design.html#commutative-reporting

Definition at line 600 of file svn_types.h.


The documentation for this struct was generated from the following file:
Generated on Sun Dec 21 19:08:28 2008 for Subversion by  doxygen 1.3.9.1