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

Re: svn EOL

From: Timothee Besset <ttimo_at_idsoftware.com>
Date: 2003-09-01 12:19:51 CEST

Note that doing a direct checkout on win32 won't fix your problem. svn
currently lives in total absurdity regarding treatment of eols, so you
will still have to set the props on .dsp/.dsw to have them with the right
formatting.

The *right* way of things IMO would be to have svn use the native eol of
the platform for all text files. This *used* to be the case, and it was
changed to not modify anything and carry screwed up formatting across
platforms (specially bad for guys like us who do OSX - Linux - win32 .. we
have all 3 kinds of eol). But since I'm pretty much the only one who would
want it that way..

TTimo

On Mon, 01 Sep 2003 12:03:31 +0200
Jan Evert van Grootheest <j.grootheest@euronext.nl> wrote:

> TTime,
>
> That's because we develop for Linux and that's where we compile/test/...
>
> Hmm, foolish me that I didn't even think about that! Too much locked
> into SourceSafe I guess, where it can only be set per instance of VSS ))-:
>
> -- Jan Evert
>
> Timothee Besset wrote:
> > You need to set the svn:eol property on the .dsp / .dsw etc. files so that
> > they are always forced to CRLF format.
> >
> > On a side note, I think it's really bad to do samba exports of files with
> > unix format to windows machines. Why not use a win32 svn client and
> > checkout the code there? (Note that if you do that, the eol issues can get
> > even more annoying .. so maybe you're right after all)
> >
> > TTimo
> >
> > On Mon, 01 Sep 2003 11:49:44 +0200
> > Jan Evert van Grootheest <j.grootheest@euronext.nl> wrote:
> >
> >
> >>Hello,
> >>
> >>I've just read the svn book on EOL settings. Here's a problem I can't
> >>seem to figure out how to solve...
> >>We develop for Linux, so we also use svn on Linux.
> >>Some people simply prefer MS Visual Studio to develop, so we use Samba
> >>to export from Linux to the (NT) desktop where Studio is available.
> >>
> >>Here's the problem: since svn is used on Linux, it uses just LFs for
> >>EOL. For C(pp) and include files, this is fine and studio works well
> >>with it. However, for the studio project and workspace files this is not
> >>fine. Studio cannot read its own project and workspace files that were
> >>extracted from svn (on Linux). Once these files are converted to CRLF
> >>EOL, studio accepts them again.
> >>
> >>Any suggestions on how to deal with this, other than extracting these
> >>files on windows?
> >>
> >>Thanks,
> >>Jan Evert
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> >>For additional commands, e-mail: users-help@subversion.tigris.org
> >>
> >>
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 1 12:20:47 2003

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

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