Importing a strange svn repo layout w/ git-svn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux