git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: fREW Schmidt <frioux@gmail.com>
To: git@vger.kernel.org
Subject: git-svn feature idea
Date: Fri, 20 May 2011 22:41:39 -0500	[thread overview]
Message-ID: <BANLkTi=OHfHaHE86z8Ufj44J+Oxu8ec5ug@mail.gmail.com> (raw)

Hey guys,
Lately I've been doing a lot of permanent subversion to git
conversions, and I keep running into braindead repo structures that
give me pain to export.  The main one is this:

trying to check out MyProject:

trunk/MyProject
trunk/OtherProject
tags/MyProject-1.0
tags/MyProject-1.1
tags/OtherProject-1.0

So you see I can't just specify to git-svn that tags is the tags dir.
I know a workaround (check out each tag separately and then use git
fetch to put them all in the same repo) but that's really inefficient.

So really what would be great would be to be able to do the following:

git svn clone $repo --trunk=trunk/MyProject --tag=tags/MyProject-1.0
(and --branch would be great too)

Anyway, I am fairly well versed with perl, so I could try my hand at
writing such a feature, but I wouldn't really know where to start or
if anyone other than me is even interested in something this.

Thoughts?

--
fREW Schmidt
http://blog.afoolishmanifesto.com

             reply	other threads:[~2011-05-21  3:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-21  3:41 fREW Schmidt [this message]
2011-05-21 10:03 ` git-svn feature idea Michael J Gruber

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='BANLkTi=OHfHaHE86z8Ufj44J+Oxu8ec5ug@mail.gmail.com' \
    --to=frioux@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).