SVN externals repo “is already locked” on update

我怕爱的太早我们不能终老 提交于 2019-12-06 17:11:28

问题


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

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!

Update:

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

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


回答1:


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

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



来源:https://stackoverflow.com/questions/9824793/svn-externals-repo-is-already-locked-on-update

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!