Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

diff in SVN Importer and Subgit

I have to migrate from Subversion to GIT. Before that I need to understand the props and cons of SVN Importer and subgit.

Can you please tell me the difference also.

2 answers

1 accepted

1 vote
Answer accepted

Hello Sanjiv,

SVN Importer plugin is one-shot converter from Subversion to Git; it allows one to convert SVN repository to Git right from Stash Web UI. The plugin just imports all SVN revisions and doesn't perform any synchronization afterwards.

So, if your goal is to import SVN repository to Git and shutdown SVN server after that (i.e. everyone in your team is going to use Git) then SVN Importer is the way to go for you.

However, if you're planning smooth migration, when both Subversion and Git repositories remain writable for some period, SubGit is a better choice.

SubGit is a tool that enables bi-directional synchronization between Subversion and Git repositories keeping both SVN and Git sides writable. At the moment we're working on Stash integration, soon it will be possible to use full-featured SubGit from Stash Web UI as well.

As to the quality of SVN to Git conversion, SVN Importer and SubGit share the same code, so the result of conversion is the same:

  • SVN branches are properly converted to Git refs;
  • SVN tags are properly converted to Git tags;
  • SVN branch copies keep natural history in converted Git repository;
  • svn:ignore properties are converted to .gitignore files;
  • svn:eol-style & svn:mime-type properties are converted to .gitattribute files;
  • svn:mergeinfo properties are converted to proper merge commits when it's reasonable;

Many our users have reported significant speed boost comparing to other SVN to Git converters like git-svn and svn2git.

For more details feel free to contact us at support@subgit.com

Regards,

Semyon

Thanks a lot Semyon :-)

It answers my question and now I have clear understanding of which tool I have to use as per my requirement.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,809 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you