Fix a redirect handling bug in 'svn log' over HTTP.
Fix a redirect handling bug in 'svn log' over HTTP.

A server config with:
RedirectMatch permanent ^/svn/repoOLD$      /svn/repoNEW
RedirectMatch permanent ^/svn/repoOLD/(.*)$ /svn/repoNEW/$1

would result in the following error:
$ svn log http://localhost:8081/svn/repoOLD
Redirecting to URL 'http://localhost:8081/svn/repoNEW':
subversion/svn/log-cmd.c:876,
subversion/libsvn_client/log.c:899,
subversion/libsvn_client/ra.c:576,
subversion/libsvn_ra/ra_loader.c:588: (apr_err=SVN_ERR_RA_ILLEGAL_URL)
svn: E170000: 'http://localhost:8081/svn/repoOLD' isn't in the same repository as 'http://localhost:8081/svn/repoNEW'

With this fix 'svn log' follows the redirect as expected.

* subversion/libsvn_client/log.c
  (svn_client_log5): Don't ignore corrected RA session location returned by
   svn_client__ra_session_from_path2().


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

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion