threads / discuss / 25446

git-svn : can dcommit commit tags ?

Subject: git-svn : can dcommit commit tags ?

## tl;dr

One message between Oct 14, 2010 and Oct 14, 2010.

replies: 0people: 1as markdown or json

Philippe De Muyter· Oct 14, 2010, 12:53 UTC · lore
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

← back to recent threads