[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: cr, lf on merge ... implement or use gnu diff option?

From: Rafael Garcia-Suarez <rgarciasuarez_at_free.fr>
Date: 2002-11-12 23:18:36 CET

Lele Gaifax wrote:
> >>>>> On Tue, 12 Nov 2002 08:52:20 -0800 (PST), solo turn <soloturn99@yahoo.com> said:
>
> st> perforce handles that via saying: unix, max-os-X use lf, so we
> st> in the repository use linefeed. for macos you have to tell
> st> poeple what to do.

And thus with Perforce you can't force (to my knowledge) different line
endings on different text files in your project. That's a bit annoying when
you want to provide, say, a UNIX makefile and a Windows/MSVC++ makefile.
Of course, when the project is checked-out, you get the correct line endings
for your platform, but that's not what you want if you want to pack everything
in a tarball for public release.

> st> for win, the cr are striped away when transferring to the
> st> repository, and also when doing diffs.
>
> This would be wrong! I "love"/"hate" WinCVS(*) for this every day, but
> as already said by Ben, it's the wrong approach to the problem.
> Please, consider using a better/smarter editor that does not hurt your
> sources that way.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 12 23:18:16 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.