我对 TortoiseHg 的几乎所有操作都遇到以下错误 - 提交、推送、更新。很多人似乎得到了代码 255,但我在代码 0(或者代码 -1)上没有发现太多内容。有人知道解决办法吗?命令行工作正常,SourceTree 也是如此(尽管后者非常慢)。
Windows 7 64 位,TortoiseHg 版本 4.1.1,Mercurial 4.1.1,Python 2.7.10,PyQt-4.11.4,Qt-4.8.7。我会标记这个 tortoise-hg,但显然它不存在,而且我没有代表来创建它。
最佳答案
我在这里找到了答案:https://groups.google.com/forum/#!topic/mercurial-ja/1bskOMqLDmw并翻译。
Try increasing the timeout for now. The default is 5 seconds.
[tortoisehg] cmdserver.readtimeout = 300
If this helps, I think the hg process is stalled for some reason. If it doesn't, there may be dust in the interprocess communication.
Note that readtimeout is the timeout for inter-process communication, so it has nothing to do with the time required for pull processing.
将以下内容添加到受影响的存储库的 .hgrc 文件中
[tortoisehg]
cmdserver.readtimeout = 300
它对我有用 - 不再有灰尘;)
关于TortoiseHg - cmdserver : timed out,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43476851/