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

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
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

43 views 3 1
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