Re: cvs: how to put vendor-deleted file into Attic?
On Thursday 26 July 2007, Xin LI wrote: > Hi, > > While maintaining some third party contributed software packages I > ran into a problem where, say, if I remove a file from the vendor > branch (the file was never dragged off the vendor branch), it does > not appear in Attic. > > Is there a way to move it into Attic (presumably this would give > better checkout speed for -HEAD)? > > Cheers, The way you do this is: cvs checkout -r1.1.1 contrib/whatever cvs rm files cvs commit This puts the deletion on the 1.1.1 "vendor" branch. HEAD picks it up automatically, and if the file becomes "alive" again in the future, HEAD continues to track it. And there is metadata recorded to track when it was deleted and came back alive etc. -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] "All of this is for nothing if we don't go to the stars" - JMS/B5 ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs: how to put vendor-deleted file into Attic?
Simon 'corecode' Schubert <[EMAIL PROTECTED]> writes: > Xin LI wrote: > > While maintaining some third party contributed software packages I > > ran into a problem where, say, if I remove a file from the vendor > > branch (the file was never dragged off the vendor branch), it does > > not appear in Attic. > But it appears as deleted? That's interesting then. How is that > possible? Can you share the RCS file? There is nothing interesting about it; a deleted file simply has 'state dead' instead of 'state Exp' in the entry for the commit that deleted it. The Attic serves absolutely no function except an increase in code complexity, a minimal increase in speed for operations on the trunk, and a corresponding decrease for operations on branches, since they must check the Attic for files that are deleted on the trunk but still exist on the branch. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs: how to put vendor-deleted file into Attic?
Xin LI wrote: While maintaining some third party contributed software packages I ran into a problem where, say, if I remove a file from the vendor branch (the file was never dragged off the vendor branch), it does not appear in Attic. But it appears as deleted? That's interesting then. How is that possible? Can you share the RCS file? Is there a way to move it into Attic (presumably this would give better checkout speed for -HEAD)? Do you think that CVS is so clever to check the Attic only for branches other than HEAD? I didn't think so, but, hey, who knows. cheers simon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"