Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 1995 11:21:23 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        wollman@halloran-eldar.lcs.mit.edu (Garrett Wollman)
Cc:        jkh@freefall.cdrom.com, CVS-commiters@freefall.cdrom.com, cvs-user@freefall.cdrom.com
Subject:   Re: cvs commit: src/lib Makefile
Message-ID:  <199508041821.LAA01676@gndrsh.aac.dev.com>
In-Reply-To: <9508041404.AA21546@halloran-eldar.lcs.mit.edu> from "Garrett Wollman" at Aug 4, 95 10:04:29 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> <<On Fri, 4 Aug 1995 01:03:54 -0700 (PDT), "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com> 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



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