Date: Sun, 16 Nov 2003 11:54:38 +0000 From: Tim Bishop <tim-lists@bishnet.net> To: Patrick Atamaniuk <atamaniuk-ports@frobs.net> Cc: Oliver Eikemeier <eikemeier@fillmore-labs.com> Subject: Re: portrookies for early adopters Message-ID: <20031116115437.GA858@carrick.bishnet.net> In-Reply-To: <20031116111941.GA84539@mail.webmonster.de> References: <3FB60C9C.2050605@fillmore-labs.com> <m/KJv8yRsP@dmeyer.dinoex.sub.org> <3FB6140F.1060200@fillmore-labs.com> <20031116111941.GA84539@mail.webmonster.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <portname> -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031116115437.GA858>