[Top][All Lists]

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

Re: Any consequences over removing a subdir permanently?

From: Todd Denniston
Subject: Re: Any consequences over removing a subdir permanently?
Date: Thu, 14 Jul 2005 12:13:32 -0500

S I wrote:
> Hi
> I know how to delete and commit files to the attic and on the next checkout
> do a -P to prune out empty dirs but I have not seen any documentation on how
> to remove empty dirs/subdirs permanently.  Is this not recommended lest you
> have to retrieve dead files later? And CVS wouldn't know what structure to
> retrieve them to?  Should I or not delete the empty dirs on the server side
> or too dangerous?  We have many, and I mean many, empty dirs just sitting
> there!

Deleting anything permanently out of a version control system is _usually_ a
_very_ BAD idea. However if your project management really desires it, keep
your self sane with a good backup, and go directly into the repository and
`rm -fr  offensive_directory_structure`. The reason that cvs does not have a
built-in command (that I am aware of) for doing this is that it is such a
_very_ BAD idea.

Got permission and a backup?
Happy hunting. :)

Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter

reply via email to

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