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

Re: How to update eol-style in repository

From: Diederik van Arkel <vanarkel_at_knoware.nl>
Date: 2004-10-12 23:54:03 CEST

On Oct 12, 2004, at 8:45 AM, Toby Johnson wrote:

> Diederik van Arkel wrote:
>
>> Hi,
>>
>> I have an existing repository where several files were added with
>> svn:eol-style native but using the wrong eol-style for the platform
>> from which they were added.
>
> The platform from which you added them doesn't matter. If you have set
> svn:eol-style, then the proper eol-style should be applied each time
> you check them out.
>

Yes, the working copy indeed has the correct eol-style.

>> When I now check these out and modify
>> anything I get diff claiming the whole file has changed because
>> the repo contains dos eolns and the wc has unix eolns.
>
> When you refer to "diff" are you talking about "svn diff" or some
> other diff tool? The svn client should take the eol style into
> account, but other diff tools might not.

I'm referring to svn diff. When I check the copy in .svn/text-base then
that copy has the
wrong eol-style. (In my case dos). What originally happened is I
comitted some files with
dos eol-style from a unix machine whith svn:eol-style native using (I
believe) svn 0.37

Thanks in advance,

Diederik

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 12 23:54:26 2004

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.