info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: moving directories within CVS


From: Pierre Asselin
Subject: Re: moving directories within CVS
Date: Fri, 15 Apr 2005 00:57:33 +0000 (UTC)
User-agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (NetBSD/2.0 (i386))

address@hidden wrote:
> I need to physically move a directory within the repository, without 
> losing any delta history.  So far, my process looks like this:
> [ snip ]
> And that process works *fine* so far in my tests.  But I was wondering if 
> there was a way to simplify this process, to be able to move folders 
> behind the scenes so that the developers wouldn't have to do a release and 
> checkout?

The problem is that working copies have CVS/ subdirectories with metadata
that is based on the layout of the repository at the time of the checkout.
If you remodel the repository you have to hunt down all those working
copies and edit the metadata to match (not recommended).  The path of
least resistance is to wipe out the working copies and obtain fresh
ones after the reorganization, as you do.

Another thing to keep in mind is that you can no longer recreate old
releases that predate the reorg.  If you try, they will come out under
the new layout.  This is a show-stopper if you are still supporting
old releases.

-- 
pa at panix dot com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]