SVN外部存储库“已被锁定".更新时

编程入门 行业动态 更新时间:2024-10-26 10:33:07
本文介绍了SVN外部存储库“已被锁定".更新时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

基本上,我必须在同一台服务器上回购:

Basically I have to repo on the same server:

svn://repo/foo -> checked out to d:\foo svn://repo/bar -> d:\foo has an svn:external property set to check this out into d:\foo\bar

当"svn:update"或新的"svn:checkout"时,这是该错误的依据:

When an "svn:update" or a new "svn:checkout" this is gist of the error:

Command - Update Updated - D:\foo External - D:\foo\bar External failed - D:\foo\bar Error - d:\foo\bar is already locked via d:\foo

清除"或手动释放锁后,问题仍然存在.

After I "clean" or manually release the lock, the problem still persists.

任何见解将不胜感激.谢谢!

Any insights would be greatly appreciated. Thanks!

更新:

Attila在评论中添加了它.我的存储库中存在"foo/bar".

Attila nailed it in the comment. I had "foo/bar" existing in the repository.

供将来参考-使用SVN:External属性时,SVN 将创建外部参考的目标文件夹.

For future reference - when using SVN:External property, SVN will create the destination folder for the external reference.

推荐答案

在评论中得到解决(同样也要有正确的答案):

As resolved in the comments (just to have it in proper answer as well):

使用svn:externals时,原始存储库中不应存在检出外部存储库的目录

When using svn:externals, the directory where the externals repository is checked out should not exist in the original repository

更多推荐

SVN外部存储库“已被锁定".更新时

本文发布于:2023-11-03 06:49:11,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1554488.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:已被   SVN   quot

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!