From owner-freebsd-current Sun Jan 21 14:29:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from sol.cc.u-szeged.hu (sol.cc.u-szeged.hu [160.114.8.24]) by hub.freebsd.org (Postfix) with ESMTP id A70D137B698 for ; Sun, 21 Jan 2001 14:28:52 -0800 (PST) Received: from petra.hos.u-szeged.hu by sol.cc.u-szeged.hu (8.9.3+Sun/SMI-SVR4) id XAA00876; Sun, 21 Jan 2001 23:28:45 +0100 (MET) Received: from sziszi by petra.hos.u-szeged.hu with local (Exim 3.12 #1 (Debian)) id 14KSyc-00060c-00 for ; Sun, 21 Jan 2001 23:28:46 +0100 Date: Sun, 21 Jan 2001 23:28:46 +0100 From: Szilveszter Adam To: freebsd-current@FreeBSD.ORG Subject: Re: cvsup'ing repo & cvs-checkout'ing sources makes cvs complain... Message-ID: <20010121232846.A19387@petra.hos.u-szeged.hu> Mail-Followup-To: Szilveszter Adam , freebsd-current@FreeBSD.ORG References: <20010121.22071800@bartequi.ottodomain.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010121.22071800@bartequi.ottodomain.org>; from bartequi@inwind.it on Sun, Jan 21, 2001 at 10:07:18PM +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Salvo, Maybe I do not know your problem exactly but I am trying to find out... I think that what you saw at first try was related to the fact that the source tree you tried to upgrade did not have CVS directories in each directory. These directories are needed for proper CVS operation. If you cd to any dir that you have rm -f-ed and checked out again, you will find a CVS subdir in each. If you like you can look at what is in those dirs, in short CVS keeps book about what files have been co-d from the repo, at what time etc so that it knows what files to update and leaves the rest alone. Also, it uses this info to decide which files have changed when you want to commit. So if you want to place a directory under CVS control, you must first rm -rf it and then check it out again. As for your second question: CVS does not normally delete files that you no longer need but only displays warnings about them. You can remove those files now. Cvsup in contrast also removes the files if you tell it so. A useful option to use when doing CVS updates is -P it will delete empty directories in the tree. But even that will not delete files. Also you can try to use -d which will create directories upon checkout if needed. Also, if you want the HEAD branch, you can just say: -A and it will do instead of -r HEAD. Good luck and I hope this was of some help. -- Regards: Szilveszter ADAM Szeged University Szeged Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message