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

Re: tsvn converts my files to mac eol on commit

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2006-05-06 23:57:11 CEST

Dan Caragea wrote:
> Hello,
>
> I was hoping you can help me with this problem:
> When I commit, some of the files are converted to mac line endings. The
> strange fact is that not all files are converted, just some, and I can't
> pinpoint the problem or fix it...but I am a bit puzzled because I
> thought that tortoise is not supposed to touch the files I am working on...
>
> I need the line endings to be UNIX but it would be nice if they would
> stay as I set them in that file. Meaning that if I save one file with
> \r\n it keeps \r\n and if I save another file with \n it keeps \n.
>
> I have:
> - TortoiseSVN-1.3.3.6377-dev-svn-1.3.1.msi installed but it was
> happening with the latest stable version too.
> - Windows XP sp2
> - I am the only user of the repository and local copy and administrator
> for windows
> - I added in C:\Documents and Settings\Administrator\Application
> Data\Subversion\config file this line:
> *.php = svn:eol-style=LF
> - I don't remember for sure but when I started using tortoise it might
> have been *.php = svn:eol-style=CR (added by me at the begining)

This setting affects files only at the point of adding to the
repository. Once they are added, changing that setting has no effect on
them. You need to set the eol-style that you want on all files in your
working copy, then commit.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sat May 6 23:56:26 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.