git-svn : can dcommit commit tags ?
From: Philippe De Muyter <hidden>
Date: 2016-06-15 22:49:47
From: Philippe De Muyter <hidden>
Date: 2016-06-15 22:49:47
Hello list,
I have used git for a project, and I am now requested :( to convert
the repo to a svn repo.
I use the following script :
SVNREPO=${SVNDIR}repo
svnadmin create ${SVNREPO}
cd ${GITDIR}
svn mkdir --parents file://${SVNREPO}/{trunk,tags,branches} -m "Creating repo"
git svn init file://${SVNREPO} -s
git svn fetch
git rebase trunk
git status
git svn dcommit -A ~/authorname
git log
git tag
cd ..
svn co file://${SVNREPO} ${SVNDIR}
cd ${SVNDIR}
svn log
svn ls file://${SVNREPO}/tags
But I did not find a way to recreate the existing git tags in the
svn repository.
How can I achieve that ?
Thanks in advance
Philippe De Muyter