[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: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Tue, 20 Jul 2010 01:49:26 -0400

On Tue, Jul 20, 2010 at 12:26 AM, Les Mikesell <lesmikesell_at_gmail.com> wrote:
> 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.

Look, *BREAK* the history. History is overvalued: Make a clean tag
with your final pre-switchover release, with a note explaining what
happened, and make an entirely new repository or branch with entirely
imported code. It will be much cleaner to track and follow what
happened without trying to back-revise history of mixed EOL
configurations.
Received on 2010-07-20 07:51: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.