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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,931 views 26 12
Join discussion

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