
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
178
|
Chapter 8: Developer Information
The Entries File
Perhaps the single most important file in the .svn directory is the entries file. The
entries file is an XML document that contains the bulk of the administrative informa-
tion about a versioned resource in a working copy directory. It is this one file which
tracks the repository URLs, pristine revision, file checksums, pristine text and prop-
erty timestamps, scheduling and conflict state information, last-known commit
information (author, revision, timestamp), local copy history—practically every-
thing that a Subversion client is interested in knowing about a versioned (or to-be-
versioned) resource!
Example 8-4 is an example of an actual entries file.
Comparing the Administrative Areas of Subversion and CVS
A glance inside the typical .svn directory turns up a bit more than what CVS maintains
in its CVS administrative directories. The entries file contains XML which describes the
current state of the working copy directory, and basically serves the purposes of CVS’s
Entries, Root, and Repository files combined.
Example 8-4. Contents of a typical .svn/entries file
<?xml version="1.0" encoding="utf-8"?>
<wc-entries
xmlns="svn:">
<entry
committed-rev="1"
name="svn:this_dir"
committed-date="2002-09-24T17:12:44.064475Z"
url="http://svn.red-bean.com/tests/.greek-repo/A/D" ...