SVN外部将源更改为目标目录
我使用的是 svn 1.6,是否可以有:?
source directory
shared\code\depends\make1.3
- contains file make.1.3
target directory
trunk\make\
- i want make.1.3 in trunk\make\
有一个从上述源外部到目标的 SVN
我尝试过
/shared/code/depends/make1.3 make
当我进行更新时出现错误:
External failed, working copy is locked, please execute cleanup command.
执行清理后,仍然是同样的问题。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
该问题可能与您想要更改不相交的路径(外部引用的路径)这一事实有关,而您可能只从另一路径完成了最后一次提交。
正如 Svnbook 中提到的
您可以从新的结账中尝试相同的操作。
您必须确保不要删除/更新 make1.3 目录的内容,否则您将需要
svn revert
到原始内容(请参阅此 所以答案)The issue could be related to the fact you want to make change to a disjoint path (the one referenced by your external), whereas you may have only done your last commit from another path.
As mentioned by the Svnbook
You could try the same manip from a fresh checkout.
You must be sure to not remove/update the content of your make1.3 directory, otherwise you would need to
svn revert
to the original content (see this SO answer)我找到了答案,要在单个文件上使用外部文件,请使用从源到目标目录的使用::
上面
的外部命令会将单个文件放入 trunk\make\filename.txt
I figured out the answer, to use externals on a single file use from source to target directory use:
:
the above external command will put the single file in trunk\make\filename.txt
谢谢你。 只是想补充一点,直到 Subversion v1.6.6(在发布时尚未发布)之前,存在一个错误,该错误阻止二进制文件以指定的 dnndeveloper 方式单独处理。
Thanks for this. Just thought to add that until Subversion v1.6.6 (as yet unreleased at time of posting) there is a bug which prevents binaries from being handled singly in the manner specified dnndeveloper.