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.0 are:
-
svn:author
The username of the person who committed a particular revision.
-
svn:date
The date 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. Unix and its workalikes use a single ASCII line-feed character (LF) to end lines. MS Windows systems use a Carriage Return + Line Feed combination (CRLF), and older Macintosh systems use a single Carriage Return (CR). This can cause problems when a Windows user stores a new revision of the file: suddenly a Unix user who does a checkout sees a file with extraneous Carriage Return characters at the end of every line. The
svn:eol-style
attribute solves this problem. It should be set to one of the following values:CR
Clients should always use CR line terminators, no matter what the native format is.
CRLF
Clients should always use CR-LF line terminators, no matter what the native format is.
LF
Clients should always use 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 ...
Get Unix in a Nutshell, 4th 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.