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

Re: Possible BUG with patch creation in newline style

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 18 Jul 2008 21:28:02 +0200

Emmanuel Stapf [ES] wrote:
>> The file context uses the platform EOLs. The actual file content uses
>> the EOLs of the file itself. That's expected and actually wanted,
>> otherwise the patch would not contain EOL changes.
>
> I see but it makes those patches non-portable from Windows to Unix. On
> Solaris, the patch command simply rejects it. On Linux, it works but
> displays "(Stripping trailing CRs from patch.)".

Well, if the patch on your system can't handle it, you should file a
bugreport there, not here.

> When you say the actual file content uses the EOLs of the file itself,
> but since I'm on Windows, all my files have the windows platform EOLs
> and it should be using that, no?

That depends on your editor and your svn:eol-style property set on those
files.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-07-18 21:28:15 CEST

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.