Overview
| Artifact ID: | 9639d5e78a33fb85de21d9659055c1b8f5c903be |
|---|---|
| Ticket: | 8c46da20797072ac4007b279be826ffa7ef59135
Checkin fails: "editor aborted" on Cygwin |
| User & Date: | anonymous 2008-12-11 20:37:01 |
Changes
- comment changed to:
Problem only exists (for me) in Cygwin on Windows. I have vi installed in Cygwin, and `which' reports it to be: <verbatim> $ which vi /usr/bin/vi </verbatim> So, I manually set my fossil editor, using `fossil set editor /usr/bin/vi'. When I checkin, I get: <verbatim> $ fossil.exe ci Autosync: http://sentry:8080/ Bytes Cards Artifacts Deltas Send: 87 1 0 0 40The system cannot find the path specified. Received: 1794 40 0 0 /usr/bin/vi "C:/cygwin/home/User1/src/ci-comment-A97A91FD685A.txt" C:\cygwin\bin\fossil.exe: editor aborted </verbatim> The next to the last line seems to be the command that is `fork()'ed? If I copy and paste that line in, `vi' is launched with the normal checkin file, ("# Enter comments on this commit. Lines beginning with # are ignored"... etc) If I `fossil set editor notepad', notepad opens the file correctly. If I `fossil.exe set editor "C:\\Program\\ Files\\Vim\\vim70\\gvim.exe"', I get: <verbatim> $ fossil.exe ci Autosync: http://sentry:8080/ Bytes Cards Artifacts Deltas Send: 87 1 0 0 40'C:\Program\' is not recognized as an internal or external command, operable program or batch file. Received: 1794 40 0 0 C:\Program\ Files\Vim\vim70\gvim.exe "C:/cygwin/home/User1/src/ci-comment-C042442842F0.txt" C:\cygwin\bin\fossil.exe: editor aborted </verbatim> (I also tried with every combination of forward- and back-slashes, and quoting of the space character, with similar results.) - foundin changed to:
This is fossil version [53db94cd41] 2008-11-19 23:33:47 UTC
- private_contact changed to: "a2024467242089d1dce2d3a24ac29a8241112db9"
- severity changed to: "Severe"
- status changed to: "Open"
- title changed to: "Checkin fails: "editor aborted" on Cygwin"
- type changed to: "Incident"