From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LyRL7-0000bZ-13 for qemu-devel@nongnu.org; Mon, 27 Apr 2009 09:57:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LyRL2-0000a9-5z for qemu-devel@nongnu.org; Mon, 27 Apr 2009 09:57:44 -0400 Received: from [199.232.76.173] (port=35956 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyRL0-0000Zy-LK for qemu-devel@nongnu.org; Mon, 27 Apr 2009 09:57:38 -0400 Received: from bsdimp.com ([199.45.160.85]:60817 helo=harmony.bsdimp.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LyRKz-0008Ot-BB for qemu-devel@nongnu.org; Mon, 27 Apr 2009 09:57:37 -0400 Date: Mon, 27 Apr 2009 07:54:32 -0600 (MDT) Message-Id: <20090427.075432.756921142.imp@bsdimp.com> Subject: Re: [Qemu-devel] Switch to GIT. Why? From: "M. Warner Losh" In-Reply-To: <20090427131059.GT3795@csclub.uwaterloo.ca> References: <20090426155257.7c6dac29.mle+tools@mega-nerd.com> <20090426.011320.1172763085.imp@bsdimp.com> <20090427131059.GT3795@csclub.uwaterloo.ca> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: lsorense@csclub.uwaterloo.ca Cc: mle+tools@mega-nerd.com, qemu-devel@nongnu.org In message: <20090427131059.GT3795@csclub.uwaterloo.ca> lsorense@csclub.uwaterloo.ca (Lennart Sorensen) writes: : On Sun, Apr 26, 2009 at 01:13:20AM -0600, M. Warner Losh wrote: : > At the expense, at least with hg and git, that you can't do subtree : > checkouts. You also lose the strict numbering that svn was giving us, : > since both git and hg compute a hash of the tree and use that as a : > revision number. Usually this isn't a big deal, but something to be : > aware of if you used to checkout sub-trees to do bug bisection... : : But of course that is part of why svn can't merge from one tree to : another without loosing the history and git can (and I suspect Hg can : as well). So the strict numbering while it seems very useful, is actually : a problem in many cases. Yes. And that's why you can only check out entire trees, and never subtrees, with git and hg, but you can with svn. git and hg force a small view of the system to be its own repo. So something the size of X11 or FreeBSD could never use git or hg without breaking the integrated tree model. FreeBSD used svn to not break it because we like the development model we have (and think Linus' talk at google was very arrogant to suggest it was broken), while the X11 folks broke their tree up into lots of modules, and got out of the making sure it all worked together business (which makes integrating X11 into systems harder now, alas). For qemu, none of these issues are likely to be an issue, but it is something to keep in mind... Warner