On Wed, May 25, 2011 at 2:28 PM, Gilles <gilles.gana...@free.fr> wrote:

> file to a repository after opening it in a DOS box, but I get the
> following error when I try to commit:
> =============
> C:/SOMEDIR/myfile.txt contains CR/NL line endings; commit anyhow
> (yes/no/all)?
> C:\fossil.exe: Abandoning commit due to CR+NL line endings in
> C:/SOMEDIR/myfile.txt
> =============
>

That's not an error, but a warning. Simply tap a<ENTER> and ignore it.
You're on Windows, so files will tend to use CRNL endings. On Unix systems
CRNL combinations are normally undesireable, and can in fact break certain
file types (e.g. shell scripts, especially if the shebang line ends with a
\r).


Google didn't return any document about that error: Is there a way to
> provide Fossil with an answer to that question, so as not to be
> prompted?
>

Google knows everything except perhaps what i have in my fridge (and he can
guess that, given my personality profile). It's mostly a matter for
formulating the question (which of course isn't always obvious when one
isn't familiar with the topic):

http://en.wikipedia.org/wiki/Newline

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to