git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-svn : can dcommit commit tags ?

From
PMPhilippe De Muyter <phdm@macqel.be>
Date
Oct 14, 2010, 12:53 UTC
Message-ID
<20101014125334.GA20464@frolo.macqel>
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
Message 1 of 1 in “git-svn : can dcommit commit tags ?”
  1. Philippe De MuyterOct 14, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.