[Top][All Lists]

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

Re: CVS - Obsolete files

From: Larry Jones
Subject: Re: CVS - Obsolete files
Date: Thu, 14 Jun 2001 16:23:17 -0400 (EDT)

Richard Wesley writes:
> On a related note, I keep running into a problem managing third party 
> sources.  Sometimes we will get a drop of a source tree and some of 
> the files have been deleted i.e. they are not present in the import 
> (any more).  When I import and then update a workspace, the missing 
> files are not removed.

After importing the new vendor release, do:

        cvs co -j <previous_rel_tag> -j <new_rel_tag> module

The resulting working directory will have the deleted files marked for
deletion -- simply commit the changes.

If there were conflicts caused by the import, CVS would suggest doing a
similar checkout except that it uses <vendor_branch_tag>:yesterday
instead of the previous vendor release tag (which it has no way of
knowing), and <vendor_branch_tag> instead of the new vendor release tag.
The two are equivalent except that specifying the release tags
explicitly allows CVS to track deleted files, so you can resolve
conflicts and mark deleted files with one checkout.

-Larry Jones

If I get a bad grade, it'll be YOUR fault for not doing the work for me!
-- Calvin

reply via email to

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