From owner-freebsd-commit Fri Aug 4 11:22:31 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id LAA24578 for commit-outgoing; Fri, 4 Aug 1995 11:22:31 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id LAA24558 for cvs-user-outgoing; Fri, 4 Aug 1995 11:22:28 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id LAA24495 ; Fri, 4 Aug 1995 11:22:14 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id LAA01676; Fri, 4 Aug 1995 11:21:26 -0700 From: "Rodney W. Grimes" Message-Id: <199508041821.LAA01676@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/lib Makefile To: wollman@halloran-eldar.lcs.mit.edu (Garrett Wollman) Date: Fri, 4 Aug 1995 11:21:23 -0700 (PDT) Cc: jkh@freefall.cdrom.com, CVS-commiters@freefall.cdrom.com, cvs-user@freefall.cdrom.com In-Reply-To: <9508041404.AA21546@halloran-eldar.lcs.mit.edu> from "Garrett Wollman" at Aug 4, 95 10:04:29 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1819 Sender: commit-owner@FreeBSD.org Precedence: bulk > > < said: > > > cd ~cvswork; > > cvs co -l -P lib # That -l gets you just lib/Makefile* :-) > > cd lib > > vi Makefile, make change > > cvs co -P libftp > > cd libftp > > rm the files > > cvs remove -R > > cd .. > > cvs commit > > cvs release libftp > > cd .. > > cvs release lib > > Or even easier: [Same number of commands, and some are an abuse of the interface, and it does _not_ work :-(] > cvs co -l lib > cd lib > emacs Makefile > mkdir libftp > cvs add libftp May cause an error in a future version of cvs as libftp already exists. cvs add is not the right operation :-(. cvs resoponds with an erronious message: gndrsh# cvs add libftp cvs add: nothing known about libftp gndrsh# mkdir !$ mkdir libftp gndrsh# cvs add !$ cvs add libftp Directory /home/ncvs/src/lib/libftp added to the repository gndrsh# ls /home/ncvs/src/l^D lib/ libexec/ lkm/ gndrsh# ls /home/ncvs/src/lib/libftp Attic doc lib utils gndrsh# ls CVS Makefile Makefile.inc libftp > cd libftp > cvs update Only works becuase add above and that should be cvs update -P, and you obviosly did not test this, it does NOT work! : gndrsh# cd libftp gndrsh# ls CVS gndrsh# cvs update -P cvs update: Updating . gndrsh# cvs update cvs update: Updating . gndrsh# > rm * Does not handle deep branches, my comments above where correct, ``rm the files'', rm * does not necessarily do what you wanted. > cvs remove You left off the all import -R option. > cd .. > cvs ci ci is an alias, proper command is cvs commit. > cd .. > cvs release -dQ lib -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD