apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apr-util/xml/expat buildconf buildconf.sh
Date Thu, 02 Aug 2001 23:00:15 GMT
On Thu, Aug 02, 2001 at 04:56:45PM -0400, Cliff Woolley wrote:
> BTW - The spiffy cool way to do file renames and get history preserved is
> as follows:
> (1) copy the ,v file to its new name
> (2) move the old ,v file to the Attic
> (3) remove all tags from the new ,v file

No... that is borken.

(2) is flat out wrong: you need to "cvs rm" it so the "state" is correct
within the file. It needs to be "dead" rather than just moved to the Attic.

And the technique is also prone to error. Even tho you remove the tags,
checking out by date will create spurious files (i.e. the "new" file will
appear in old checkouts).

"cvs add" and "cvs rm" with a pointer in the new file to the old is the
safest all around.


Greg Stein, http://www.lyra.org/

View raw message