Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Having trouble doing a one-way migration from SVN to Git at the clean-git step.

Some background: I am testing out migrating an existing SVN repository hosted in Assembla to a Git repository in Bitbucket. I'm using a very small sample project with a couple of tags and no branches as a test case.

While following the Atlassian guide for migrating from SVN to Git, I ran into a problem at the Convert step. I was able to successfully run the git svn clone command with the --stdlayout option. As expected, the tags from the SVN repository are displayed when I run the git branch -r command. However, the tags still do not appear after I run the clean-git command:

java -Dfile.encoding=utf-8 -jar ~/svn-migration-scripts.jar clean-git --force

The above command generates the following output:

image.png

After this, running git branch only shows the master branch (which I suppose is expected since I have nothing in the /branches directory), but running git tag returns nothing at all.

I have already tried duplicating the above steps but explicitly providing the trunk, branches, and tags directories to the git svn clone command.

Has anyone had this problem before, and can anyone suggest a remedy?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

226 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you