Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,749
Community Members
 
Community Events
168
Community Groups

How to mirror multiple branches from svn in Bitbucket using svn mirror

HI,

we have 3 branches in svn (trunk,6.1 and 6.1r) and we one repository(bb-test-repo) in Bitbucket and I wanted to mirror all above three branches from svn to bitbucket using svn mirror , can you please advise how to do this

1 comment

@Manjunatha NS 

There are a lot of SVN to Git migration examples available. For example this one: https://patrickbougie.com/articles/2013/03/18/convert-svn-to-git-repository/

If these are your only three branches you would have enough of the above guide. If you have a lot of revisions the migrations can take up serious time, so be aware.

You can do this on your Bitbucket server.

Once done you can write a script which will do a 

git svn fetch
git push -u origin --all

 Every 10 minutes.

Alternatively you can take a look at this great app: https://marketplace.atlassian.com/apps/1211086/svn-mirror-for-bitbucket-server?hosting=datacenter&tab=overview

Which will take away a lot of hassle.

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events