# HG changeset patch # User Oleksandr Gavenko # Date 1446201588 -7200 # Node ID d9b134f80a66382ac0bb8049a8ad76e696d8be74 # Parent 968d010521429ea599ff6a198d62bad540989f25 Coping repository. diff -r 968d01052142 -r d9b134f80a66 svn.rst --- a/svn.rst Fri Oct 30 11:29:07 2015 +0200 +++ b/svn.rst Fri Oct 30 12:39:48 2015 +0200 @@ -12,16 +12,28 @@ The per-user configuration area currently contains three files two configuration files ('config' and 'servers'). - /etc/subversion - Unix system wide configurations. - $HOME/.subversion - Unix per-user configuration area. - %APPDATA%\Subversion - Windows per-user configuration area. + ``/etc/subversion`` + Unix system wide configurations. + ``$HOME/.subversion`` + Unix per-user configuration area. + ``%APPDATA%\Subversion`` + Windows per-user configuration area. + +Coping repository. +================== -Copy repo from SourceForge to GoogleCode. -========================================= -:: +Making local repository copy:: + + $ svnadmin create $SVNROOT + $ svnsync init file://$SVNROOT svn://$REMOTE + $ svnsync synchronize file://$SVNROOT + +Note that you can't relocate working copy to new repository copy becase of:: + + $ svn relocate file://$SVNROOT + svn: E195009: The repository at 'file:///home/user/devel/repo-copy' has uuid 'b064fe9f-b7ba-459e-afdf-3429ad89a318', but the WC has '11827c6b-1af5-4614-8a8b-dda7fb34cd94' + +Coping repository from SourceForge to GoogleCode:: $ svnsync init https://PROJ.googlecode.com/svn https://PROJ.svn.sourceforge.net/svnroot/PROJ $ svnsync --username NAME --password PASSWORD \