gpt4 book ai didi

svn - 提交失败 : already locked

转载 作者:行者123 更新时间:2023-12-03 09:32:45 24 4
gpt4 key购买 nike

我只是尝试使用 TortoiseSVN 添加和提交大约 25,000 个文件到 VisualSVN。
提交对话框被锁定(我猜是预料之中的),但是在线程被阻塞一段时间后,我杀死了 Tortoise,希望一次提交更小的文件块。
现在我收到这个错误:

Error: Commit failed (details follow):

Working copy 'C:\INTERNAL\Icons\Oxygen 4.10.1' locked.

'C:\INTERNAL\Icons\Oxygen 4.10.1\scalable\places\PaxHeaders.14455' is already locked


我杀了 TortoiseProc.exe并重新启动了 VisualSVN 几次,但我仍然收到错误消息。
我还右键单击了该文件夹并选择了释放锁定,但我得到:

There's nothing to unlock. No file has a lock in this working copy.


当我跑 svn st ,我得到了所有等待添加的文件的巨大输出。
即使我尝试提交一些不相关的东西(几个目录),我也会遇到同样的错误。
我能够成功提交到同一服务器上的单独存储库。
如何释放锁定并提交这些文件?

最佳答案

尝试做一个 SVN 清理。我遇到了同样的问题,然后锁就清除了。

具体来自 the Tortoise SVN Cleanup Documentation :

If a Subversion command cannot complete successfully, perhaps due to server problems, your working copy can be left in an inconsistent state. In that case you need to use TortoiseSVN → Cleanup on the folder. It is a good idea to do this at the top level of the working copy.

In the cleanup dialog, there are also other useful options to get the working copy into a clean state.

Clean up working copy status As stated above, this option tries to get an inconsistent working copy into a workable and usable state. This doesn't affect any data you have but only the internal states of the working copy database. This is the actual Cleanup command you know from older TortoiseSVN clients or other SVN clients.



以下是推荐的 SVN 清理选项的屏幕截图:

SVN Cleanup Screenshot

关于svn - 提交失败 : already locked,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15447883/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com