From owner-freebsd-stable Tue Mar 30 17:38:34 1999 Delivered-To: freebsd-stable@freebsd.org Received: from athena.veritas.com (athena.veritas.com [192.203.46.191]) by hub.freebsd.org (Postfix) with ESMTP id C92ED14BF9 for ; Tue, 30 Mar 1999 17:38:33 -0800 (PST) (envelope-from aaron@sigma.veritas.com) Received: from megami.veritas.com (megami.veritas.com [192.203.46.101]) by athena.veritas.com (8.9.1a/8.9.1) with SMTP id RAA23954; Tue, 30 Mar 1999 17:38:12 -0800 (PST) Received: from sigma.veritas.com([192.203.46.125]) (1914 bytes) by megami.veritas.com via sendmail with P:esmtp/R:smart_host/T:smtp (sender: ) id for ; Tue, 30 Mar 1999 17:38:12 -0800 (PST) (Smail-3.2.0.101 1997-Dec-17 #3 built 1999-Jan-25) Received: from sigma (localhost [127.0.0.1]) by sigma.veritas.com (8.9.2/8.9.1) with ESMTP id RAA11902; Tue, 30 Mar 1999 17:38:12 -0800 (PST) (envelope-from aaron@sigma.veritas.com) Message-Id: <199903310138.RAA11902@sigma.veritas.com> From: Aaron Smith To: chad@dcfinc.com Cc: stable@FreeBSD.ORG Subject: Re: preserving local mods In-reply-to: Your message of "Tue, 30 Mar 1999 18:30:36 MST." <199903310130.SAA24757@freebie.dcfinc.com> Date: Tue, 30 Mar 1999 17:38:12 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG as you guess in your last sentence, you can avoid this by cvsupping a CVS tree instead of the actual sources, and using "cvs update" to update your sources. this way you can have local mods merged, and occasionally you have to resolve conflicts. it's a lot easier than what you describe, in my opinion. that's what i do, anyway. i don't actually check in my changes -- if i ever want to blow away my sources i save a "cvs diff" and i can re-apply them easily. aaron On Tue, 30 Mar 1999 18:30:36 MST, "Chad R. Larson" writes: >This should probably be a FAQ. > >What is the recommended method for preserving local edits in the >source tree? > >For example, I changed "/usr/src/lkm/syscons/snake/snake_saver.c" >to make the crawling banner identify the machine and it's use. >Keeps the operators amused and is better than a PostIt note. But now, >each time I CVSup, I have to remember to check out my modified version >from the RCS file I created as part of the edit process. > >Enough folks must have this issue that there should be a process. >How do y'all deal with it? Create a ".cvsignore" file in the >directory? Keep your own CVS repository and check in your changes >there? > > -crl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message