Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2004 15:29:13 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Choy Kho Yee <khoyee@tf7.so-net.ne.jp>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: checking out from cvs without cvs info?
Message-ID:  <20041215132913.GB51173@orion.daedalusnetworks.priv>
In-Reply-To: <41C038CE.5060801@tf7.so-net.ne.jp>
References:  <41C038CE.5060801@tf7.so-net.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-12-15 22:14, Choy Kho Yee <khoyee@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041215132913.GB51173>