From owner-freebsd-questions@FreeBSD.ORG Tue Jul 22 03:01:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBEB4106564A for ; Tue, 22 Jul 2008 03:01:35 +0000 (UTC) (envelope-from fbsd06+YC=3c734ee5@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 7C6068FC0C for ; Tue, 22 Jul 2008 03:01:35 +0000 (UTC) (envelope-from fbsd06+YC=3c734ee5@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id ADEC623E49E for ; Mon, 21 Jul 2008 23:01:33 -0400 (EDT) Date: Tue, 22 Jul 2008 04:01:30 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080722040130.32351cf5@gumby.homeunix.com.> In-Reply-To: <87r69msmbg.fsf@kobe.laptop> References: <818ba6630807211708m192d72acx240a6f73cfb8d308@mail.gmail.com> <87r69msmbg.fsf@kobe.laptop> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Very Beginning CVSup Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2008 03:01:35 -0000 On Tue, 22 Jul 2008 05:08:03 +0300 Giorgos Keramidas wrote: > On Mon, 21 Jul 2008 20:08:37 -0400, "J.C." > wrote: > > The "Using the Ports Collection" page in the handbook says to make > > sure /usr/ports is empty before running csup because otherwise "csup > > will not prune removed patch files." Isn't this what the "delete" in > > the supfile (as in the line *default release=cvs delete > > use-rel-suffix compress) is for? Do I have to clean /usr/ports > > every time I run csup or just the first time? > > Probably not. It's been a while that I haven't used CVSup for ports/, > so someone with more recent experience should answer this. The issue isn't specific to ports. The same thing can happen with the base system too when you adopt an existing tree that's older than the CVS version. Deletions made in CVS between the two points on the branch don't get made locally, because they rely on the relevant csup list file. To be safe you either start from an empty tree, or do an intermediate sync to the point on the branch that matches the local copy.