* Importing a strange svn repo layout w/ git-svn
@ 2008-04-30 4:20 Asheesh Laroia
2008-04-30 5:50 ` Paolo Bonzini
0 siblings, 1 reply; 3+ messages in thread
From: Asheesh Laroia @ 2008-04-30 4:20 UTC (permalink / raw)
To: git
I'm working on cloning the MediaWiki (a common wiki engine, used to power
e.g. wikipedia.org) Subversion tree using git-svn. It has this peculiar
layout:
$BASE/trunk/phase3 is the project trunk
$BASE/tags/TAG_NAME/phase3 is the tag TAG_NAME
$BASE/branches/BRANCH_NAME/phase3 is the branch BRANCH_NAME
"phase3" is not the only directory in e.g.
http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_12/ - there is
also an "extensions" directory, a snapshot of MediaWiki extensions for
that branch. But those are truly separate projects with separate
contributors, and have to be installed in a separate place.
When cloning other svn repositories, I saw that strange layouts can be
accommodated by just cloning the trunk. But in this case,
I considered using git-svn like this:
$ git svn http://svn.wikimedia.org/svnroot/mediawiki/ -t
tags/phase3/ -b branches/phase3/ -T trunk/phase3/
But that wouldn't be correct, since it wouldn't actually pick up the tag
or branch names!
Is there a way to get git-svn to handle this situation? Perhaps git-svn
has a "suffix $DIR to the repository URL" option that I missed. If not,
is it conceivable it could?
-- Asheesh.
--
Beauty? What's that?
-- Larry Wall in <199710221937.MAA25131@wall.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Importing a strange svn repo layout w/ git-svn
2008-04-30 4:20 Importing a strange svn repo layout w/ git-svn Asheesh Laroia
@ 2008-04-30 5:50 ` Paolo Bonzini
2008-04-30 6:44 ` Asheesh Laroia
0 siblings, 1 reply; 3+ messages in thread
From: Paolo Bonzini @ 2008-04-30 5:50 UTC (permalink / raw)
To: Asheesh Laroia; +Cc: git
> Is there a way to get git-svn to handle this situation? Perhaps git-svn
> has a "suffix $DIR to the repository URL" option that I missed. If not,
> is it conceivable it could?
See the CONFIGURATION section of git-svn(1).
Paolo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Importing a strange svn repo layout w/ git-svn
2008-04-30 5:50 ` Paolo Bonzini
@ 2008-04-30 6:44 ` Asheesh Laroia
0 siblings, 0 replies; 3+ messages in thread
From: Asheesh Laroia @ 2008-04-30 6:44 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: git
On Wed, 30 Apr 2008, Paolo Bonzini wrote:
>
>> Is there a way to get git-svn to handle this situation? Perhaps git-svn
>> has a "suffix $DIR to the repository URL" option that I missed. If not, is
>> it conceivable it could?
>
> See the CONFIGURATION section of git-svn(1).
Oops, thanks! I read through the command-line options of the man page,
but not all the way down to the CONFIGURATION where this is in fact
clearly discussed.
That solved my issue!
-- Asheesh.
--
There's nothing very mysterious about you, except that
nobody really knows your origin, purpose, or destination.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-30 6:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-30 4:20 Importing a strange svn repo layout w/ git-svn Asheesh Laroia
2008-04-30 5:50 ` Paolo Bonzini
2008-04-30 6:44 ` Asheesh Laroia
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.