This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Moving C to its own directory


On Sun, Jun 01, 2003 at 01:10:34PM -0700, Russ Allbery wrote:
> Phil Edwards <phil@jaj.com> writes:
> 
> > If we're willing to get a little underhanded, we can do the shuffling in
> > the repository directory structure itself, i.e., cp/mv the foo,v files
> > directly.
> 
> The huge problem with mv is that you break all your old tags and branches
> that don't pick up the required changes to the Makefiles as well, so you
> can no longer check out old versions.
> 
> cp avoids this, but has a different problem of giving you both the old and
> the new locations when you check out an old version.  What you have to do
> is cp the ,v files and then remove all the old tags from the new ,v files,
> and then cvs remove all of the old files from the mainline.  It's messy,
> ugly work with RCS file internals.

In fact, I believe that latter method is how many projects do it.

-- 
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]