git - Svn2git Migration: Repository/Project Complication -


i have 3 svn repositories, each having 30~ projects in them. want convert these 3 svn repositories git repositories, respective projects kept inside. give clear idea, representation of structure have:

-repository1   -- project1   -- project2   -- project3   -- project4   -- project5 -repository2   -- project1   -- project2   -- project3   -- project4   -- project5 -repository3   -- project1   -- project2   -- project3   -- project4   -- project5 

i tried lot of tutorials far, none worked purpose. of tutorials suggest create repository per project, find not-okay, not pattern have svn.

when execute command this:

svn2git http://address/address/repository1/project1 --authors ../authormap.txt --metadata 

it creates folder of project git repository, don't want; because not case svn structure.

so need command converts entire repository (along 30 projects in it) git repository. told remove projectname @ end of address, this:

svn2git http://address/address/repository1 --authors ../authormap.txt --metadata

however did not work, got:

command failed: git checkout -f master 

i have been trying methods day, no luck far. should not frustrating , complicated convert repository. has solid idea on matter?

there pleny tools called svn2git, question i'd guess not using kde 1 https://github.com/svn-all-fast-export/svn2git. recommend using svn2git tool. best know available out there , flexible in can rules files.

you able configure layout result want , expect.

if not 100% history of repository, svneverever http://blog.hartwork.org/?p=763 great tool investigate history of svn repository when migrating git.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -