[英]Remove svn:externals property from a folder
I have a branch of the trunk. 我有一个树干分支。 I need to re-set the properties of the externals in the branch to a different point.
我需要将分支中的外部属性重新设置为不同的点。 My idea was to remove them all and re-set them with propset.
我的想法是将它们全部删除并用propset重新设置它们。 When I type
svn propdel svn:externals http://path-to-branch/externals
当我键入
svn propdel svn:externals http://path-to-branch/externals
I get 我明白了
svn: E200009: Targets must be working copy paths
svn:E200009:目标必须是工作副本路径
Whats the problem with my command? 我的命令是什么问题?
Your command is operating on the repository URL, not a working copy. 您的命令在存储库URL上运行,而不是在工作副本上运行。 Check out a working copy first:
首先查看工作副本:
svn co http://path-to-branch path/to/workingcopy
Then modify the property in your working copy: 然后修改工作副本中的属性:
svn propdel svn:externals path/to/workingcopy
Commit the change, and you should be all set. 承诺改变,你应该全力以赴。 I would be remiss not to point out that it is not actually necessary to delete them first, propedit will overwrite whatever the property was beforehand.
我不得不指出实际上没有必要先删除它们,propedit将事先覆盖任何属性。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.