Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JsaDw-0006Mz-FW for qemu-devel@nongnu.org; Sun, 04 May 2008 05:09:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JsaDq-0006Ky-QK for qemu-devel@nongnu.org; Sun, 04 May 2008 05:09:35 -0400 Received: from [199.232.76.173] (port=38619 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JsaDq-0006Ks-MZ for qemu-devel@nongnu.org; Sun, 04 May 2008 05:09:30 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JsaDq-0008Vh-4T for qemu-devel@nongnu.org; Sun, 04 May 2008 05:09:30 -0400 Date: Sun, 4 May 2008 10:09:26 +0100 (BST) From: Johannes Schindelin Subject: Re: [Qemu-devel] Questions about qemu svn/git sync In-Reply-To: <20080503070644.28839f9d.mle+tools@mega-nerd.com> Message-ID: References: <68676e00805020549h140636c7ve635a2da41357a80@mail.gmail.com> <20080503070644.28839f9d.mle+tools@mega-nerd.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Erik de Castro Lopo Cc: qemu-devel@nongnu.org Hi, On Sat, 3 May 2008, Erik de Castro Lopo wrote: > Jun Ma wrote: > > > Thanks, Luca. I will switch to that repo, :). > > Its also possible to use git-svn to pull the qemu sources directly from > SVN. > > http://www.kernel.org/pub/software/scm/git/docs/git-svn.html > http://www.robbyonrails.com/articles/2008/04/10/git-svn-is-a-gateway-drug That is a possibility, but if you want to avoid reimporting the Subversion repository (*1*), you can start from what you got from repo.or.cz and update it yourself, after adding these lines to .git/config: [svn-remote "svn"] url = svn://svn.savannah.nongnu.org/qemu fetch = trunk:refs/remotes/trunk branches = branches/*:refs/remotes/* tags = tags/*:refs/remotes/tags/* Of course, if you use HPA's repository to begin, you have to update the appropriate refs first: git-svn expects the "trunk" branch to be named "refs/remotes/trunk". And HPA somehow maps that to the "master" branch (and does not even bother with tags). Ciao, Dscho *1* I wonder why it was deemed sensible by the QEmu powers to "upgrade" from one crappy version control to another. Whatever.