Re: checking out from cvs without cvs info?

2004-12-15 Thread Giorgos Keramidas
On 2004-12-15 22:14, Choy Kho Yee <[EMAIL PROTECTED]> 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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: checking out from cvs without cvs info?

2004-12-15 Thread Choy Kho Yee
Giorgos Keramidas wrote:
On 2004-12-15 22:14, Choy Kho Yee <[EMAIL PROTECTED]> 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
Thanks for the tips. Now I learned one new thing with CVS :)
---
Choy Kho Yee
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"