This text is a work in progress—highly subject to change—and may not accurately describe any released version of the Apache™ Subversion® software. Bookmarking or otherwise referring others to this page is probably not such a smart idea. Please visit http://www.svnbook.com/ for stable versions of this book.

元数据属性

相对于 CVS, Subversion 的一项新特性是允许用户在文件和目录上添加 任意的元数据 (或者说 属性). 属性是一对任意的 名字/值 组合, 它们可以被关联到工作副本的文件与目录上.

为了设置或获取一个属性的值, 要用到命令 svn propsetsvn propget. 为了得到某个文件或目录上的所有属性, 使用 svn proplist.

关于属性的更多信息, 见 “属性”一节.