Why non matching eols in patch and target. (svn patch related)
From: Daniel Näslund <daniel_at_longitudo.com>
Date: Tue, 2 Feb 2010 20:48:43 +0100
Hi Stefan!
In match_hunk() we try to match lines from the context of the patch with
In match_hunk we read a line from original_text and translate it. But we
I've set the eol_str argument in svn_subst_translate_cstring2() to
A piece of code from match_hunk() where I've inserted debug statements
[[[
svn_pool_clear(iterpool);
SVN_ERR(svn_stream_readline_detect_eol(hunk->original_text,
if (strstr(hunk_line_translated, "\r\n"))
if (strstr(target_line, "\r\n"))
A piece of the output. No '\r\n' endings found for hunk_line_translated.
Do you have any clues to this?
Daniel
|
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.