On Mon, Nov 28, 2011 at 04:53:11PM +0100, Peter Balogh wrote: > Hi, > > I'm trying to apply patches with svn patch. > The patches were created on the same linux box, where I apply them. > After applying the following diff: > Index: 3.txt > =================================================================== > --- 3.txt (revision 27) > +++ 3.txt (revision 28) > @@ -1 +1 @@ > -3 > \ No newline at end of file > +34 > \ No newline at end of file > > the pached file contains an extra 0A character after the last character. > Am I doing something wrong, or is it an svn patch issue?
This is a known issue. A fix exists and might just about make the 1.7.2 release if it gets enough review. Else, it will probably show up in 1.7.3. This command outputs the patch to fix the problem in 1.7.1: svn diff https://svn.apache.org/repos/asf//subversion/branches/1.7.x@r1206728 https://svn.apache.org/repos/asf//subversion/branches/1.7.x-issue3991@r1206745