[jboss-dev-forums] [JBoss Transactions Development] - Re: Moving to git from svn?

Andrew Dinn do-not-reply at jboss.com
Thu Sep 29 08:07:14 EDT 2011


Andrew Dinn [http://community.jboss.org/people/adinn] created the discussion

"Re: Moving to git from svn?"

To view the discussion, visit: http://community.jboss.org/message/629234#629234

--------------------------------------------------------------
> Tom Jenkinson wrote:
> 
> Disadvantages would be that we would most likely do a top-skim so for a while the history would be in two places.
> 
> Does anyone have any particular experience with svn/git migration and can help to argue the case to move or not?
I successfully moved the Byteman repo from SVN to git using svn2git, preserving +all+ history. There were two slightly tricky bits:
* getting the authors names right -- you need to remap all the names which have been used during checkin otherwise the convert fails. so you might end up redoing the convert a few times beforeyou get them all. this is annoing as the conversion takes quite a long time.
*  pruning branches/tags which had been deleted and then recreated in SVN -- overwritten branches/tags appear with names like 4.1.3.Final at 33957. all you need to do is delete these branches/tags after conversion andbefore uploading the lcoal converted repo into github
I think it is well worth doing though. git makes collaboration much much easier both inside and outside the JBoss(TS) team.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/629234#629234]

Start a new discussion in JBoss Transactions Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2041]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110929/a761ceb9/attachment.html 


More information about the jboss-dev-forums mailing list