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

Re: Charsets

From: Peter Davis <peter_at_pdavis.cx>
Date: 2002-12-03 20:56:29 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 03 December 2002 09:19, Oxley, David wrote:
> I have also had a problem with editing a script file on Windows that then
> gives errors when running it on Linux. I think this is a problem with new
> line chars though.

The default in Subversion is to not modify line endings. If you want the
scripts to be automatically translated to use the correct endings based on
the platform you're currently using, then set the "svn:eol-style" to
"native".

If the scripts should *always* have LF endings (ie., they are Linux scripts,
but you sometimes edit them on Windows), then set "svn:eol-style" to "LF".
Similarly, you could set it to "CRLF" or "CR".

HTH.

BTW., shouldn't there be a FAQ for this? Or are David and I both blind? :)

- --
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE97QxuhDAgUT1yirARAmglAJwJ+IyC70TyJYEkmz5BffriO1suGwCeNdUY
bP5dRP17PEvinPZs7qcUkco=
=x8hD
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 3 20:57:15 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.