Subversion 属性

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). While these properties may be set by users to control Subversion's behavior, users may not invent new svn: properties.

版本控制的属性

svn:executable

如果出现在一个文件上,客户端会将此文件在Unix工作拷贝中设置为可执行,见“文件的可执行性”一节

svn:mime-type

如果出现在一个文件,这个值表示了文件的mime-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 “忽略未版本控制的条目”一节

svn:keywords

如果出现在一个文件上,这个值告诉客户端如何扩展文件的特定关键字,见“关键字替换”一节

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 “行结束字符串”一节 and svn export.

svn:externals

如果出现在一个目录上,则这个值就是客户端必须要检出的路径和URL列表。见“外部定义”一节

svn:special

If present on a file, indicates that the file is not an ordinary file, but a symbolic link or other special object[56].

svn:needs-lock

如果出现在一个文件上,告诉客户端在工作拷贝将文件置为只读,可以提醒我们在修改以前必须解锁。见“锁定交流”一节

未版本控制的属性

svn:author

如果出现,则保存了创建这个修订版本的认证用户名。(如果没有出现,则修订版本是匿名提交的。)

svn:date

Contains the UTC time the revision was created, in ISO 8601 format. The value comes from the server machine's clock, not the client's.

svn:log

保存了描述修订版本的日志信息。

svn:autoversioned

如果出现,则修订版本是通过自动版本化特性创建,见“自动版本”一节



[56] 此时,符号链是唯一的“特别”对象,但是以后,也许Subversion会有更多的特别对象。