From owner-freebsd-ports@FreeBSD.ORG Sun Nov 16 03:54:44 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5947F16A4CF for ; Sun, 16 Nov 2003 03:54:44 -0800 (PST) Received: from carrick.bishnet.net (carrick.bishnet.net [217.204.9.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AFE143FA3 for ; Sun, 16 Nov 2003 03:54:43 -0800 (PST) (envelope-from tdb@carrick.bishnet.net) Received: from tdb by carrick.bishnet.net with local (Exim 4.24; FreeBSD 5.1) id 1ALLUE-0004Oj-3S; Sun, 16 Nov 2003 11:54:38 +0000 Date: Sun, 16 Nov 2003 11:54:38 +0000 From: Tim Bishop To: Patrick Atamaniuk Message-ID: <20031116115437.GA858@carrick.bishnet.net> References: <3FB60C9C.2050605@fillmore-labs.com> <3FB6140F.1060200@fillmore-labs.com> <20031116111941.GA84539@mail.webmonster.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031116111941.GA84539@mail.webmonster.de> User-Agent: Mutt/1.4.1i X-PGP-Key: 0x5AE7D984 X-PGP-Fingerprint: 1453 086E 9376 1A50 ECF6 AE05 7DCE D659 5AE7 D984 Sender: "T.D.Bishop" X-Bishnet-MailScanner-Information: Contact postmaster@bishnet.net X-Bishnet-MailScanner-VirusCheck: Found to be clean cc: freebsd-ports@freebsd.org cc: Oliver Eikemeier Subject: Re: portrookies for early adopters X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 11:54:44 -0000 On Sun, Nov 16, 2003 at 12:19:19PM +0100, Patrick Atamaniuk wrote: > Hello all, > > Oliver Eikemeier(eikemeier@fillmore-labs.com)@2003.11.15 12:54:55 +0000: > [...] > > cvs add `find -name CVS -prune -o -type f -print` > > i am not sure if this works as it is meant to: > cvs version 1.11.5 > cvs info says: [File: cvs.info, Node: Adding files] > ----- snip --- > Unlike most other commands, the `add' command is not recursive. You > cannot even type `cvs add foo/bar'! Instead, you have to > > $ cd foo > $ cvs add bar > ----- snip --- You're right, it doesn't seem to: tdb@inferno [~/test] % find foo -name CVS -prune -o -type f -print foo/test foo/bar/test tdb@inferno [~/test] % tdb@infnrno [~/test] % cvs add `find foo -name CVS -prune -o -type f -print` cvs add: in directory foo: cvs [add aborted]: there is no version here; do 'cvs checkout' first tdb@inferno [~/test] % However, if you do this it does: tdb@inferno [~/test] % cvs add `find foo -name CVS -prune -o -type d -print` Directory /tmp/cvsroot/test/foo added to the repository Directory /tmp/cvsroot/test/foo/bar added to the repository tdb@inferno [~/test] % cvs add `find foo -name CVS -prune -o -type f -print` cvs add: scheduling file `foo/test' for addition cvs add: scheduling file `foo/bar/test' for addition cvs add: use 'cvs commit' to add these files permanently tdb@inferno [~/test] % Which I guess makes sense because you need to add the directories first. HTH, Tim. -- Tim Bishop http://www.bishnet.net/tim PGP Key: 0x5AE7D984