Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNqam-00071a-1d for qemu-devel@nongnu.org; Sat, 09 Feb 2008 09:22:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNqah-0006uT-4Y for qemu-devel@nongnu.org; Sat, 09 Feb 2008 09:22:07 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNqag-0006ty-O7 for qemu-devel@nongnu.org; Sat, 09 Feb 2008 09:22:02 -0500 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JNqag-0007E9-B2 for qemu-devel@nongnu.org; Sat, 09 Feb 2008 09:22:02 -0500 Date: Sat, 9 Feb 2008 14:22:06 +0000 (GMT) From: Johannes Schindelin Subject: Re: Git/SVN/CVS? was Re: [Qemu-devel] What does code_copy_enabled do? In-Reply-To: Message-ID: References: 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: Blue Swirl Cc: qemu-devel@nongnu.org, Paul Brook Hi, On Sat, 9 Feb 2008, Blue Swirl wrote: > On 2/9/08, Johannes Schindelin wrote: > > > And I'm not a fan of _forcing_ people to switch to another SCM. You > > can use git (and even cvsimport yourself, should the public git > > mirrors lag), and even svn, as pbrook showed, even if the official > > upstream stays CVS. > > I'm not suggesting a forced switch either, that's why I was asking if > it's possible to have R/W access enabled for several SCMs at once. That's tricky. You can mirror, of course, but that is prone to desynchronisation. But as I said, git has a cvs emulator. > I'm also still learning git, can I completely replace CVS access by > using cvsimport and cvsexportcommit locally? I do that in two projects, so yes, you can do that. cvsexportcommit is a little tricky, especially when you do not want to have an extra working directory for CVS. So this is what I do regularly: $ git --git-dir=$(pwd)/.git cvsexportcommit -c -p -u master^ master The "-c" means to really commit when the patch applies, "-p" means to check anally that the patch applies, the "-u" means that it tries to cvs update the files to the correct version first. I need to checkout the "origin" branch for that to work, though (I've been meaning to work on cvsexportcommit, but time is really scarce). Ciao, Dscho