svn propget — 打印一个属性的值。
--depth ARG --revision (-r) REV --revprop --strict --xml --username USER --password PASS --no-auth-cache --non-interactive --config-dir DIR --changelist ARG
检查工作拷贝的一个文件的一个属性:
$ svn propget svn:keywords foo.c Author Date Rev
对于修订版本属性相同:
$ svn propget svn:log --revprop -r 20 Began journal.
Lastly, you can get svn propget
output in xml format with the --xml
option:
$ svn propget --xml svn:ignore . <?xml version="1.0"?> <properties> <target path=""> <property name="svn:ignore">*.o </property> </target> </properties>