Cannot remove directories from the CVS repository
There is a directory with a few empty subdirectories stuck in my CVS repository. I've worked with my local IT expert and checked through several CVS mailing list archives. A few weeks ago I renamed a directory in my CVS module. I did this by making a copy of the directory, using the release command for the copy, renaming the copy, using cvs add for the new name directory, and using cvs remove for the old name directory. It seems that the old name directory was not removed correctly. Now when I checkout the module, the old name directory appears in my working directory with a small number of its subdirectories and CVS control files. However, it does not contain any of the content files. The new named directory has been working perfectly. At the time I tried this renaming, I was using Windows XP and TortoiseCVS to manage my module. Since then I have switched to Windows XP and the Cygwin command line. Right now, if I checkout the module, CVS will create the old name directory and some of its subdirectories in my working directory. Then if I use cvs update -P immediately after the checkout, CVS will include the following message for the old name directory and each of those subdirectories: cvs update: cannot remove directoryX/subdirectoryY: Directory not empty The directories are empty in my working directory; I checked with ls -a. How can I get the old name directory out of the repository? Has anyone else seen a message like this? Thanks for your help. Peter Desjardins SupplyScape Corporation http://www.supplyscape.com ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Cannot remove directories from the CVS repository
Hello Peter, * On Wed, Jul 06, 2005 at 10:08:22AM -0400 Peter Desjardins wrote: Right now, if I checkout the module, CVS will create the old name directory and some of its subdirectories in my working directory. Then if I use cvs update -P immediately after the checkout, CVS will include the following message for the old name directory and each of those subdirectories: cvs update: cannot remove directoryX/subdirectoryY: Directory not empty Have you tried checking out with -P, that is, cvs co -P? Does it generate the same directories? The empty directory does not happen to be only different in case to another directory (or file) in your repository? Recent cvs versions have problems if this is the case. This might be your problem, too Regards, Spiro. -- Spiro R. Trikaliotis http://cbm4win.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/ ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
RE: Cannot remove directories from the CVS repository
Have you tried checking out with -P, that is, cvs co -P? Does it generate the same directories? I just tried that. It did not prevent the directories from appearing in the working directory. The difference is that now I see this message during the checkout instead of the first update: cvs checkout: cannot remove directory/subdirectory: Directory not empty The empty directory does not happen to be only different in case to another directory (or file) in your repository? No, the name of the directory is unique, even if case were not considered. Thanks for your help. I appreciate your taking the time to read about my problem here. Peter Desjardins SupplyScape Corporation http://www.supplyscape.com ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Cannot remove directories from the CVS repository
Peter Desjardins writes: cvs checkout: cannot remove directory/subdirectory: Directory not empty Did you say what platform you're on? Can you remove the directories by hand, or do you get the same error? It sounds to me like some weird permissions problem. -Larry Jones When you're SERIOUS about having fun, it's not much fun at all! -- Calvin ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs