Re: cvs: how to put vendor-deleted file into Attic?

看板FB_hackers作者時間18年前 (2007/08/13 14:38), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
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 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #16l_nk00 (FB_hackers)
文章代碼(AID): #16l_nk00 (FB_hackers)