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

RE: svn:eol-style native problem

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Wed, 5 Nov 2008 15:24:50 +0000

>

Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447

-----Original Message-----

> From: Simon Large [mailto:simon.tortoisesvn_at_googlemail.com]
> Sent: 05 November 2008 15:12
> To: naren.gokal_at_bcx.co.za; users_at_tortoisesvn.tigris.org
> Subject: Re: svn:eol-style native problem
>
> 2008/11/5 <naren.gokal_at_bcx.co.za>:
> > Hi Simon,
> >
> > Can you please tell me how to sort this issue ?
> >
> > Im really stuck, and have tried everything.
> >
> > Is there something im doing wrong
>
> Yes, you are sending mail to my personal account. Don't do that, use
> the mailing list.
>
> Simon
>
> >> 2008/11/3 narengokal <naren.gokal_at_bcx.co.za>:
> >>> I am setting all folders to have the "native" setting to elimnate the
> >>> control chars when checking out into unix. The setting is done on my
> >>> windows
> >>> machine when i import my files.
> >>>
> >>> BUT, when i do a checkout in my unix box, most of the files are
> correctly
> >>> converted, ie no control M chars, but 2 or 3 of these files do have
> these
> >>> funny chars. Now, i can't see why this is happening. Please can
> someone
> >>> assist , Urgently
> >>
> >> The best way to be ignored on a public mailing list is to demand an
> >> urgent response. Do you really think people are going to drop what
> >> they are doing just because you put that in the title.
> >>
> >> You cannot set svn:eol-style on a folder. When you add that property
> >> recursively to a folder it gets applied to all the files which exist
> >> in the folder at that time, but it is not set on the folder. In
> >> consequence, if you subsequently add more files, you have to set the
> >> svn:eol-style on them too - it does not happen automatically.
> >>
> >> You can use subversion's auto-props feature, or TortoiseSVN's
> >> tsvn:autoprops feature to ensure this property is added to files with
> >> particular extensions. Look in the manual for more details.
> >>
> >> Simon

I personally don't use "native" as I found it didn't really work for me. I use LF though, and I found out that you not only need to set the property but you also have to ensure that you don't have mixed eol. In my case was just a matter of using dos2unix, I'm not sure what you can do in you case.

Maybe, and I have not tested it, you can check your files out on a unix machine, set the property (if not set already), use dos2unix and commit. Next time you check out on Windows you should have the correct eol for Windows.

Giulio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-11-05 16:25:12 CET

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.