From: John Locke <mail@freelock.com>
To: git@vger.kernel.org
Subject: git svn clone a non-standard repository
Date: Tue, 24 Jun 2008 11:32:37 -0700 [thread overview]
Message-ID: <48613DC5.2000506@freelock.com> (raw)
Hi,
I'm trying to create a git repo of the Dojo Toolkit, which has a quite
non-standard layout. There are 4 modules to the current Dojo project
that I care about (and some others in the repo that I'm not interested
in). The problem is, the trunk code is split out into
<modulename>/trunk, while tags are in tags/<tagname>/<modulename> and
branches are in branches/<branchname>/<modulename>. e.g:
moduleA/trunk <- contains trunk development of moduleA
moduleA/tags <- empty
moduleA/branches <- empty
moduleB/trunk
moduleB/tags
moduleB/branches
moduleC/trunk
moduleC/tags
moduleC/branches
moduleD/trunk
moduleD/tags
moduleD/branches
moduleE/trunk <- I don't care about this one...
trunk/ <- contains ancient version, not actual trunk
tags/1.0.0/moduleA <- contains tagged version of moduleA
tags/1.0.0/moduleB <- contains tagged version of moduleB
tags/1.0.0/moduleC <- contains tagged version of moduleC
tags/1.0.0/moduleD <- contains tagged version of moduleD
tags/1.0.1/moduleA
tags/1.0.1/moduleB
...
So I'd like to set up a git repo that tracks this SVN repository, and
allows me to see:
moduleA/
moduleB/
moduleC/
moduleD/
... in my checkout, whether I'm on trunk or a tag.
What's the best way to set this up?
I've started with "git svn clone http://path/to/svn -T moduleA/trunk -t
tags -b branches", and it's been sucking down branches for a couple days
now, still not done. Can I set up moduleB/moduleC/moduleD as additional
remotes in this same repository, and end up with the desired result? Was
thinking I would add additional svn sections to .git/config, and then
git svn fetch -- will this work, or is there a better way?
Thanks,
--
John Locke
"Open Source Solutions for Small Business Problems"
published by Charles River Media, June 2004
http://www.freelock.com
next reply other threads:[~2008-06-24 18:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-24 18:32 John Locke [this message]
2008-06-25 15:25 ` git svn clone a non-standard repository Michael J Gruber
2008-06-26 18:29 ` John Locke
2008-06-26 18:39 ` John Locke
2008-06-27 1:06 ` John Locke
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=48613DC5.2000506@freelock.com \
--to=mail@freelock.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.