JBoss Community

Re: Moving to git from svn?

created by David Lloyd in JBoss Transactions Development - View the full discussion

Andrew Dinn wrote:

 

Tom Jenkinson wrote:

Thanks for the feedback. I am a bit concerned about how long a conversion might take as the transactions repo with all history is presumably fairly large. That, coupled with your observation about different committer names makes me fairly worried that such an endeavour may be a timesink....

Not really, you just set it running and leave it for a few hours to see if you have identified all named committers. Once you know all the name mappings are valid you can freeze the TS repo, run the convert for real, upload to git and unfreeze relative to the git master. It might take up to half a day to do the switcheroo but you should not have to freeze for more than that.

 

I agree with Andrew.  I've migrated a number of projects from SVN and it's really not too bad.  Furthermore, the svn-to-git import process is something which can be resumed at any time; I've used this technique to (manually) maintain git "mirrors" of external svn repositories (once you start using git, it can be really hard to go back to slow, slow svn).

 

In addition to arguments given above, I feel strongly that using git (espeically in conjunction with public services like github.com) makes it much easier for contributors to join projects and submit fixes.  It also makes it much less painful for contributors in the event that you reject a change; it is easier for them to fix, rebase, and resubmit a change under git than it is under SVN.

Reply to this message by going to Community

Start a new discussion in JBoss Transactions Development at Community