Correctly convert to normalized form rather than from normalized form when
running a repos to wc file diff.
* subversion/libsvn_client/diff.c
(diff_repos_wc_file_target): roughly copy the implementation of the now
deprecated svn_subst_stream_translated_to_normal_form(). We only repair
line endings when the style is fixed, which matches what we do in the
wc diff editor which never passes SVN_WC_TRANSLATE_FORCE_EOL_REPAIR to
svn_wc__internal_translation_stream(), which replaced the previously
mentioned deprecated function, though is unavailable to us as a private
wc function.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.7.x-diff-translate@1568460 13f79535-47bb-0310-9956-ffa450edef68
1 file changed