Backport branch for r1594223 to 1.8.x, with an added XFail marker for the test.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.8.x-r1594223@1594224 13f79535-47bb-0310-9956-ffa450edef68
On the 1.8.x-r1594223 branch, merge changes in r1553501, r1553556,
and r1559197 from trunk (resolving some trivial conflicts) to fix
the bug associated with the regression test on this branch.

In addition to the merged changes:

* subversion/tests/cmdline/lock_tests.py
  (delete_locked_file_with_percent): Remove XFail marker.



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

 * r1594223, r1553501, r1553556, r1559197
   Fix a URI-escaping bug in ra_serf and add a regression test for it.
   Justification:
     Committing a deletion of a locked path should work.
   Notes:
     As a nice side effect the behavior change of this patch also resolves
     Issue #3674: Replace + propset of locked file fails over DAV, and avoids
     some duplicated requests by providing better lock information during
     commit.
   Branch:
     ^/subversion/branches/1.8.x-r1594223
   Votes:
     +1: stsp, rhuijben, ivan


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