Saturday 5 November 2016

What are file properties in SVN?

Q 68. What are file properties in SVN?

Subversion allows users to invent arbitrarily named versioned properties on files and directories.these are versioned properites.
svn:executable
If present on a file, the client will make the file executable in Unix-hosted working copies. 
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. 
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. 
svn:keywords
If present on a file, the value tells the client how to expand particular keywords within the file. 
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. 
svn:externals
If present on a directory, the value is a multiline list of other paths and URLs the client should check out. 
svn:special
If present on a file, indicates that the file is not an ordinary file, but a symbolic link or other special object.
svn:needs-lock
If present on a file, tells the client to make the file read-only in the working copy, as a reminder that the file should be locked before editing begins. 
svn:mergeinfo

Used by Subversion to track merge data. 

No comments:

Post a Comment

Tricks and Tips