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

0 votes
Accepted answer

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
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,447 views 0 8
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