From owner-freebsd-stable Fri Nov 21 08:40:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA19795 for stable-outgoing; Fri, 21 Nov 1997 08:40:43 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from shrimp.dataplex.net (shrimp.dataplex.net [208.2.87.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA19781 for ; Fri, 21 Nov 1997 08:40:36 -0800 (PST) (envelope-from rkw@dataplex.net) Received: from [208.2.87.4] (user4.dataplex.net [208.2.87.4]) by shrimp.dataplex.net (8.8.5/8.8.5) with ESMTP id KAA15164; Fri, 21 Nov 1997 10:40:18 -0600 (CST) X-Sender: rkw@mail.dataplex.net Message-Id: In-Reply-To: <199711211532.IAA05903@freebie.dcfinc.com> References: <199711210529.WAA13140@mt.sri.com> from Nate Williams at "Nov 20, 97 10:29:17 pm" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 21 Nov 1997 10:39:11 -0600 To: chad@dcfinc.com From: Richard Wackerbarth Subject: Re: Version Resolution? Cc: nate@mt.sri.com (Nate Williams), mike@smith.net.au, freebsd-stable@freebsd.org Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 9:32 AM -0600 11/21/97, Chad R. Larson wrote: >I don't think you're listening. The ID gets changed as part of a *commit*. >Each change state of a given tree is uniquely identified. There are still "race" conditions that we cannot solve by any means that does not serialize the update/snapshot process. Since we cannot get an absolutely accurate stamp, I think that an "approximate" stamp done by a cron job is both adequate and simpler. >The ID is kept in a source module (most seem to be voting for >newvers.sh). CVS changes that module during a commit, but doesn't RCS >the change (to avoid the file growing without bounds--history of all >these timestamps is meaningless). Any change to newvers.sh other than >the timestamp would still be RCSd. Fundamental Rule of Modular Programming: It is not a good idea to have two mechanisms altering the same file. It is much better to have "newvers.sh" (or anyone else who cares) include a file which contains the timestamp information. [Been there, done that...] Richard Wackerbarth