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

fixing files committed with wrong eol-style

From: Kitching, Simon <Simon.Kitching_at_airnz.co.nz>
Date: Tue, 13 Jul 2010 14:58:26 +1200

Hi,

 

We've got a repository containing a lot of text-files committed from
windows systems without the svn:eol-style=native setting. Some
developers now want to work on these from Linux.

 

I would therefore like to fix the eol-style. Writing a script on linux
to find all the relevant files and run "propset svn:eol-style native" on
them is easy enough. However I've noticed that if the change is
committed from *linux*, then the commit not only changes the file
properties, but also *every line-ending in the file*, ie looking at
diffs between files before and after this change is now pointless.
Committing exactly the same propset change from *windows* just sets the
property without the whitespace problems; checking out on both systems
then works as expected, and diffs between repository versions are sane.

 

However it's much more convenient to write and run this script from
linux. Is there any way from linux to persuade subversion to just set
the eol-style property?

 

Thanks,

Simon

Good planets are hard to find - please think of the environment before you print this email.
____________________________________________________________________
CAUTION - This message may contain privileged and confidential
information intended only for the use of the addressee named above.
If you are not the intended recipient of this message you are hereby
notified that any use, dissemination, distribution or reproduction
of this message is prohibited. If you have received this message in
error please notify Air New Zealand immediately. Any views expressed
in this message are those of the individual sender and may not
necessarily reflect the views of Air New Zealand.
_____________________________________________________________________
For more information on the Air New Zealand Group, visit us online
at http://www.airnewzealand.com
_____________________________________________________________________
Received on 2010-07-13 04:58:06 CEST

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.