Make backport branch for issue #4460


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.7.x-issue4460@1563069 13f79535-47bb-0310-9956-ffa450edef68
On the 1.7.x-issue4460 branch: Partially merge r1311747 from trunk

Didn't merge the test just the changes to make_diff_header()


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.7.x-issue4460@1563070 13f79535-47bb-0310-9956-ffa450edef68
On 1.7.x-issue4460 branch: Partially merge r1561237 from trunk.

Only merged the is_absolute_url() and make_diff_header() parts and not the
new test.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.7.x-issue4460@1563073 13f79535-47bb-0310-9956-ffa450edef68
On 1.7.x-issue4460 branch: Followup r1563073: Remove unintentional change.

* subversion/tests/cmdline/diff_tests.py
  (test_list): Remove diff_repo_wc_copies.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.7.x-issue4460@1563074 13f79535-47bb-0310-9956-ffa450edef68
On 1.7.x-issue4460 branch: Merge r1563066 from trunk.

Minor conflicts resolved due to tests added to trunk


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.7.x-issue4460@1563075 13f79535-47bb-0310-9956-ffa450edef68
On 1.7.x-issue4460 branch: Merge r1563067 and r1563068 from trunk.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.7.x-issue4460@1563076 13f79535-47bb-0310-9956-ffa450edef68
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
Merge the 1.7.x-issue4460 branch:

 * ^/subversion/branches/1.7.x-issue4460
   Fix several issues with diff we broke in 1.7.14
   Justification:
     Regression from 1.7.13
   Notes:
     The guts of the fix are in r1563081 on the branch, the rest are just
     support code for the tests and the tests themselves.
   Votes:
     +1: breser, philip, stefan2


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.7.x@1564900 13f79535-47bb-0310-9956-ffa450edef68