[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: Branko Čibej <brane_at_xbc.nu>
Date: 2004-07-04 18:04:02 CEST

Tim Alsop wrote:

> 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 ?
>
This is exactly how Subversion is supposed to behave. By default,
Subversion doesn't make _any_ changes to the file contents. If you want
newline translation, you must set the svn:eol-style property on the file
to "native". Read the book; this is all explained there.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jul 4 18:07:47 2004

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.