From owner-freebsd-questions Thu Apr 1 14:26: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by hub.freebsd.org (Postfix) with ESMTP id 85BE8150B1 for ; Thu, 1 Apr 1999 14:25:47 -0800 (PST) (envelope-from jobaldwi@vt.edu) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id RAA13990; Thu, 1 Apr 1999 17:25:23 -0500 (EST) Received: from john.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.63]) by sable.cc.vt.edu (8.8.8/8.8.8) with ESMTP id RAA16504; Thu, 1 Apr 1999 17:25:23 -0500 (EST) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 01 Apr 1999 17:25:23 -0500 (EST) From: John Baldwin To: Jeroen Ruigrok/Asmodai Subject: RE: cvsup question... Cc: freebsd-questions@freebsd.org, John Baldwin Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 01-Apr-99 Jeroen Ruigrok/Asmodai wrote: > On 01-Apr-99 John Baldwin wrote: >> I have a cvsup question. I use CVSup to update a local copy of the CVS >> repository on one of my machines. In order to avoid a really big hit the >> first time I supped, I tar and gzip'd a copy of the repository off of a >> machine at work and ftp'd to my machine. Then I extracted it and fired >> up cvsup. It works for the most part, but not always. Here's teh problem, >> it doesn't delete any of those files from the original tarball when they >> are removed from the repository because it didn't create my local copies >> of the files, and it is courteous enough to not delete them in case I am >> making local changes or something. However, I'm not making local changes >> and want to override this behavior if possible. Any suggestions on how >> to get my source tree really up-to-date? > > Is > > *default delete Yes, here's the problem: > man cvsup ... delete The presence of this keyword gives cvsup permission to delete files. If it is missing, no files will be deleted. ... In general, CVSup deletes only files which are known to the server. Extra files present in the client's tree are left alone, even in exact mode. More precisely, CVSup is willing to delete two classes of files: o Files that were previously created or updated by CVSup itself. o Checked-out versions of files which are marked as dead on the server. ... It does this to allow local modifications to be kept in the tree. The problem is that it thinks my initial repository is one big, huge local modification and there doesn't seem to be a way to turn this feature off. > present in your cvsup file? > > That one functions like cvs -P which prunes old/removed files/directories. > > HTH, Thanks for trying, hope this makes my problem clearer. > Jeroen Ruigrok van der Werven --- John Baldwin -- http://members.freedomnet.com/~jbaldwin/ PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message