info-cvs
[Top][All Lists]
Advanced

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

Re: Removing empty directories from the repository


From: Michael Haggerty
Subject: Re: Removing empty directories from the repository
Date: Sat, 21 Apr 2007 08:26:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070306 Thunderbird/1.5.0.10 Mnenhy/0.7.4.666

address@hidden wrote:
> Is there any way to remove a directory from the repository?? From
> everything I've read, you can prune the working directory of empty
> directories and do some other things that remove the directories from a
> users working directory. I have yet to find instructions on how to remove a
> directory from the repository. The directories I am trying to remove are
> already empty, except for the CVS directory. Any info will be greatly
> appreciated!! Thanks!!

That's because CVS only records the status of files; it doesn't record
the status of directories anywhere.  CVS simply can't distinguish
between a directory that has been deleted vs. a directory that doesn't
happen to contain any files.  If you use the -P workaround, then you are
basically asking CVS to assume that your project doesn't have any empty
directories, and therefore if a directory doesn't contain any files at a
particular point in the history then the directory itself should be
considered non-existent.

Please don't delete the directory from your repository without thinking
long and hard about the fact that this will irretrievably erase the
history of any files that were ever located in the directory.

Michael




reply via email to

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