Darcs fails to invoke an editor on MS Windows Vista and MS Windows Vista XP.
I have gvim and vim on the system. Both work from cmd.exe and powershell.
I do not have 'vi' installed and it can't be called from cmd.exe and powershell.
I also think that 'notepad.exe' is a saner default for windows than calling 'edit'.
Transcript from powershell/cmd.exe (they have exactly the same outcome):
PS D:\> mkdir test
Directory: D:\
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2012-01-12 21:01 test
PS D:\> cd test
PS D:\test> darcs init
PS D:\test> touch file
PS D:\test> darcs add file
PS D:\test> darcs record
Each patch is attributed to its author, usually by email address (for
example, `Fred Bloggs <fred@example.net>'). Darcs could not determine
your email address, so you will be prompted for it.
Your address will be stored in _darcs/prefs/author.
It will be used for all patches recorded in this repository.
If you move that file to ~/.darcs/author, it will be used for patches
you record in ALL repositories.
What is your email address? spam @ prevention . fake
addfile ./file
Shall I record this change? (1/1) [ynW...], or ? for more options: y
What is the patch name? Test patch
Do you want to add a long comment? [yn]y
Nazwa 'vi' nie jest rozpoznawana jako polecenie wewnętrzne lub zewnętrzne,
program wykonywalny lub plik wsadowy.
File content did not change. Continue anyway? [yn]n
Aborted.
PS D:\test> darcs --exact-version
darcs compiled on Mar 14 2011, at 23:17:58
Context:
[TAG 2.5.2
Ganesh Sittampalam <ganesh@earth.li>**20110313223504
Ignore-this: f3f57f3eacb2fdd4cdafc581c05058e3
]
Compiled with:
HTTP-4000.0.9
array-0.3.0.1
base-4.2.0.2
bytestring-0.9.1.7
containers-0.3.0.0
directory-1.0.1.1
extensible-exceptions-0.1.1.1
filepath-1.1.0.4
hashed-storage-0.5.5
haskeline-0.6.3.2
html-1.0.1.2
mtl-1.1.0.2
network-2.2.1.7
old-time-1.0.0.5
parsec-2.1.0.1
process-1.0.1.3
random-1.0.0.2
regex-compat-0.93.1
regex-posix-0.94.4
tar-0.3.1.0
text-0.11.0.5
unix-compat-0.2.1.1
zlib-0.5.2.0
PS D:\test> vim
PS D:\test>
|