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
Hi!
I have the same problem, the "clean-git --force" doesn't seem to do anything. Have you found a solution ?
The last update of the script is 2014... Maybe it's time to update it Atlassian?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.