Subversion
Data Fields
svn_wc_entry_t Struct Reference

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
 The directory containing this entry had a versioned child of this name, but this entry represents a different revision or a switched path at which no item exists in the repository.
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
const char * lock_owner
 lock owner, or NULL if not locked in this WC
const char * lock_comment
 lock comment or NULL if not locked in this WC or no comment
apr_time_t lock_creation_date
 Lock creation date or 0 if not locked in this WC.
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 an 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.

Deprecated:
Provided for backward compatibility with the 1.6 API.

Definition at line 2702 of file svn_wc.h.


Field Documentation

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

See also:
present_props.
Since:
New in 1.4.
Deprecated:
This value will always be "" in version 1.7 and later.

Definition at line 2846 of file svn_wc.h.

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

Since:
New in 1.5.

Definition at line 2861 of file svn_wc.h.

new version of conflicted file.

A file basename, relative to the user's directory that the THIS_DIR entry refers to.

Definition at line 2768 of file svn_wc.h.

old version of conflicted file.

A file basename, relative to the user's directory that the THIS_DIR entry refers to.

Definition at line 2764 of file svn_wc.h.

working version of conflicted file.

A file basename, relative to the user's directory that the THIS_DIR entry refers to.

Definition at line 2772 of file svn_wc.h.

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

COPIED is true for nodes under a directory that was copied, but COPYFROM_URL is null there. They are both set for the root destination of the copy.

Definition at line 2738 of file svn_wc.h.

The directory containing this entry had a versioned child of this name, but this entry represents a different revision or a switched path at which no item exists in the repository.

This typically arises from committing or updating to a deletion of this entry without committing or updating the parent directory.

The schedule can be 'normal' or 'add'.

Definition at line 2747 of file svn_wc.h.

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

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

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

The entry is an 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 2923 of file svn_wc.h.

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

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

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

lock comment or NULL if not locked in this WC or no comment

Since:
New in 1.2.

Definition at line 2817 of file svn_wc.h.

Lock creation date or 0 if not locked in this WC.

Since:
New in 1.2.

Definition at line 2822 of file svn_wc.h.

lock owner, or NULL if not locked in this WC

Since:
New in 1.2.

Definition at line 2812 of file svn_wc.h.

lock token or NULL if path not locked in this WC

Since:
New in 1.2.

Definition at line 2807 of file svn_wc.h.

property reject file.

A file basename, relative to the user's directory that the THIS_DIR entry refers to.

Definition at line 2776 of file svn_wc.h.

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.
Deprecated:
This value will always be "" in version 1.7 and later.

Definition at line 2856 of file svn_wc.h.

last up-to-date time for properties (0 means no information available)

Deprecated:
This value will always be 0 in version 1.4 and later.

Definition at line 2786 of file svn_wc.h.

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

Since:
New in 1.6.

Definition at line 2891 of file svn_wc.h.

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


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines