问题描述
情况 - 拥有庞大的存储库,缓慢且不可靠的链接(阅读 - vpn 不时中断).
Situation - have enormous repository, slow and unreliable link (read - vpn that breaks from time to time).
我们经常需要分支、移动东西,所以应该不时从存储库中取出全新的分支(结帐).
We are subject of frequent branching, moving things, so every now and then whole new branch should be taken from the repository (checkout).
有没有办法恢复"损坏的结账?使用相同的参数执行 svn checkout
并期望它跳过已下载的内容并下载未下载的内容是否安全?
Is there a way to 'resume' broken checkouts? Is it safe to do svn checkout
with same parameters and expect it to skip what is downloaded and download what is not?
推荐答案
刚遇到同样的问题.我不得不中断结帐,因为它花了很长时间.当我去恢复"结帐时,不清楚是应该重新开始结帐还是简单地执行 svn update
.
Just ran into the same problem. I had to interrupt a checkout because it was taking an absurdly long time. When I went to "resume" the checkout, it wasn't clear whether I should re-initiate the checkout or simply do an svn update
.
在尝试执行 svn update
以恢复结帐后,我收到一条很棒的错误消息,指出该目录已锁定".我尝试从 Tortoise SVN 发出释放锁",但这没有帮助.
After attempting to to do the svn update
to resume the checkout, I got a wonderful error message saying that the directory was "locked". I tried issuing a "Release Lock" from Tortoise SVN, but this didn't help.
最终,我最终不得不发布一个 svn cleanup
来释放 Subversion 的任何束缚.之后,我可以通过启动另一个更新(svn update
或 Tortoise SVN 上下文菜单中的SVN 更新")来继续我之前发起的结帐.
Ultimately, what I ended up having to do was issue an svn cleanup
to release whatever stranglehold Subversion had in place. After that, I was able to continue my previously initiated checkout by performing kicking off another update (svn update
or "SVN Update" from the Tortoise SVN context menu).
这篇关于svn 恢复中止结帐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!