I'm using fossil version [1d93222627] 2011-03-01 19:04:32 UTC

With this version, Fossil warns about CRLF line ends on commit, and allows me 
to commit anyway, or abort and fix.

This is a good option for me.  Some files are OK with CRLFs and others are 
not.  I like being able to choose.

 -Clark



----- Original Message -----
From:Martin Gagnon <eme...@gmail.com>
To:Fossil Users Mailing List <fossil-users@lists.fossil-scm.org>
Cc:
Sent:Thursday, April 7, 2011 4:11 AM
Subject:[fossil-users] CRLF conversion on windows

Hi, Is there any plan for CRLF conversion under windows?

This would be very usefull for cross platform projects. Especially
when using Visual Studio on the Windows side, which silently add CRLF
line ending on a LF only file which give you a mixed line ending file
(got bunch of ^M when editing files with Vim after).

it could convert text file from CR-LF to LF when committing and the
oposite on checkout, so this would always keep LF line ending on
repository and the local checkout on windows would have CR-LF line
ending text file. Just like does Git and CVSNT (using Tortoise CVS at
least).

Of course this might be dangerous for data corruption when some binary
file are flag as text file, but this kind of feature would be off by
default for sure.

-- 
Martin
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

_______________________________________________
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