Combine two svn_wc__node_repos_* apis into one. Fix some corner cases in the
remaining function to properly calculate urls on all cases of shadowed nodes.

* subversion/include/private/svn_wc_private.h
  (svn_wc__node_get_repos_info): Add arguments. Update documentation.
  (svn_wc__node_get_repos_relpath): Remove function.

* subversion/libsvn_client/cleanup.c
  (svn_client_upgrade): Update caller.

* subversion/libsvn_client/commit_util.c
  (harvest_copy_committables): Update caller.

* subversion/libsvn_client/diff.c
  (make_repos_relpath): Update caller.

* subversion/libsvn_client/externals.c
  (switch_dir_external): Update caller.
  (handle_external_item_change): Update caller.

* subversion/libsvn_client/merge.c
  (open_target_wc): Update caller. Avoid adding error cases.
  (calculate_left_hand_side): Update caller.

* subversion/libsvn_client/mergeinfo.c
  (svn_client__get_wc_mergeinfo_catalog): Update caller, by combining calls.
  (svn_client_mergeinfo_get_merged): Update caller.
  (svn_client_mergeinfo_log2): Rename variable to match common practice.
     Update caller.

* subversion/libsvn_wc/info.c
  (svn_wc__get_info): Fetch repository information on the parent directory,
    not the tree conflict victim to avoid getting path not found.
    (requires r1442335, to avoid a segfault.)

* subversion/libsvn_wc/node.c
  (svn_wc__internal_get_repos_info): Add two arguments. Return an error on
    not-versioned (like svn_wc__internal_get_repos_relpath used to).
    Fetch id and repos-relpath.
  (svn_wc__internal_get_repos_relpath): Remove function.
  (svn_wc__node_get_repos_info): Add two arguments. Update caller.
  (svn_wc__node_get_repos_relpath): Remove function.

* subversion/libsvn_client/util.c
  (svn_client_get_repos_root): Update caller. Copy error handling from wc
    function to keep public api stable.

* subversion/libsvn_client/ra.c
  (svn_client__open_ra_session_internal): Update caller.

* subversion/libsvn_wc/wc.h
  (svn_wc__internal_get_repos_info): Add revision and repos_relpath arguments.
  (svn_wc__internal_get_repos_relpath): Remove function.

* subversion/tests/libsvn_wc/entries-compat.c
  (test_access_baton_like_locking): Update caller.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1442353 13f79535-47bb-0310-9956-ffa450edef68