本文档旨在描述 Subversion 的 1.6.x 系列。如果您运行的是其他版本的 Subversion,强烈建议您访问 https://svnbook.subversion.org.cn/ 并参考适用于您 Subversion 版本的文档。
svn propedit (pedit, pe) — 编辑版本控制下的一项或多项的属性。有关更多信息,请参阅本章后面的 svn propset (pset, ps)。
--editor-cmd CMD --encoding ENC --file (-F) FILENAME --force --force-log --message (-m) MESSAGE --revision (-r) REV --revprop --with-revprop ARG
svn propedit 使修改具有多个值的属性变得容易。
$ svn propedit svn:keywords foo.c # svn will open in your favorite text editor a temporary file # containing the current contents of the svn:keywords property. You # can add multiple values to a property easily here by entering one # value per line. When you save the temporary file and exit, # Subversion will re-read the temporary file and use its updated # contents as the new value of the property. Set new value for property 'svn:keywords' on 'foo.c' $