Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 1998 13:26:23 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        abial@nask.pl
Cc:        committers@FreeBSD.ORG
Subject:   Re: CVS - seeking advice
Message-ID:  <199811252126.NAA02895@vashon.polstra.com>
In-Reply-To: <Pine.BSF.4.02A.9811252051330.6716-100000@korin.warman.org.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.BSF.4.02A.9811252051330.6716-100000@korin.warman.org.pl>,
Andrzej Bialecki  <abial@nask.pl> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811252126.NAA02895>