Subject: Re: CVS
To: Michael Graff <explorer@flame.org>
From: None <kpneal@unity.ncsu.edu>
List: current-users
Date: 01/27/1996 20:24:30
>
> I know this isn't a NetBSD specific question, but I'm looking for a magic
> CVS command that will update my machine automatically.
> The problem is, when I do a ``cvs update -d'' it creates new files and
> directories just fine (the -d flag allows directories to be created, of
> course) but old files and directories are not removed. I can do a checkout
> of a specific date, but that causes annoying problems from time to time,
> since some things seem to break with sticky tags.
>
> I've tried a whole slew or non-tagged checkout commands, but none seem
> to do what I want -- that is, mirror the code.
>
I usually do a find to create a list of all files and directories in
the tree. Then I do my import. The theory is that I can check out
the source for any given (imported) date and then use a quick
shell script to kill the out-of-date files.
Any other ideas?
XCOMM --------------------------------------------------------
XCOMM Kevin P. Neal, Sophomore CSC/CPE kpneal@eos.ncsu.edu
XCOMM North Carolina State University kevinneal@bix.com
XCOMM --------------------------------------------------------