External Definitions

External Definition

Subversion allows a working copy to be constructed from folders checked out of several locations in one or more repositories through the use of external definitions.

An external definition specifies that when a folder is checked out of a repository, a sub-folder is checked out of another location. In this way, a working copy can be comprised of content from several unrelated locations.

This can be useful in a number of situations:

External definitions are defined using the svn:externals property. As such, they are subject to the same versioning as the folders they are defined on.

Each external definition defines the following information:

svn:externals

The svn:externals property is a simple text value which contains a list of external definitions.

Each definition is specified on its own line in the form:

[revision] URL folder

where:

For example the following definition:

-r32849 http://svn.webkit.org/trunk dependencies/webkit

will check out revision 32,849 of http://svn.webkit.org/trunk into the dependencies/webkit sub-folder of the folder which is declaring the property.

See the Subversion documentation included with Cornerstone (Help > Subversion Documentation) for more detailed information on the format of the svn:externals property.