Editor do Mercurial: “abort: o sistema não consegue encontrar o arquivo especificado”

Tenho um problema em fazer com que o Mercurial reconheça meu editor. Eu tenho um arquivoc:\windows\notepad.exe e digitar "bloco de notas" no prompt de comando funciona. Eu posso confirmar usando o "-m"argumento para fornecer o título do commit. Mas um simples"hg commit"traz o erro.

Uma chamada para "hg --traceback commit" traz à tona:

Traceback (most recent call last):
  File "mercurial\dispatch.pyc", line 47, in _runcatch
  File "mercurial\dispatch.pyc", line 466, in _dispatch
  File "mercurial\dispatch.pyc", line 336, in runcommand
  File "mercurial\dispatch.pyc", line 517, in _runcommand
  File "mercurial\dispatch.pyc", line 471, in checkargs
  File "mercurial\dispatch.pyc", line 465, in <lambda>
  File "mercurial\util.pyc", line 401, in check
  File "mercurial\commands.pyc", line 708, in commit
  File "mercurial\cmdutil.pyc", line 1150, in commit
  File "mercurial\commands.pyc", line 706, in commitfunc
  File "mercurial\localrepo.pyc", line 836, in commit
  File "mercurial\cmdutil.pyc", line 1155, in commiteditor
  File "mercurial\cmdutil.pyc", line 1184, in commitforceeditor
  File "mercurial\ui.pyc", line 361, in edit
  File "mercurial\util.pyc", line 383, in system
  File "subprocess.pyc", line 470, in call
  File "subprocess.pyc", line 621, in __init__
  File "subprocess.pyc", line 830, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
abort: The system cannot find the file specified

Eu tentei definir a variável de ambiente HGEDITOR, definindo "visual ="e"editor =" noMercurial.ini&nbsp;Arquivo. Eu tentei o caminho completo e apenas o comando. Eu também tentei copiar o arquivo notepad.exe na pasta atual e na pasta mercurial.

Idealmente, eu gostaria de usar o editor neste local "C:\PortableApps\Notepad++Portable\Notepad++Portable.exe", mas nesta fase eu ficaria feliz com qualquer editor!

Saída do debugconfig do HG:

c:\wamp\www\SiteAB.com\web>hg debugconfig
bundle.mainreporoot=c:\wamp\www\SiteAB.com\web
ui.username=killroy
ui.shell=true
ui.verbose=true
ui.visual="C:\PortableApps\Notepad++Portable\Notepad++Portable.exe"
ui.editor="C:\PortableApps\Notepad++Portable\Notepad++Portable.exe"