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

Re: [PATCH] Fix bug: svn patch does not find hunks in file with missing newline at end

From: Daniel Näslund <daniel_at_longitudo.com>
Date: Thu, 4 Feb 2010 18:34:37 +0100

Oups, debug statements and trailing white spaces.

Here's a new one.

On Thu, Feb 04, 2010 at 06:27:46PM +0100, Daniel Näslund wrote:
> Hi!
>
> [[[
> Fix bug with 'svn patch' not recognizing hunks with missing newline at
> end of patch file.
>
> * subversion/libsvn_diff/parse-diff.c
> (parse_next_hunk): Don't stop reading lines until we've reached eof
> and the line read is empty.
>
> * subversion/tests/cmdline/patch_tests.py
> (patch_with_fuzz): Remove the newline from the end of the patch.
>
> Patch by: Daniel Näslund <daniel{_AT_}longitudo.com>
> ]]]

Received on 2010-02-04 18:35:21 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.