info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs update not removing directory


From: Jean-Claude Gervais
Subject: Re: cvs update not removing directory
Date: Fri, 19 May 2006 10:57:25 -0400

I believe it is because when you originally checkout a sandbox, for each
module, CVS client put a CVS control-folder in the associated sandbox
folder.
Mentioned within one of the files in the control folders is a list of
all the files that belong to that module.

So if you manually delete files from the repository, the CVS
control-files within your sandbox has no way of knowing it and still
references the file(s).

However, you can manually edit the control-files in your sandbox and
remove the references to the defunct files.

Otherwise, every time you perform an update with the repository, you CVS
client will be looking for an update for file(s) that the repository
know nothing about.

Another easy fix is to checkin changes, delete the sandbox and
re-checkout the sandbox.

J
On Fri, 2006-05-19 at 10:35 -0400, Jim Hyslop wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Stuart Cooper wrote:
> >> cvs update -P
> >> Does not remove the folder from work area and neither does
> >> cvs checkout -P
> > 
> > 
> > it should do. cd into the directory and do an ls -a and make sure
> > there's no hidden files. you might add -d also for a
> > cvs update -P -d
> 
> I don't think you fully grasp the scenario that akki has run into.
> Either that, or you do not fully grasp how CVS works.
> 
> The problem is, someone has checked out a module. Then, someone removed
> directories *from within the repository* - on the server, in other
> words. Akki wants to know if 'cvs update' will remove the workspace
> directories. It won't, no matter what combination of options you use.
> 
> - --
> Jim Hyslop
> Dreampossible: Better software. Simply.     http://www.dreampossible.ca
>                  Consulting * Mentoring * Training in
>     C/C++ * OOD * SW Development & Practices * Version Management
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFEbdeuLdDyDwyJw+MRAvxnAJ41oQK0hoCnAWFCU2bhQ2jrl0upAgCgg90z
> KgynVTBycgwoWborHKwhblc=
> =4/rT
> -----END PGP SIGNATURE-----
> 
> 
> 
> _______________________________________________
> info-cvs mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/info-cvs





reply via email to

[Prev in Thread] Current Thread [Next in Thread]