SVN to stash, how to rebase?

I did an initial import from SVN using the addon into an empty repo. Is there a way I can rebase; fetch the updates in SVN and get them into Stash/Git?

1 answer

1 accepted

Hello Alan,

Unfortunately, version 1.0.x does not support that functionality. Currently we're working on Stash plugin that supports bi-directional synchronization between Stash Git repositories and SVN repositories.

We have already implemented that in our product called SubGit. Here's the description how one can use SubGit with Stash:

http://lists.tmatesoft.com/pipermail/subgit-users/2012-December/000042.html

In order to get status updates consider following us at twitter: @subgit or subscribing to our mailing list: subgit-users-subscribe@subgit.com

Thanks. Since I can configure subgit to use the Stash repo, can I configure subgit to pull from SVN but not push?

What should happen when someone pushes changes to Git branch foo, and someone else commits anything to branches/foo? Should ongoing import from SVN to Git rewrite pushed commits?

SubGit does not support this kind of one-way synchronization explicitly. However, you can setup such a pre-receive hook that rejects any pushes to Git branches synchronized with SVN.

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
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

179 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