From owner-freebsd-questions@FreeBSD.ORG Wed Dec 15 13:29:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE57116A4CE for ; Wed, 15 Dec 2004 13:29:17 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4F7643D53 for ; Wed, 15 Dec 2004 13:29:16 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])iBFDTEU0001055; Wed, 15 Dec 2004 15:29:14 +0200 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) iBFDTDjD054613; Wed, 15 Dec 2004 15:29:13 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)iBFDTD10054611; Wed, 15 Dec 2004 15:29:13 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 15 Dec 2004 15:29:13 +0200 From: Giorgos Keramidas To: Choy Kho Yee Message-ID: <20041215132913.GB51173@orion.daedalusnetworks.priv> References: <41C038CE.5060801@tf7.so-net.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41C038CE.5060801@tf7.so-net.ne.jp> cc: freebsd-questions@freebsd.org Subject: Re: checking out from cvs without cvs info? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 13:29:17 -0000 On 2004-12-15 22:14, Choy Kho Yee 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