From owner-freebsd-questions Sun Feb 10 6:34:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from maile.telia.com (maile.telia.com [194.22.190.16]) by hub.freebsd.org (Postfix) with ESMTP id 32D5337B41A for ; Sun, 10 Feb 2002 06:34:46 -0800 (PST) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by maile.telia.com (8.11.6/8.11.6) with ESMTP id g1AEYiG29632 for ; Sun, 10 Feb 2002 15:34:44 +0100 (CET) Received: from falcon.midgard.homeip.net (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id PAA28689 for ; Sun, 10 Feb 2002 15:34:43 +0100 (CET) Received: (qmail 55009 invoked by uid 1001); 10 Feb 2002 14:34:42 -0000 Date: Sun, 10 Feb 2002 15:34:42 +0100 From: Erik Trulsson To: Mike Meyer Cc: questions@freebsd.org Subject: Re: Elegant solution to local kernel modification sought Message-ID: <20020210143441.GA54974@student.uu.se> Mail-Followup-To: Mike Meyer , questions@freebsd.org References: <116433496@toto.iv> <15462.32810.965372.181772@guru.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15462.32810.965372.181772@guru.mired.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Feb 10, 2002 at 08:14:02AM -0600, Mike Meyer wrote: > Erik Trulsson types: > > On Sun, Feb 10, 2002 at 09:54:03AM +0100, Cliff Sarginson wrote: > > > Hello, > > > I submitted a PR a while back for a small change to a kernel module that has > > > not yet surfaced in Stable .. that's ok, I am not complaining about > > > that.. but since I track STABLE, what is the easiest way to > > > automatically infiltrate my change (I am looking for a generic kind > > > of answer) when I cvsup (which I do once a week). > > Use cvsup to get a local copy of the whole repository, and then use cvs > > to update your sources from your local repository. > > Cvs knows how to deal with local modifications to the source. > > I haven't tried it for FreeBSD, but for other projects using cvs, I > don't need to keep a local copy of the repository to do this. I just > point cvs at the remote repository, and then let "cvs update" do it's > thing. It seems to work fine, updating files that I haven't changed, > and trying to merge files that have changed in both places. Yes, that works too. > > Does keeping the local repository help in some way? Using a local repository is normally faster than using a remote one. It also helps reduce the load on the remote server. There is also the fact that while there are numerous servers around the world allowing you to update using cvsup there are only a few allowing anonymous cvs access. Having a local copy of the repository also allows you to check the cvs logs and comparing different versions of files without having to be online. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message