31e*_*384 9 configuration mercurial tortoisehg mercurial-commit
我刚拿起TortoiseHg用于Windows上的分布式源代码控制并将其安装在我的C盘上.然后我创建了一个存储库(位于D:\ projects中).
当我尝试提交更改时,它会给我错误
"abort:无:系统找不到指定的文件"
在一个名为"提交"的新窗口中.这会导致提交中止.它没有指定任何文件,当我运行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
Run Code Online (Sandbox Code Playgroud)
我不知道我还能提供什么作为调试信息,没有任何使用该程序的经验.
我已经使用全局用户名和存储库配置了TortoiseHg.此外,kdiff3被指定为三向合并工具和视觉差异工具.我没有故意改变任何其他设置.
感谢您的帮助,请询问更多信息,我只是不知道在这种情况下应该给予什么.
尝试这个:
hg commit -m "yourmessage"如果这有效,则很可能是 TortoiseHg 的监控工具锁定了某些文件(系统托盘小程序)。
也可能是其他人正在做的事情(不是 TortoiseHg),例如编辑?差异工具?ETC?
最后,发生这种情况的另一个原因是:有人对 .hg 目录中的存储库文件进行了愚弄……但情况似乎并非如此
| 归档时间: |
|
| 查看次数: |
6224 次 |
| 最近记录: |