名称

svn propedit — Edit the property of one or more items under version control. See svn propset.

概要

svn propedit PROPNAME TARGET...
svn propedit PROPNAME --revprop -r REV [TARGET]

描述

Edit one or more properties using your favorite editor. The first form edits versioned properties in your working copy, while the second edits unversioned remote properties on a repository revision (TARGET determines only which repository to access).

别名

pedit, pe

改变

Working copy; repository only if operating on a URL

是否访问版本库

只有在对URl操作时会

选项

--revision (-r) REV
--revprop
--message (-m) ARG
--file (-F) ARG
--force-log
--with-revprop ARG
--username USER
--password PASS
--no-auth-cache
--non-interactive
--encoding ENC
--editor-cmd EDITOR
--config-dir DIR

例子

svn propedit对修改多个值的属性非常简单:

$ svn propedit svn:keywords  foo.c 
    <svn will launch your favorite editor here, with a buffer open
    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.>
Set new value for property 'svn:keywords' on 'foo.c'