##// END OF EJS Templates
debuginstall: do not parse editor command in posix way on Windows...
Yuya Nishihara -
r36327:94a1ff16 default
parent child Browse files
Show More
@@ -1240,7 +1240,7 def debuginstall(ui, **opts):
1240 1240 # editor
1241 1241 editor = ui.geteditor()
1242 1242 editor = util.expandpath(editor)
1243 editorbin = pycompat.shlexsplit(editor)[0]
1243 editorbin = pycompat.shlexsplit(editor, posix=not pycompat.iswindows)[0]
1244 1244 fm.write('editor', _("checking commit editor... (%s)\n"), editorbin)
1245 1245 cmdpath = util.findexe(editorbin)
1246 1246 fm.condwrite(not cmdpath and editor == 'vi', 'vinotfound',
@@ -140,8 +140,10 not found (this is intentionally using b
140 140 checking "re2" regexp engine \((available|missing)\) (re)
141 141 checking templates (*mercurial?templates)... (glob)
142 142 checking default template (*mercurial?templates?map-cmdline.default) (glob)
143 checking commit editor... (c:foobarbaz.exe)
144 Can't find editor 'c:foobarbaz.exe' in PATH
143 checking commit editor... (c:\foo\bar\baz.exe) (windows !)
144 Can't find editor 'c:\foo\bar\baz.exe' in PATH (windows !)
145 checking commit editor... (c:foobarbaz.exe) (no-windows !)
146 Can't find editor 'c:foobarbaz.exe' in PATH (no-windows !)
145 147 (specify a commit editor in your configuration file)
146 148 checking username (test)
147 149 1 problems detected, please check your install!
General Comments 0
You need to be logged in to leave comments. Login now