With the knowledge that WC-NG always knows the repository root for versioned nodes and that the repository root doesn't change when passing a peg revision simplify a few libsvn_client util functions.
With the knowledge that WC-NG always knows the repository root for versioned
nodes and that the repository root doesn't change when passing a peg revision
simplify a few libsvn_client util functions.

* subversion/libsvn_client/util.c
  (wc_path_to_repos_urls): Remove function.
  (svn_client__path_relative_to_root): Don't use the helper when we can
    use the real thing.
  (svn_client__get_repos_root): Always use wc_db for local paths and always
    open the ra layer for urls instead of using a helper that looks for
    local paths again.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@1091746 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion