loader: Handle origin URL redirection in SvnLoaderFromRemoteDump
svnrdump does not handle repository URL redirection while svn client does.
So ensure to use redirected subversion origin URL to dump a repository.
Issue found from an output of the maven lister that can list subversion origins.
anlambert@carnavalet:/tmp$ svnrdump dump http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-1.1.9
svnrdump: E170011: Repository moved permanently to 'https://anonsvn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-1.1.9'
anlambert@carnavalet:/tmp$ svn info http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-1.1.9
Redirecting to URL 'https://anonsvn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-1.1.9':
Path: jboss-ejb3-1.1.9
URL: https://anonsvn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-1.1.9
Relative URL: ^/projects/ejb3/tags/jboss-ejb3-1.1.9
Repository Root: https://anonsvn.jboss.org/repos/jbossas
Repository UUID: 84be2c1e-ba19-0410-b317-a758671a6fc1
Revision: 114873
Node Kind: directory
Last Changed Author: jaikiran
Last Changed Rev: 91090
Last Changed Date: 2009-07-10 17:12:19 +0200 (ven., 10 juil. 2009)
Related to T3874
Migrated from D7730 (view on Phabricator)