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

Manjunatha NS August 18, 2020

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

Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 18, 2020

@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.

Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 18, 2020

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
AUG Leaders

Atlassian Community Events