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

Re: Checking out code to UNIX server, EOL issues.

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-06-09 12:58:21 CEST

On 6/9/06, Anders Rnningen <andersronningen@gmail.com> wrote:
> At work I check out working copies to a folder on a UNIX server. Until now I
> have used an Cygwin-X to forward a fedora desktop to my xp-pc, so that I could
> work in emacs and check out/in using psvn or from my terminal application.
>
> Now I want to start using TortoiseSVN under XP instead, and check out files to
> the server that is mounted as a network drive under windows. I will use an
> editor under windows that preserves the EOL in the files.
>
> My question: Is there a way to make TSVN know that it is checking out files to a
> UNIX filesystem, so that it doesn't use cr+lf?

The EOL markers have nothing to do with the filesystem, and changing
them based upon the filesystem is not a terribly good idea. UNIX apps
will (normally) write UNIX-style EOL markers on a FAT32 filesystem,
and Windows apps will write DOS-style EOL markers on Samba shares
that are EXT3 on the host server.

You can tell Subversion (this is a Subversion issue, not TSVN) what
EOL marker style to use with the svn:eol-style property. If you set
it to "native", the EOL markers will be set upon checkout to whatever
is native to the OS you're performing the checkout on (this helps
"solve" a lot of conflicts). Other values, and a fuller explanation
are found in the SVN book (http://svnbook.org)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Jun 9 12:58:31 2006

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

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