Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

126 views 2 4
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