How can I use BitBucket to collaborate on a private SVN repository with 3rd parties?

I have an internal SVN repository that I would like to allow external users to collaborate on privately. It seems like BitBucket is just the tool for this purpose, but I'm having trouble figuring out where to start.

I need to:

  • Keep my internal SVN repository as authorative
  • Keep the two repositories synchronised (i.e. update both BB -> SVN and SVN -> BB periodically)
  • Only allow authorised users to see / change code in BitBucket

How can I use BitBucket to do the following?

  1. Import my private SVN repository into BitBucket
  2. Synchronise the two repos

Thanks!

1 answer

1 accepted

1 vote
Accepted answer

While Bitbucket doesn't support subversion, you can clone a subversion repository into Git locally using git-svn. Check out http://trac.parrot.org/parrot/wiki/git-svn-tutorial for a decent tutorial on how this could work. Once you have a local clone of your subversion repo, you could push it into Bitbucket periodically.

Thank you - that's exactly what I was after. At the time of writing I had already created Mercurial repositories (Git was announced three days earlier) and could not find such a guide.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

242 views 3 7
Read article

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