[darcs-users] Problems with Windows binary

Edwin Thomson edwin.thomson at businesswebsoftware.com
Mon Nov 28 14:51:06 UTC 2005


Carrig, Lori wrote:
> All;
> 
> I wanted to try out darcs but it seems when I run record option I get an
> error:
> 
> D:\Tomcat 5.5\webapps\MIP>darcs record --all
> What is the patch name? Initial
> Do you want to add a long comment? [yn]
> darcs: vi: runProcess: does not exist (No such file or directory)
> 
> Any ideas on how to resolve this?  The platform is as follows:

For inputting the long comment, darcs calls an external editor, which is 
vi by default.  The error you get is because Windows doesn't have vi.
You can make it use notepad instead by using "set DARCS_EDITOR=Notepad" 
first.  However, Notepad doesn't understand linefeed on its own being a 
newline, so it's a bit messy (You have to add newlines yourself after 
the patch name and the long description you type, and then probably get 
useless carriage returns in the long description). You might want to 
instead use an editor that understands Unix line endings (eg Crimson Editor)

Alternatively, you can just never have a long comment and ignore the 
whole thing.

Edwin




More information about the darcs-users mailing list