Special File Properties

Subversion allows you to associate properties with files or directories. A property is just a keyword/value pair associated with the file. Subversion reserves property names starting with svn: for its own use. The special properties in Subversion 1.5.4 are:

svn:author

The username of the person who committed a particular revision.

svn:date

The server time when the transaction for a revision was created.

svn:eol-style

Different operating systems use different conventions to mark the end of lines in text files. It should be set to one of the following values:

CR

Clients should always use carriage return (CR) line terminators, no matter what the native format is.

CRLF

Clients should always use carriage return and line feed (CR-LF) line terminators, no matter what the native format is.

LF

Clients should always use linefeed (LF) line terminators, no matter what the native format is.

native

Clients should use the native format when checking out files.

Subversion always stores files in normalized, LF-only format in the repository.

svn:executable

Valid only for files. It indicates that the file should be made executable when it’s checked out or updated from the repository. It has no effect on filesystems, such as FAT-32 or NTFS, that don’t have the concept of an execute bit.

svn:externals

This property, when set on a directory under version control, allows you to specify other, external repositories to use for particular local subdirectories. You set this property with svn propset ...

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.