One of the special features of the Subversion is that it allows the user to associate properties with files of directories. A “Property” is a “Keyword/Value” pair associated with the file. Subversion has some reserved properties for its own use. They start with “svn:”. The following are the properties:
Svn:author
It’s the subversion username of the person who has committed a particular version.
Svn:date
The date when the change was committed.
Svn:eol-style
The conventions used to indicate the end-of-line(eol) in a text file varies between operating systems. Unix and its workalikes use single Line Feed(LF) character, MS Windows use Carriage Return + Line Feed (CRLF) and older Macintosh systems use only CR. This could pose a problem when some file is committed to the repository from one operating system and checked out from another! This property of Subversion is to solve this problem.
This can have any one of the following values:
1. CR : No matter what the native format of the file is, while committing to the repository client should always use CR line terminators.
2. CRLF : The clients should use CR-LF as line terminators, no matter what the native format is.
3. LF : Client should use only LF line terminators.
4. native : Clients should use the native format when checking out the files.
While storing the files in the repository, Subversion always stores in LF format.
Svn:executable
This property is valid only for files. Its presence indicates that the files should be made executable when checked out or updated from the repository. This property has no effect for the file systems like FAT-32 or NTFS, that does not support execute bit concept.
Svn:externals
This property is valid only for directories. When set, it allows the user to specify the location of external repositories to use for particular local subdirectories. After set, whoever checks out the working copy that directory will automatically get the third party files checked out automatically.
Svn:ignore
This property should be set on directories. It works as a filter to the unversioned files and directories for certain Subversion operations.
Svn:keywords
This property contains a list of keywords for which Subversion has to perform “keyword expansion” when checking out a file.
Svn:log
These are the log messages associated with the commit of a particular revision.
Svn:mime-type
This is an indication of the type of data stored in the file. By default, if it does not begin with text/, Subversion assumes that the file is a binary file. The Subversion renames these binary files with “.orig” extension and replace the file with the current version from the repository. This action prevents an attempt to perform a “merge” on data that cannot be merged.
Svn:realmstring
It’s a special property that describes the “authentication realm” for a file in Subversion’s cached copy of the authentication credentials.
One of the special features of the Subversion is that it allows the user to associate properties with files of directories. A “Property” is a “Keyword/Value” pair associated with the file. Subversion has some reserved properties for its own use. They start with “svn:”. The following are the properties:
Svn:author
It’s the subversion username of the person who has committed a particular version.
Svn:date
The date when the change was committed.
Svn:eol-style
The conventions used to indicate the end-of-line(eol) in a text file varies between operating systems. Unix and its workalikes use single Line Feed(LF) character, MS Windows use Carriage Return + Line Feed (CRLF) and older Macintosh systems use only CR. This could pose a problem when some file is committed to the repository from one operating system and checked out from another! This property of Subversion is to solve this problem.
This can have any one of the following values:
1. CR : No matter what the native format of the file is, while committing to the repository client should always use CR line terminators.
2. CRLF : The clients should use CR-LF as line terminators, no matter what the native format is.
3. LF : Client should use only LF line terminators.
4. native : Clients should use the native format when checking out the files.
While storing the files in the repository, Subversion always stores in LF format.
Svn:executable
This property is valid only for files. Its presence indicates that the files should be made executable when checked out or updated from the repository. This property has no effect for the file systems like FAT-32 or NTFS, that does not support execute bit concept.
Svn:externals
This property is valid only for directories. When set, it allows the user to specify the location of external repositories to use for particular local subdirectories. After set, whoever checks out the working copy that directory will automatically get the third party files checked out automatically.
Svn:ignore
This property should be set on directories. It works as a filter to the unversioned files and directories for certain Subversion operations.
Svn:keywords
This property contains a list of keywords for which Subversion has to perform “keyword expansion” when checking out a file.
Svn:log
These are the log messages associated with the commit of a particular revision.
Svn:mime-type
This is an indication of the type of data stored in the file. By default, if it does not begin with text/, Subversion assumes that the file is a binary file. The Subversion renames these binary files with “.orig” extension and replace the file with the current version from the repository. This action prevents an attempt to perform a “merge” on data that cannot be merged.
Svn:realmstring
It’s a special property that describes the “authentication realm” for a file in Subversion’s cached copy of the authentication credentials.