Date: Tue, 7 Aug 2007 00:24:45 -0700 From: Peter Wemm <peter@wemm.org> To: Xin LI <delphij@delphij.net> Cc: freebsd-hackers@freebsd.org, Xin LI <delphij@freebsd.org> Subject: Re: cvs: how to put vendor-deleted file into Attic? Message-ID: <200708070024.45719.peter@wemm.org> In-Reply-To: <46A8865D.2000509@delphij.net> References: <46A8865D.2000509@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708070024.45719.peter>
