[darcs-users] CRLF Problem
Jorey Bump
list at joreybump.com
Thu Apr 12 18:06:23 UTC 2007
Goldstein, Ken wrote:
> My small team at work has been using Darcs for about a month, and my
> main problem has been caused by the lines ending in \r\n being compared
> to lines ending in \n being flagged as changes. I want us to use the
> output of "whatsnew" and "change" to be part of our change control
> documentation, but this problem limits the value of those commands. I
> know about dos2unix and unix2dos, but I don't want the developers to
> waste their valuable time converting dozens of (J2EE) files to match
> what the last person who worked on particular file did. We all use
> different editors and IDEs and bounce between Linux and Windows which
> causes this to be a mess. Any suggestions?
I actually like this "feature" and deal with it by using editors that
can cope with any/mixed formats. As a result, some of my source
documents are quite hybridized where it doesn't matter (web pages) but
potential problems are visible where it does (platform-specific
configuration files).
This doesn't specifically answer your question, but if the problem can't
be solved, hopefully you'll find that it isn't always a showstopper.
Unfortunately, I've found that you can't adopt any RCS without
establishing some local policies.
More information about the darcs-users
mailing list