Copier toutes l'historique d'un repository SVN auquel vous avez accès (en lecture),
mais pas les droits d'administration :
svnadmin create localrepos
emacs localrepos/hooks/pre-revprop-change # make it 'exit 0'
chmod +x localrepos/hooks/pre-revprop-change
svnsync init --username USERNAME file:///path/to/localrepos https://myproject.googlecode.com/svn
Copied properties for revision 0.
svnsync sync --username USERNAME file:///path/to/localrepos
Source : http://code.google.com/p/support/wiki/SubversionFAQ#How_do_I_download_my_Subversion_history?
Donc :
$ svnadmin creat localrepos
$ cat > localrepos/hooks/pre-revprop-change
#! /bin/bash
exit 0
$ chmod a+x localrepos/hooks/pre-revprop-change
$ svnsync init --username USERNAME file:///NEWREPO https://OLDREPO
Copied properties for revision 0.
$ svnsync sync --username USERNAME file:///NEWREPO
[...copie de toutes les révisions...]
Sur la machine où j'ai copié l'historique, j'ai du utiliser une feinte :
$ svnadmin setuuid UUID-OLDREPO
Puis, pour changer les "checkouts" de source,
svn switch :
$ svn switch --relocate https://OLDREPO svn+ssh://NEWREPO
Et voilà !
PS : si vous avez les accès svnadmin sur les deux machines, il y a plus simple comme solution.
http://particul.es/blog/index.php?post/Reprendre-un-projet-%3A-svn-tips-pour-changer-l-url-du-d%C3%A9pot