git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin Langhoff" <martin.langhoff@gmail.com>
To: "Git Mailing List" <git@vger.kernel.org>
Subject: git-svn strangeness with tags and Squirrelmail repo
Date: Wed, 20 Jun 2007 17:05:29 +1200	[thread overview]
Message-ID: <46a038f90706192205y71a77f5al5ca199b3ac382d71@mail.gmail.com> (raw)

First -- kudos to Eric Wong and company: git-svn can deal with the odd
errors and invalid chunks of XML or UTF-8 that SVN spits at me every
once in a while. And it "just works" in 99% of the situation. Great
stuff.

Now... on to my 1% where it doesn't "just work"... I am trying to get
a working svn to git gateway for Squirrelmail, and getting in trouble
with the tags setting...

  git --version
  git version 1.5.2.2.238.g7cbf2f2

For starters - it "just works" if I run
  git svn init  -T trunk -t tags -b branches \
   http://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail
 git svn fetch

However, every tree (for tags, branches and trunk) is prefixed with
"squirrelmail" and commits to the toplevel "plugins" directory get in
the way. Also, I want the branches and tags to appear in more natural
places, so after init, and before fetch, I change .git/config to say:

   [svn-remote "svn"]
        url = http://squirrelmail.svn.sourceforge.net/svnroot/squirrelmail
        fetch = trunk/squirrelmail:refs/heads/svn/trunk
        branches = branches/*/squirrelmail:refs/heads/svn/*
        tags = tags/*/squirrelmail:refs/tags/svn/*

and when I do that -- trunk and branches do what I want, but tags
aren't imported anymore. :-/

cheers,


martin

             reply	other threads:[~2007-06-20  5:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-20  5:05 Martin Langhoff [this message]
2007-06-20  7:24 ` git-svn strangeness with tags and Squirrelmail repo Eric Wong
2007-06-20  9:13   ` Martin Langhoff
2007-06-20 10:33     ` Peter Baumann

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=46a038f90706192205y71a77f5al5ca199b3ac382d71@mail.gmail.com \
    --to=martin.langhoff@gmail.com \
    --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).