From owner-freebsd-current Sun Feb 9 14:45:28 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D4F837B401 for ; Sun, 9 Feb 2003 14:45:26 -0800 (PST) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0018F43F3F for ; Sun, 9 Feb 2003 14:45:25 -0800 (PST) (envelope-from mike@espresso.q9media.com) Received: by espresso.q9media.com (Postfix, from userid 1002) id 163B19C5B; Sun, 9 Feb 2003 17:33:24 -0500 (EST) Date: Sun, 9 Feb 2003 17:33:24 -0500 From: Mike Barcroft To: David Leimbach Cc: freebsd-current@freebsd.org Subject: Re: Best method to produce patches? Message-ID: <20030209173324.K88550@espresso.q9media.com> References: <8A57567D-3C7E-11D7-8E7D-0003937E39E0@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8A57567D-3C7E-11D7-8E7D-0003937E39E0@mac.com>; from leimy2k@mac.com on Sun, Feb 09, 2003 at 04:33:41PM -0600 Organization: The FreeBSD Project Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Leimbach writes: > I am about to try to make some changes to FreeBSD current... > > Should I begin to use read-only CVS instead of CVSup for this work or > is it possible to generate diffs based on CVSup'd sources? > > What is the recommend method to use for playing with the source? > > I already found a small change in libc that should probably get > committed but I want to generate the patch properly for everyone's > approval. Most developers use CVSup to download the repo. I use the following supfile: *default host=cvsup10.freebsd.org *default base=/usr *default prefix=/work/repo *default release=cvs *default delete use-rel-suffix *default compress doc-all ports-all src-all www Then setup an alias for local operations: alias lcvs cvs -d/work/repo -R Then: lcvs checkout src cd src [make changes to files] lcvs diff >~/my.diff Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message