From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8215 invoked by alias); 19 Nov 2009 05:12:12 -0000 Received: (qmail 8205 invoked by uid 22791); 19 Nov 2009 05:12:11 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Nov 2009 05:11:27 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nAJ5BBJf009099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 19 Nov 2009 00:11:11 -0500 Received: from freie.oliva.athome.lsd.ic.unicamp.br (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nAJ5B9u8006252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Nov 2009 00:11:10 -0500 Received: from livre.localdomain (livre.oliva.athome.lsd.ic.unicamp.br [172.31.160.2]) by freie.oliva.athome.lsd.ic.unicamp.br (8.14.3/8.14.3) with ESMTP id nAJ5B9mB013745; Thu, 19 Nov 2009 03:11:09 -0200 Received: from livre.localdomain (aoliva@localhost [127.0.0.1]) by livre.localdomain (8.14.3/8.14.3/Debian-5) with ESMTP id nAJ5B8FS015062; Thu, 19 Nov 2009 03:11:08 -0200 Received: (from aoliva@localhost) by livre.localdomain (8.14.3/8.14.3/Submit) id nAJ5B7OE015060; Thu, 19 Nov 2009 03:11:07 -0200 From: Alexandre Oliva To: Bernie Innocenti Cc: "H.J. Lu" , GCC Development Subject: Re: git mirror repacked, new branches References: <1258331577.10424.386.camel@giskard> <6dc9ffc80911180713l7e2978c9sbc7490163968e527@mail.gmail.com> <1258567789.3371.26.camel@giskard> Date: Thu, 19 Nov 2009 05:12:00 -0000 In-Reply-To: <1258567789.3371.26.camel@giskard> (Bernie Innocenti's message of "Wed, 18 Nov 2009 13:09:49 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-11/txt/msg00481.txt.bz2 On Nov 18, 2009, Bernie Innocenti wrote: > I guess git-svn does not cope automatically with nested subdirs in > banches/. That's correct. (save for b*r*anches ;-) > One could manually select them by passing multiple --branches options. Yup. Here's the configuration I'm using to build a git repo with all branches, tags, and also retaining the ability to check out any directory containing multiple tags, branches, and even the entire SVN tree (look for dirs). [svn-remote "svn"] rewriteRoot = svn+ssh://gcc.gnu.org/svn/gcc # url = svn+ssh://aoliva@gcc.gnu.org./svn/gcc url = file:///l/tmp/build/gcc/gccrepo fetch = trunk:refs/remotes/trunk branches = branches/ARM/*:refs/remotes/branches/ARM/* fetch = branches/ARM:refs/remotes/dirs/branches/ARM branches = branches/apple/*:refs/remotes/branches/apple/* fetch = branches/apple:refs/remotes/dirs/branches/apple branches = branches/csl/*:refs/remotes/branches/csl/* fetch = branches/csl:refs/remotes/dirs/branches/csl branches = branches/dead/*:refs/remotes/branches/dead/* fetch = branches/dead:refs/remotes/dirs/branches/dead branches = branches/gcj/*:refs/remotes/branches/gcj/* fetch = branches/gcj:refs/remotes/dirs/branches/gcj branches = branches/ibm/*:refs/remotes/branches/ibm/* fetch = branches/ibm:refs/remotes/dirs/branches/ibm branches = branches/ix86/*:refs/remotes/branches/ix86/* fetch = branches/ix86:refs/remotes/dirs/branches/ix86 branches = branches/redhat/*:refs/remotes/branches/redhat/* fetch = branches/redhat:refs/remotes/dirs/branches/redhat branches = branches/st/*:refs/remotes/branches/st/* fetch = branches/st:refs/remotes/dirs/branches/st branches = branches/suse/*:refs/remotes/branches/suse/* fetch = branches/suse:refs/remotes/dirs/branches/suse branches = branches/ubuntu/*:refs/remotes/barnches/ubuntu/* fetch = branches/ubuntu:refs/remotes/dirs/branches/ubuntu branches = branches/*:refs/remotes/branches/* fetch = branches:refs/remotes/dirs/branches/root tags = tags/apple/*:refs/remotes/tags/apple/* fetch = tags/apple:refs/remotes/tags/dirs/apple tags = tags/csl/arm/*:refs/remotes/tags/csl/arm/* fetch = tags/csl/arm:refs/remotes/tags/dirs/csl/arm tags = tags/csl/coldfire/*:refs/remotes/tags/csl/coldfire/* fetch = tags/csl/coldfire:refs/remotes/tags/dirs/csl/coldfire tags = tags/csl/morpho/*:refs/remotes/tags/csl/morpho/* fetch = tags/csl/morpho:refs/remotes/tags/dirs/csl/morpho tags = tags/csl/renesas/*:refs/remotes/tags/csl/renesas/* fetch = tags/csl/renesas:refs/remotes/tags/dirs/csl/renesas tags = tags/csl/sourcerygxx/*:refs/remotes/tags/csl/sourcerygxx/* fetch = tags/csl/sourcerygxx:refs/remotes/tags/dirs/csl/sourcerygxx tags = tags/csl/wrs-linux/*:refs/remotes/tags/csl/wrs-linux/* fetch = tags/csl/wrs-linux:refs/remotes/tags/dirs/csl/wrs-linux tags = tags/csl/*:refs/remotes/tags/csl/others/* fetch = tags/csl:refs/remotes/tags/dirs/csl/root tags = tags/ix86/*:refs/remotes/tags/ix86/* fetch = tags/ix86:refs/remotes/tags/dirs/ix86 tags = branches/st/tags/*:refs/remotes/tags/st/* fetch = branches/st/tags:refs/remotes/tags/dirs/st tags = tags/redhat/*:refs/remotes/tags/redhat/* fetch = tags/redhat:refs/remotes/tags/dirs/redhat tags = tags/ubuntu/*:refs/remotes/tags/ubuntu/* fetch = tags/ubuntu:refs/remotes/tags/dirs/ubuntu tags = tags/*:refs/remotes/tags/* fetch = tags:refs/remotes/tags/dirs/root fetch = :refs/remotes/dirs/root -- Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/ You must be the change you wish to see in the world. -- Gandhi Be Free! -- http://FSFLA.org/ FSF Latin America board member Free Software Evangelist Red Hat Brazil Compiler Engineer