subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Woodward-Clarke <jaxx...@gmail.com>
Subject Re: SVN patch IGNORES file without newline at end of file
Date Wed, 17 Oct 2012 02:17:03 GMT
I just tried it and can confirm that I am getting the same issue.
(I am fairly new to SVN so I may have done somthing wrong)

I am running Win XP SP3.

I downloaded the files and tried applying the patches.
I tried with with the TortoiseSVN "apply patch" and "svn patch" from the
command line.


Both time the first patch "p.patch" failed to do any changed to aaa.txt
(only bbb.txt), while "p2.patch" changed both files.

Jaxxa


On Fri, Oct 12, 2012 at 9:00 PM, cz02 <cz02@cdak.net> wrote:

> On 2012-10-11 21:14, Stefan Sperling wrote:
>
>> I cannot reproduce this problem on unix with the files you've provided.
>> Both patches apply find (tested both svn from trunk and 1.7.6.
>> I don't have a 1.7.7 build handy right now, so I cannot test that,
>> but I suspect that trunk should have the same problem if it exists.
>>
>
> 1.7.6 has the problem as well.
>
>
>  Maybe this bug only happens on Windows?
>>
>
> That's possible, could someone else try this on Windows?
>
>
>  Do you have any svn:eol-style properties set on these files?
>> If so, what are the property values? If not, does adding an
>> svn:eol-style property fix this problem?
>>
>
> No eol-style was set.
>
> I tried to set it but the output of patch did not change:
>
>  svn propset svn:eol-style CRLF *.txt
>>
> property 'svn:eol-style' set on 'aaa.txt'
> property 'svn:eol-style' set on 'bbb.txt'
>
>
>  svn patch p.patch
>>
> U         bbb.txt
>
>

Mime
View raw message