??changed:
-Git comes with 2 SVN-related tools: git-svnimport and git-svn. git-svnimport 
is for importing revisions (a one-shot import, or incrementally); git-svn is a 
2-way gateway to a SVN repository, similar to SVK, more useful for maintaining 
a local branch than for importing a repository (IMHO). We'll use git-svnimport.
-
-Those tools use an authors file to map username->real name (option -A) it 
looks like this::
- rms = Richard M. Stallman <[EMAIL PROTECTED]>
- toto = Another User <[EMAIL PROTECTED]>
- ...
-
-Common invokation:
- git-svnimport -v -I .gitignore -A ../authors.txt file:///home/me/svn_repo
-
-To ignore branches:
- git-svnimport -v -I .gitignore -A ../authors.txt -b idontexist 
file:///home/me/tests/svn_repo
-
-git-svnimport assumes there's a trunk, a branches, and a tags directory (names 
are configurable) and ignores other directories. You may run into troubles if 
your layout changed during your former SVN life.
-
-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:
- rsync -av rsync://svn.sv.gnu.org::svn/myproject svn_repo
- 
- wget http://svn.gna.org/daily/myproject.dump.gz
-[1 more lines...]
 Git comes with 2 SVN-related tools: git-svnimport and git-svn. git-svnimport 
is for importing revisions (a one-shot import, or incrementally); git-svn is a 
2-way gateway to a SVN repository, similar to SVK, more useful for maintaining 
a local branch than for importing a repository (IMHO). We'll use git-svnimport.

 Those tools use an authors file to map username->real name (option -A)
 it looks like this::

  rms = Richard M. Stallman <[EMAIL PROTECTED]>
  toto = Another User <[EMAIL PROTECTED]>
  ...

 Common invokation::

  git-svnimport -v -I .gitignore -A ../authors.txt file:///home/me/svn_repo

 To ignore branches::

  git-svnimport -v -I .gitignore -A ../authors.txt -b idontexist 
file:///home/me/svn_repo

 git-svnimport assumes there's a trunk, a branches, and a tags directory (names 
are configurable) and ignores other directories. You may run into troubles if 
your layout changed during your former SVN life.

 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::

  rsync -av rsync://svn.sv.gnu.org::svn/myproject svn_repo
  
  wget http://svn.gna.org/daily/myproject.dump.gz
  svnadmin init svn_repo
  zcat myproject.dump.gz | svnadmin load svn_repo/

--
forwarded from https://savannah.gnu.org/maintenance/[EMAIL 
PROTECTED]://savannah.gnu.org/maintenance


_______________________________________________
Savannah-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/savannah-cvs

Reply via email to