equal
deleted
inserted
replaced
2368 problems += 1 |
2368 problems += 1 |
2369 |
2369 |
2370 # editor |
2370 # editor |
2371 ui.status(_("checking commit editor...\n")) |
2371 ui.status(_("checking commit editor...\n")) |
2372 editor = ui.geteditor() |
2372 editor = ui.geteditor() |
|
2373 editor = util.expandpath(editor) |
2373 cmdpath = util.findexe(shlex.split(editor)[0]) |
2374 cmdpath = util.findexe(shlex.split(editor)[0]) |
2374 if not cmdpath: |
2375 if not cmdpath: |
2375 if editor == 'vi': |
2376 if editor == 'vi': |
2376 ui.write(_(" No commit editor set and can't find vi in PATH\n")) |
2377 ui.write(_(" No commit editor set and can't find vi in PATH\n")) |
2377 ui.write(_(" (specify a commit editor in your configuration" |
2378 ui.write(_(" (specify a commit editor in your configuration" |