From owner-cvs-all Wed Nov 25 13:26:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA12585 for cvs-all-outgoing; Wed, 25 Nov 1998 13:26:54 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA12579 for ; Wed, 25 Nov 1998 13:26:52 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.1/8.9.1) with ESMTP id NAA08365; Wed, 25 Nov 1998 13:26:36 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.1/8.9.1) id NAA02895; Wed, 25 Nov 1998 13:26:23 -0800 (PST) (envelope-from jdp@polstra.com) Date: Wed, 25 Nov 1998 13:26:23 -0800 (PST) Message-Id: <199811252126.NAA02895@vashon.polstra.com> To: abial@nask.pl Subject: Re: CVS - seeking advice Newsgroups: polstra.freebsd.committers In-Reply-To: Organization: Polstra & Co., Seattle, WA Cc: committers@FreeBSD.ORG Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk In article , Andrzej Bialecki wrote: > > I'm about to commit massive changes to picobsd stuff, and I'm not sure > what is the best way to do this. > > I need to rearrange several directories, rename them, and add several new > files. Is there any magic CVS incantation which will do this in one easy > step? (I doubt there is, but at least I asked.. :-). How to do this > efficiently? If a whole bunch of files are being renamed or moved to a different directory, we sometimes do a so-called "repository copy" in order to preserve the change history in the newly-named files. However, I personally am not a big advocate of that technique, except perhaps as a way to correct erroneous commits or imports immediately after they've occurred. (I should note that all repository copies must be done by peter@freebsd.org or jdp@freebsd.org, or by asami@freebsd.org in the case of ports.) Usually I prefer to use "cvs rm" and "cvs add", because they avoid behind-the-scenes hackery on the CVS repository. So ... I guess my answer to your question is no, there isn't a magic incantation. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Nobody ever went broke underestimating the taste of the American public." -- H. L. Mencken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message