> > Right now, if I manually remove files from the repository, future
> > checkouts will be good, but anyone with stuff checked out will get errors
> > if they try to update.
> >
> > Right now, if I just do 'cvs rm', then 'update -dP' will fail.
> 
> You've read the Cederqvist CVS manual? You'll find it in every source
> distribution of CVS and online via www.loria.fr/~molli/cvs-index.html.

Yes, I have.
 
> What you have to do, is to remove every file inside the target directory:
> 
> bash$ cd bad_dir/
> bash$ rm bad_file1 bad_file2 ...
> 
> Then you have to remove the files from CVS control with
> 
> bash$ cvs rm bad_file1 bad_file2 ...
> ...
> bash$ cvs ci -m "removing unwanted dir" bad_file1 bad_file2 ...
> 
> Afterwards you should run 'cvs update' with the '-P' flag and the directory
> will disappear.

For normal use, that is exactly correct.

This is a build directory. It gets remade with every 'make'.

$ make clean
... output deleted
$ cvs update -dP
? Session.vim
$ make
... output deleted
$ cvs update -dP
? GAPAdd.build
? GAPAdd.woa
? Session.vim
cvs update: in directory GAPAdd.build:
cvs update: cannot open CVS/Entries for reading: No such file or directory
cvs update: cannot open CVS/Tag: No such file or directory
cvs update: cannot open CVS/Tag: No such file or directory
cvs update: cannot open CVS/Tag: No such file or directory
cvs update: in directory GAPAdd.build/derived_src:
cvs update: cannot open CVS/Entries for reading: No such file or directory
cvs update: cannot open CVS/Tag: No such file or directory
cvs update: cannot open CVS/Tag: No such file or directory
cvs update: cannot open CVS/Tag: No such file or directory
cvs update: in directory GAPAdd.woa:
cvs update: cannot open CVS/Entries for reading: No such file or directory
cvs update: cannot open CVS/Tag: No such file or directory
cvs update: cannot open CVS/Tag: No such file or directory
cvs update: cannot open CVS/Tag: No such file or directory
cvs update: in directory GAPAdd.woa/Resources:
cvs update: cannot open CVS/Entries for reading: No such file or directory
cvs update: cannot open CVS/Tag: No such file or directory
cvs update: cannot open CVS/Tag: No such file or directory
cvs update: cannot open CVS/Tag: No such file or directory
$

If it matters, I'm currently on a branch; I don't go onto the trunk until
this gets resolved.

Again, I'm trying to avoid telling everyone else 'you have to delete your
directory and do a fresh checkout'. I sold them on using CVS because it
wasn't supposed to have problems like that.

Michael

Reply via email to