Jon*_*ell 12 mercurial dvcs notepad++
我刚用NotepadReplacer用notepad ++替换了记事本,现在我hg commit的工作不正常.
在更换记事本之前,hg commit会为我启动一个新的文本文件以输入我的提交消息.使用Notepad ++,我被提示创建该文件,并且由于空提交消息,mercurial中止提交.
我知道我可以hg commit使用-m选项内联输入消息,但我想选择在文本文件中输入提交消息.我喜欢有,而无需在文本文件作为上下文提交信息显示的状态hg stat之前hg commit.
我怎样才能让它发挥作用?
s.m*_*.m. 20
尝试放置你的%USERPROFILE%\.hgrc(或%USERPROFILE%\mercurial.ini)某些东西:
[ui]
editor = path/to/notepad++ -multiInst -nosession
Run Code Online (Sandbox Code Playgroud)
也许添加一个-notabbar后来-nosession也可能有用.