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