This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: seperating the gcc/ directory
On Tue, Apr 30, 2002 at 02:28:32PM -0700, David S. Miller wrote:
> From: "David O'Brien" <obrien@FreeBSD.org>
> On Mon, Apr 29, 2002 at 02:36:51PM -0400, Phil Edwards wrote:
> >
> > Renaming files under CVS is a pain; it's one of CVS's few serious
> > weaknesses.
>
> It isn't that hard -- we do it *all* the time in the FreeBSD CVS
> repository.
>
> And you retain all of the file history too? Ie. after a move, the
> file history knows about it's old location(s) and when in the revision
> history the move(s) occurred?
>
> I'm impressed if so.
Given an unmodified CVS -- not necessarily the case for free OS'es --
renaming files and directories will always have /some/ downside. You just
have to choose your poison. I can't speak for FreeBSD, I don't know what
methods they use.
If I had free run of the GCC repository, I would copy old,v to new,v
directly, then in a checked-out tree, "cvs remove old" with a note pointing
to new. That's simply the form of poison I find, well, least poisonous.
Messing about in the repo directly is highly discouraged under GCC, however.
For Subversion, renames and other such "metadata changes" are versioned
like everything else, and all this will be wonderfully moot.
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams