[cvsnt] Bug with CVSNT, Emacs, and multi-line log messages
Tony Hoyle
tmh at nodomain.org
Mon Jan 27 21:38:05 GMT 2003
Christopher J. Madsen wrote:
> I added some debugging code to record the parameters to the Emacs
> call-process function. Here's what happens when I type C-x C-q to
> check in my changes:
>
> (call-process "cvs" nil t nil "ci" "-mLine 1\nLine 2\nLine 3\n"
> "junk.cpp")
>
> But CVSNT acts like it was called like this:
>
> (call-process "cvs" nil t nil "ci" "-mLine 1")
>
That sounds about right. The command processor strips the first layer of
quotes before it parses it. Emacs should put the whole command line in
quotes to avoid the first layer of parsing by cmd.exe.
It's possible RCS is being called differently (is it a DOS or Cygwin app?
They are treated differently).
Tony
More information about the cvsnt
mailing list