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 - 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"
討論串 (同標題文章)
完整討論串 (本文為第 4 之 4 篇):