Coping repository.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 30 Oct 2015 12:39:48 +0200
changeset 1777 d9b134f80a66
parent 1776 968d01052142
child 1778 2ea02b27659d
Coping repository.
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 \