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

Re: fixing files committed with wrong eol-style

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Mon, 19 Jul 2010 23:26:40 -0500

On 7/19/2010 10:10 PM, Kitching, Simon wrote:
>
> Ah well, as it appears that nobody here knows the answer I'll just have
> to do it the ugly way: try to get the svn repo administrator to install
> some hooks to prevent this occurring in future, and then install cygwin
> on somebody's windows PC to script the adding of eol-style=native to
> relevant existing files.

Maybe you could write your script to check for the need for the change
to run on linux but instead of setting the property there, output a
batch file of the commands to be executed, transfer the file to windows
box (perhaps by committing, and checking back out there with the correct
eol's), and then run the commands from the windows side.

-- 
   Les Mikesell
     lesmikesell_at_gmail.com
Received on 2010-07-20 06:27:40 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.