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

Re: SVN patch IGNORES file without newline at end of file

From: cz02 <cz02_at_cdak.net>
Date: Fri, 12 Oct 2012 12:00:27 +0200

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
Received on 2012-10-12 12:01:23 CEST

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.