且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

TortoiseHg无法提交-“系统找不到指定的文件".

更新时间:2023-11-22 16:52:46

尝试一下:

  1. 删除TortoiseHG
  2. 重新启动系统(基本上是为了确保没有乌龟的过程,例如文件监视,可以对文件进行锁定)
  3. 内置命令行hg
  4. 执行常规的hg commit -m "yourmessage"
  1. Remove TortoiseHG
  2. Restart the system (basically to make sure there are no processes from tortoise, such as file monitoring, that can put locks on files)
  3. Intall command line hg
  4. do the regular hg commit -m "yourmessage"

如果这行得通,那么来自TortoiseHg的监视工具很可能会锁定某些文件(系统托盘小程序).

If this works, it's more likely than not that the monitoring tool from TortoiseHg is holding a lock on some file (the system tray applet).

也可能是其他人正在做的事情(不是TortoiseHg),例如编辑?差异工具?等等?

It also could be the case that someone else is doing than (not TortoiseHg), e.g. editor? diff tool? etc?

最后,发生这种情况的另一个原因是:某人愚弄了.hg目录中的repo文件……虽然似乎并非如此

Finally, another reason why this can happen is: someone fooled around with the repo files inside .hg directory... It doesn't seem to be the case though