svn proplist — 列出所有的属性。
List all properties on files, directories, or
revisions. The first form lists versioned properties in
your working copy, while the second lists unversioned remote
properties on a repository revision
(TARGET
determines only which
repository to access).
--verbose (-v) --depth ARG --revision (-r) REV --quiet (-q) --revprop --xml --username USER --password PASS --no-auth-cache --non-interactive --config-dir DIR --changelist ARG
你可以使用proplist察看你的工作拷贝的一个项目的属性:
$ svn proplist foo.c Properties on 'foo.c': svn:mime-type svn:keywords owner
通过--verbose
选项,svn proplist也可以非常便利的显示属性的值:
$ svn proplist --verbose foo.c Properties on 'foo.c': svn:mime-type : text/plain svn:keywords : Author Date Rev owner : sally
Lastly, you can get svn proplist
output in xml format with the --xml
option:
$ svn proplist --xml <?xml version="1.0"?> <properties> <target path="."> <property name="svn:ignore"/> </target> </properties>