savannah-hackers-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers-public] documentation changes for converting from git


From: Gavin Smith
Subject: [Savannah-hackers-public] documentation changes for converting from git to svn
Date: Sun, 25 Nov 2018 10:33:51 +0000
User-agent: Mutt/1.5.23 (2014-03-12)

I suggest the following tweaks to the documentation for how to convert a 
repo from SVN to Git.  The :: syntax didn't work for the URL given to 
rsync.  I also had difficulty accessing the local copy of the repository 
I had made using rsync, so I've added some advice on how to do that.

Index: UsingGit.mdwn
===================================================================
--- UsingGit.mdwn       (revision 361)
+++ UsingGit.mdwn       (working copy)
@@ -262,14 +262,26 @@
 
 You'll usually perform the import several times before getting what you
 want. For this reason it's preferable to rsync the SVN repository
-locally, or create it from a dump:
+locally:
 
-    rsync -av rsync://svn.sv.gnu.org::svn/myproject svn_repo
+    rsync -av rsync://svn.sv.gnu.org/svn/myproject svn_repo
 
+or create it from a dump:
+
     wget http://svn.gna.org/daily/myproject.dump.gz
     svnadmin init svn_repo
     zcat myproject.dump.gz | svnadmin load svn_repo/
 
+To access a local copy of the repository, use svnserve:
+
+    svnserve -d -r svn_repo
+
+Then access it with git svn with something like:
+
+    git svn clone svn://127.0.0.1/myproject -A authors-transform.txt 
--stdlayout ./temp.checkout
+ 
+where myproject is the subdirectory under svn_repo.
+
 Importing from GNU Arch
 -----------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]