gpt4 book ai didi

configuration - TortoiseHg无法提交--"The system cannot find the file specified"

转载 作者:行者123 更新时间:2023-12-04 04:00:54 25 4
gpt4 key购买 nike

我刚刚拿起TortoiseHg用于Windows上的分布式源代码控制,并将其安装在我的C驱动器上。然后,我创建了一个存储库(位于D:\projects中)。

当我尝试提交更改时,它给了我错误

"abort: None: The system cannot find the file specified"



在一个名为“提交”的新窗口中。这将导致提交中止。它没有指定任何文件,并且当我运行hg --traceback commit -m'Message'时,它将作为输出:
Traceback (most recent call last):
File "mercurial\dispatch.pyo", line 54, in _runcatch
File "mercurial\dispatch.pyo", line 483, in _dispatch
File "mercurial\dispatch.pyo", line 351, in runcommand
File "mercurial\dispatch.pyo", line 534, in _runcommand
File "mercurial\dispatch.pyo", line 488, in checkargs
File "mercurial\dispatch.pyo", line 481, in <lambda>
File "mercurial\util.pyo", line 420, in check
File "mercurial\commands.pyo", line 762, in commit
File "mercurial\cmdutil.pyo", line 1202, in commit
File "mercurial\commands.pyo", line 757, in commitfunc
File "mercurial\localrepo.pyo", line 816, in commit
File "mercurial\localrepo.pyo", line 1053, in status
File "mercurial\dirstate.pyo", line 629, in status
File "mercurial\dirstate.pyo", line 540, in walk
File "mercurial\localrepo.pyo", line 796, in fail
Abort: Adding: The system cannot find the file specified
abort: Adding: The system cannot find the file specified

我不知道我还能提供什么作为调试信息,对程序没有任何经验。

我已经使用全局用户名和存储库配置了TortoiseHg。同样,将kdiff3指定为三向合并工具和可视化diff工具。我没有有意更改任何其他设置。

感谢您的帮助,请索取更多信息,在这种情况下我不知道该给些什么。

最佳答案

试试这个:

  • 删除TortoiseHG
  • 重新启动系统(基本上是为了确保没有乌龟发出的进程(例如文件监视)来锁定文件)
  • Intall命令行hg
  • 做常规的hg commit -m "yourmessage"

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

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

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

    关于configuration - TortoiseHg无法提交--"The system cannot find the file specified",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3172303/

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