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

svn patch removes an EOL after a context line

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Fri, 8 Feb 2013 01:35:21 +0000 (GMT)

Stefan and anyone interested,

I just discovered this issue: if the final context line in a patch does not have an EOL, but the target file *does* have one at that position, svn patch removes that EOL from the target file.

I added an XFail test, patch_tests.py 46, in r1443815.

- Julian

 

--
Certified & Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download
Received on 2013-02-08 02:36:27 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.