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

SVN to Git migration - no tags migrated to git remote Edited

I am running through the Atlassian Migration and all seems ok until I push the tags. No tags are pushed to remote. 

If I do `git branch -a` I see the tags:

...
remotes/tags/example-tag-1.0.0-002
remotes/tags/example-tag-2.0.0-020
...

 I execute:

git push origin --tags
Everything up-to-date

No tags are in my remote repo. Any thoughts on what I am doing wrong? 

My `.git/config`

[svn-remote "svn"]
url = https://xx.xx.xx.xx/svn/products
fetch = example/trunk:refs/remotes/trunk
branches = example/branches/*:refs/remotes/*
tags = example/tags/{example-tag-1.0.0-002,example-tag-2.0.0-020}:refs/remotes/tags/*
# java -Dfile.encoding=utf-8 -jar ../../../svn-migration-scripts.jar clean-git --force

# Creating annotated tags...
Creating annotated tag 'example-tag-1.0.0-002' at refs/remotes/tags/example-tag-1.0.0-002.
Creating annotated tag 'example-tag-2.0.0-020' at refs/remotes/tags/example-tag-2.0.0-020.

# Creating local branches...
Creating the local branch 'RELEASE-1.0.0' for Subversion branch 'refs/remotes/RELEASE-1.0.0'.
Creating the local branch 'RELEASE-2.0.0' for Subversion branch 'refs/remotes/RELEASE-2.0.0'.
Creating the local branch 'origin/RELEASE-1.0.0' for Subversion branch 'refs/remotes/origin/RELEASE-1.0.0'.
Branch origin/RELEASE-1.0.0 set up to track remote branch RELEASE-1.0.0 from origin.
Creating the local branch 'origin/RELEASE-2.0.0' for Subversion branch 'refs/remotes/origin/RELEASE-2.0.0'.
Branch origin/RELEASE-2.0.0 set up to track remote branch RELEASE-2.0.0 from origin.
Creating the local branch 'origin/master' for Subversion branch 'refs/remotes/origin/master'.
Branch origin/master set up to track remote branch master from origin.

# Checking for obsolete tags...
svn: warning: W160013: URL 'https://xx.xx.xx.xx/svn/products/example/tags/%7Bexample-tag-1.0.0-002,example-tag-2.0.0-020%7D' non-existent in revision 30613
svn: E200009: Could not list all targets because some targets don't exist
Deleting Git tag 'example-tag-1.3.1-001' not in Subversion.
Deleted tag 'example-tag-1.2.0-092' (was e210d27)
Deleting Git tag 'example-tag-1.0.0-064' not in Subversion.
Deleted tag 'example-tag-1.0.0-064' (was a6e9cdc)

# Checking for obsolete branches...
Deleted branch origin/RELEASE-1.0.0 (was bc9c9d2).
Deleting Git branch 'origin/RELEASE-1.1.0' not in Subversion.
Deleted branch origin/RELEASE-2.0.0 (was 526a807).
Deleting Git branch 'origin/RELEASE-2.0.0' not in Subversion.
Deleting Git branch 'origin/master' not in Subversion.
Deleted branch origin/master (was 4033e19).

# Cleaning tag names

# Cleaning branch names

0 answers

Suggest an answer

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

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