On 1.7.x-issue4460 branch: Fix Issue #4460
* subversion/libsvn_client/diff.c
(diff_repos_repos_added_or_deleted_file, diff_repos_wc_file_target):
apr_hash_get returns a svn_string_t not a char *, so retrive properties
correctly.
(diff_repos_wc_file_target): call the translation functions with the
retrieved eol_str rather than the incorrect hardcoded native eol string.
(diff_repos_wc_file_target): when calling the file_changed callback actually
calculate the property diff rather than just feeding it the full list of
properties on the new side.
* subversion/tests/cmdline/diff_tests.py
(diff_repo_wc_file_props): 1.7 doesn't calculate the reverse diff correctly,
so just ignore the output for now. Old 1.7 versions before we broke all
of this behaved the same way sadly. Specifically, it outputs nothing.
(diff_repo_repo_added_file_mime_type): 1.7 doesn't use r0 as the base because
it doesn't actually go to the server for the base. So hide the spurious
test failure.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.7.x-issue4460@1563081 13f79535-47bb-0310-9956-ffa450edef68
2 files changed