提交时出现Mercurial错误:"abort:phases.new-commit:not a valid phase name('')"

Jam*_*one 7 mercurial tortoisehg

尝试提交到Hg存储库时,我收到以下错误:

Z:\wormcard_maker>hg commit -m "asdf"
transaction abort!
rollback completed
abort: phases.new-commit: not a valid phase name ('')
Run Code Online (Sandbox Code Playgroud)

这发生在多个不同的存储库中,并且在重新克隆存储库并重新安装Mercurial后幸存下来.我可以从不同的计算机(运行Linux)提交到存储库.

我在Windows 7上运行了与TortoiseHg 4.8一起发布的Hg 4.8.

小智 6

在TortoiseHg中,只需设置“文件-设置-提交-新提交阶段”选项。