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

RE: Preserving newline at the end of files

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-08-23 15:19:43 CEST

> From: Lutz Frommberger [mailto:lutz@informatik.uni-bremen.de]
> I noticed that after performing svn update on my C++ files,
> all of them
> do not longer end with a newline (LF in that case).

That is extremely odd. By default, Subersion stores your files binarily,
and will not modify the ends of lines, no matter how strange they are. If
you have the svn:eol-style property set on a file, Subversion will normalize
the ends of lines accordingly, but regardless of the svn:eol-style setting,
if the last line has a legitimate ending, it will be retained.

Perhaps someone has checked in versions of the files without the final
newline? What is the history of the files?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 23 15:24:12 2005

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.