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
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.
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.