git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Philippe De Muyter <phdm@macqel.be>
To: git@vger.kernel.org
Subject: git-svn : can dcommit commit tags ?
Date: Thu, 14 Oct 2010 14:53:34 +0200	[thread overview]
Message-ID: <20101014125334.GA20464@frolo.macqel> (raw)

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

                 reply	other threads:[~2010-10-14 12:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101014125334.GA20464@frolo.macqel \
    --to=phdm@macqel.be \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).