You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Diederik van Arkel <va...@knoware.nl> on 2004/10/10 22:56:31 UTC
How to update eol-style in repository
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. 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. Is there
anyway to conveniently update the entire repository to use the
proper eolns?
Thanks,
Diederik van Arkel
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: How to update eol-style in repository
Posted by Diederik van Arkel <va...@knoware.nl>.
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
Re: How to update eol-style in repository
Posted by Toby Johnson <to...@etjohnson.us>.
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.
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org