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

Re: ascii/binary + windows/unix ...

From: Martin J. Evans <martin_at_easysoft.com>
Date: 2004-07-04 17:24:32 CEST

You need to set eol-style native on the files.

e.g. svn propset svn:eol-style native files

Then, when the files are checked out they will have native end of line style.
e.g. LF for UNIX and CR/LF for Windows.

Martin

--
Martin J. Evans
Development, Easysoft Ltd
Quoting Tim Alsop <Tim.Alsop@CyberSafe.Ltd.UK>:
> I have been working on a project on Windows system, then I checked this
> into the repository and used 'svn co' to load the project onto a Solaris
> 8 server ... Some of the files with file names such as imakes.sh,
> Imakefile, program.c etc. contained control-m characters at the end of
> the line. This suggests that the file was not copied using ascii, but
> treated as binary so the new line character (control-m) was passed to
> the repository, or perhaps something else went wrong ???
> 
>  
> 
> Any ideas why/how this might have occurred ?
> 
>  
> 
> Tim.
> 
> 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 5 20:23:39 2004

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