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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

710 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot