Subversion Properties

Subversion allows users to invent arbitrarily named versioned properties on files and directories, as well as unversioned properties on revisions. The only restriction is on properties whose names begin with svn: (those are reserved for Subversion’s own use). Although these properties may be set by users to control Subversion’s behavior, users may not invent new svn: properties.

Versioned Properties

These are the versioned properties that Subversion reserves for its own use:

svn:executable

If present on a file, the client will make the file executable in Unix-hosted working copies. See File Executability.

svn:mime-type

If present on a file, the value indicates the file’s MIME type. This allows the client to decide whether line-based contextual merging is safe to perform during updates and can also affect how the file behaves when fetched via a web browser. See File Content Type.

svn:ignore

If present on a directory, the value is a list of unversioned file patterns to be ignored by svn status and other subcommands. See Ignoring Unversioned Items.

svn:keywords

If present on a file, the value tells the client how to expand particular keywords within the file. See Keyword Substitution.

svn:eol-style

If present on a file, the value tells the client how to manipulate the file’s line-endings in the working copy and in exported trees. See End-of-Line Character Sequences and “svn export” earlier in this chapter.

svn:externals

If present on a directory, the value is a ...

Get Version Control with Subversion, 2nd 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.