checking out from cvs without cvs info?
Giorgos Keramidas
keramida at ceid.upatras.gr
Wed Dec 15 05:29:17 PST 2004
On 2004-12-15 22:14, Choy Kho Yee <khoyee at tf7.so-net.ne.jp> wrote:
> Hi, for a certain reason I need to check out sources for one of my
> programs from the local CVS repository, without the "CVS" folder in
> every directory but just my source files. How can I do that?
There are multiple ways to do that.
1) Check out as usual, then delete all the CVS/ stuff:
% cvs -d /cvs/repo checkout module
% find module -type d -name CVS | xargs rm -fr
2) Use the `export' command and a specific tag/version:
% cvs export -rHEAD module
Both should leave you with the HEAD revision of every file in `module'.
If you need to update to a branch or tag, use the appropriate -r TAG as
checkout or export options, i.e.:
% cvs checkout -r TAG module
% cvs up -Pd -r TAG
% find . -type d -name CVS | xargs rm -fr
or
% cvs export -r TAG module
More information about the freebsd-questions
mailing list