From owner-freebsd-stable Fri Oct 12 6:38:15 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp10.atl.mindspring.net (smtp10.atl.mindspring.net [207.69.200.246]) by hub.freebsd.org (Postfix) with ESMTP id 5C01A37B407 for ; Fri, 12 Oct 2001 06:38:11 -0700 (PDT) Received: from netcom1.netcom.com (user-2iniskn.dialup.mindspring.com [165.121.114.151]) by smtp10.atl.mindspring.net (8.9.3/8.8.5) with ESMTP id JAA02112; Fri, 12 Oct 2001 09:38:06 -0400 (EDT) Received: by netcom1.netcom.com (Postfix, from userid 1000) id A18C01324C; Fri, 12 Oct 2001 06:38:00 -0700 (PDT) From: Mike Harding To: mvh@ix.netcom.com Cc: jdp@polstra.com, stable@freebsd.org, krentel@dreamscape.com In-reply-to: <20011012133046.6258A13243@netcom1.netcom.com> (message from Mike Harding on Fri, 12 Oct 2001 06:30:46 -0700 (PDT)) Subject: Re: mod times after cvsup References: <200110060531.f965Vdi48717@dreamscape.com> <200110120436.f9C4aL580826@vashon.polstra.com> <20011012133046.6258A13243@netcom1.netcom.com> Message-Id: <20011012133800.A18C01324C@netcom1.netcom.com> Date: Fri, 12 Oct 2001 06:38:00 -0700 (PDT) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry, I misread, too little sleep and too much coffee... - Mike H. From: Mike Harding Cc: stable@freebsd.org, krentel@dreamscape.com Date: Fri, 12 Oct 2001 06:30:46 -0700 (PDT) Sender: owner-freebsd-stable@FreeBSD.ORG List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Precedence: bulk As a happy modem user of cvsup, I shudder at the idea of deleting the whole source tree whenever I change labels... - Mike H. Date: Thu, 11 Oct 2001 21:36:21 -0700 (PDT) From: John Polstra Cc: krentel@dreamscape.com Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-stable@FreeBSD.ORG List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Precedence: bulk In article <200110060531.f965Vdi48717@dreamscape.com>, Mark W. Krentel wrote: > But I'm still puzzled by the following. I cvsup src-base (just six > files) with tag=RELENG_4_2_0_RELEASE into an empty, temp directory and > I get this: [...] > Fine, but now I change tag=RELENG_4_4_0_RELEASE and I get: [...] > Why did it edit Makefile but checkout new copies of Makefile.inc1 and > UPDATING? All of those files previously existed. The short answer is that it checks out new copies whenever it realizes that it can't update the file properly by applying diffs alone. The reasons for that are complicated, but the fact that you changed the tag has something to do with it. > And by setting the mtime for UPDATING to Sep 14, there's the > possibility of the above pitfall you describe. Well, not for > UPDATING because it's not a dependency in a Makefile, but it could > if the file was updating.c. Yes, that's probably a bug. I suspect that when CVSup gives up on applying diffs and checks out a fresh copy instead, it forgets that the file should be touched instead of receiving the timestamp of the revision. I have made a note in my to-do file to look into this. But, whenever you switch tags you should most likely delete your /usr/obj tree anyway, just as a matter of safety. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message