Merge r1537018 from trunk:

 * r1537018
   Fix issue #4440, "Subversion sets permissions on files, when it shouldn't"
   Justification:
     Bug introduced by me. Unreasonable behaviour. User complained.
   Votes:
     +1: stsp, stefan2, philip
     +0.5: rhuijben (Change looks sane, but I'm unable to test this)


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.8.x@1562347 13f79535-47bb-0310-9956-ffa450edef68
Merge the r1553376 group from trunk:

 * r1553376, r1553377
   Fix pool lifetime issue in serf commit processing for copied files and dirs
   Justification:
     Pool lifetime issues are bad. Reported by several git-svn users.
   Votes:
     +1: rhuijben, stefan2, philip


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.8.x@1562348 13f79535-47bb-0310-9956-ffa450edef68
Merge the r1553101 group from trunk:

 * r1553101, r1553105, r1553113
   Resolve performance regression in certain 'svn log' scenarios, especially
   against pre Subversion 1.5 servers.
   Justification:
     Easy fix for improving performance for everybody. More generic patch for
     old versions might be needed for other scenarios, but those scenarios
     were never supported on those old versions itself.
   Votes:
     +1: rhuijben, stefan2, philip


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.8.x@1562349 13f79535-47bb-0310-9956-ffa450edef68
Merge r1548486 from trunk:

 * r1548486
   When (during merge) we compare three files to each other stop reading
   specific files when we find enough differences.
   Justification:
     Trivial fix that can have a huge performance impact for some users.
   Votes:
     +1: rhuijben, stefan2, philip


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.8.x@1562350 13f79535-47bb-0310-9956-ffa450edef68
Merge r1557522 from trunk:

 * r1557522
   Make mod_dav_svn report all property changes in 'include-properties' mode,
   even in uncommon configurations.
   Justification:
     This needs a fix in either client or server if we ever want to restart
     using the report copyfrom mode.
   Votes:
     +1: rhuijben, stefan2, philip


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