migration from svn to something else.

two questions:

1 We use -ondemand. You guys are asking to change our SVN to some other service. We are interested in moving to git or mercurial. How will this happen?

2 We like a specific feature of svn and jira and wonder if this is available in mercurial or git. Svn does not let us commit without a valid jira id in the comment. We'd like to keep that. Is is possible? How?

1 answer

1 accepted

2 votes

Hi Thomas,

Regarding your first question: Our migration guide on http://go-dvcs.atlassian.com/display/aod/Migration+Introduction tries to help you answer your first question.

As an example, the page on http://go-dvcs.atlassian.com/display/aod/Migrating+from+Subversion+to+Git+on+Bitbucket outlines the migration process from Subversion to git.

Regarding your second question. This depends on your concrete migration plan (i.e. do you move to Bitbucket, a behind the firewal hosting solution like Stash or something else) but it in general this is less useful with DVCS compared to SVN. With local commits the validation that would happen on a push could mean that you'd have to rewrite a number of commits (potentially commits that are result of a merge). Ideally the verification of the commit message happens on commit which in DVCS means on the client. For git you could use the `commit-msg` hook (http://www.kernel.org/pub/software/scm/git/docs/githooks.html).

The hook is allowed to edit the message file in place, and can be used to normalize the message into some project standard format (if the project has one). It can also be used to refuse the commit after inspecting the message file.

Hope this helps.



Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,448 views 26 12
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you