svn_wc_entry_t Struct Reference
[Working copy management]

A working copy entry -- that is, revision control information about one versioned entity. More...

#include <svn_wc.h>


Data Fields

const char * name
 entry's name
svn_revnum_t revision
 base revision
const char * url
 url in repository
const char * repos
 canonical repository URL or NULL if not known
const char * uuid
 repository uuid
svn_node_kind_t kind
 node kind (file, dir, ...)
svn_wc_schedule_t schedule
 scheduling (add, delete, replace ...)
svn_boolean_t copied
 in a copied state (possibly because the entry is a child of a path that is svn_wc_schedule_add or svn_wc_schedule_replace, when the entry itself is svn_wc_schedule_normal)
svn_boolean_t deleted
 deleted, but parent rev lags behind
svn_boolean_t absent
 absent -- we know an entry of this name exists, but that's all (usually this happens because of authz restrictions)
svn_boolean_t incomplete
 for THIS_DIR entry, implies whole entries file is incomplete
const char * copyfrom_url
 copyfrom location
svn_revnum_t copyfrom_rev
 copyfrom revision
const char * conflict_old
 old version of conflicted file
const char * conflict_new
 new version of conflicted file
const char * conflict_wrk
 working version of conflicted file
const char * prejfile
 property reject file
apr_time_t text_time
 last up-to-date time for text contents (0 means no information available)
apr_time_t prop_time
 last up-to-date time for properties (0 means no information available)
const char * checksum
 Hex MD5 checksum for the untranslated text base file, can be NULL for backwards compatibility.
svn_revnum_t cmt_rev
 last revision this was changed
apr_time_t cmt_date
 last date this was changed
const char * cmt_author
 last commit author of this item
const char * lock_token
 lock token or NULL if path not locked in this WC
Since:
New in 1.2.

const char * lock_owner
 lock owner, or NULL if not locked in this WC
Since:
New in 1.2.

const char * lock_comment
 lock comment or NULL if not locked in this WC or no comment
Since:
New in 1.2.

apr_time_t lock_creation_date
 Lock creation date or 0 if not locked in this WC
Since:
New in 1.2.

svn_boolean_t has_props
 Whether this entry has any working properties.
svn_boolean_t has_prop_mods
 Whether this entry has property modifications.
const char * cachable_props
 A space-separated list of all properties whose presence/absence is cached in this entry.
const char * present_props
 Cached property existence for this entry.
const char * changelist
 which changelist this item is part of, or NULL if not part of any.
apr_off_t working_size
 Size of the file after being translated into local representation, or SVN_WC_ENTRY_WORKING_SIZE_UNKNOWN if unknown.
svn_boolean_t keep_local
 Whether a local copy of this entry should be kept in the working copy after a deletion has been committed, Only valid for the this-dir entry when it is scheduled for deletion.
svn_depth_t depth
 The depth of this entry.
const char * tree_conflict_data
 Serialized data for all of the tree conflicts detected in this_dir.
const char * file_external_path
 The entry is a intra-repository file external and this is the repository root relative path to the file specified in the externals definition, otherwise NULL if the entry is not a file external.
svn_opt_revision_t file_external_peg_rev
 The entry is a intra-repository file external and this is the peg revision number specified in the externals definition.
svn_opt_revision_t file_external_rev
 The entry is a intra-repository file external and this is the operative revision number specified in the externals definition.


Detailed Description

A working copy entry -- that is, revision control information about one versioned entity.

Definition at line 1815 of file svn_wc.h.


Field Documentation

const char* svn_wc_entry_t::cachable_props
 

A space-separated list of all properties whose presence/absence is cached in this entry.

See also:
present_props.
Since:
New in 1.4.

Definition at line 1941 of file svn_wc.h.

const char* svn_wc_entry_t::changelist
 

which changelist this item is part of, or NULL if not part of any.

Since:
New in 1.5.

Definition at line 1955 of file svn_wc.h.

svn_depth_t svn_wc_entry_t::depth
 

The depth of this entry.

### It's a bit annoying that we only use this on this_dir ### entries, yet it will exist (with value svn_depth_infinity) on ### all entries. Maybe some future extensibility would make this ### field meaningful on entries besides this_dir.

Since:
New in 1.5.

Definition at line 1980 of file svn_wc.h.

const char* svn_wc_entry_t::file_external_path
 

The entry is a intra-repository file external and this is the repository root relative path to the file specified in the externals definition, otherwise NULL if the entry is not a file external.

Since:
New in 1.6.

Definition at line 1993 of file svn_wc.h.

svn_opt_revision_t svn_wc_entry_t::file_external_peg_rev
 

The entry is a intra-repository file external and this is the peg revision number specified in the externals definition.

This field is only valid when the file_external_path field is non-NULL. The only permissible values are svn_opt_revision_unspecified if the entry is not an external, svn_opt_revision_head if the external revision is unspecified or specified with -r HEAD or svn_opt_revision_number for a specific revision number.

Since:
New in 1.6.

Definition at line 2005 of file svn_wc.h.

svn_opt_revision_t svn_wc_entry_t::file_external_rev
 

The entry is a intra-repository file external and this is the operative revision number specified in the externals definition.

This field is only valid when the file_external_path field is non-NULL. The only permissible values are svn_opt_revision_unspecified if the entry is not an external, svn_opt_revision_head if the external revision is unspecified or specified with -r HEAD or svn_opt_revision_number for a specific revision number.

Since:
New in 1.6.

Definition at line 2017 of file svn_wc.h.

svn_boolean_t svn_wc_entry_t::has_prop_mods
 

Whether this entry has property modifications.

Note:
For working copies in older formats, this flag is not valid.
See also:
svn_wc_props_modified_p().
Since:
New in 1.4.

Definition at line 1933 of file svn_wc.h.

svn_boolean_t svn_wc_entry_t::has_props
 

Whether this entry has any working properties.

False if this information is not stored in the entry.

Since:
New in 1.4.

Definition at line 1924 of file svn_wc.h.

svn_boolean_t svn_wc_entry_t::keep_local
 

Whether a local copy of this entry should be kept in the working copy after a deletion has been committed, Only valid for the this-dir entry when it is scheduled for deletion.

Since:
New in 1.5.

Definition at line 1970 of file svn_wc.h.

const char* svn_wc_entry_t::present_props
 

Cached property existence for this entry.

This is a space-separated list of property names. If a name exists in cachable_props but not in this list, this entry does not have that property. If a name exists in both lists, the property is present on this entry.

Since:
New in 1.4.

Definition at line 1950 of file svn_wc.h.

const char* svn_wc_entry_t::tree_conflict_data
 

Serialized data for all of the tree conflicts detected in this_dir.

Since:
New in 1.6.

Definition at line 1985 of file svn_wc.h.

apr_off_t svn_wc_entry_t::working_size
 

Size of the file after being translated into local representation, or SVN_WC_ENTRY_WORKING_SIZE_UNKNOWN if unknown.

Since:
New in 1.5.

Definition at line 1963 of file svn_wc.h.


The documentation for this struct was generated from the following file:
Generated on Tue Oct 7 04:09:58 2008 for Subversion by  doxygen 1.3.9.1