Fix some more URI-encoding bugs in the relocation code.
Fix some more URI-encoding bugs in the relocation code.

* subversion/libsvn_wc/relocate.c
  (url_remove_final_relpath): Was uri_remove_components().  Add
    docstring.  Add 'scratch_pool' parameter.  Rename 'uri' and
    'component' parameters to 'url' and 'relpath', respectively.
    Tweak assertions to be a bit more forward-looking.  Finally,
    URI-encode the relpath before searching through 'uri' for it.
  (svn_wc_relocate4): Update call to (what is now)
    url_remove_final_relpath().

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion