info-cvs
[Top][All Lists]
Advanced

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

Re: removal of empty directories from cvs repository


From: Michael Kohne
Subject: Re: removal of empty directories from cvs repository
Date: Tue, 13 Apr 2004 10:33:21 -0400 (EDT)

Ramanuj Singh said:
> How to remove empty directories from  cvs repository.
>

As I understand it, there is no client side way to do this.
You could, if it's REALLY empty (never had any files checked into it)
remove the directory from repository directly. Usually this is a bad idea,
but if you absolutely have to get rid of it, this would do it. Don't do
this if you have EVER checked in ANY file in that directory, however!
Doing so would lose those files history.

Assuming that you don't want to actually remove the directory in the
repository, you can do your client side cvs updates with the -P option.
This will 'prune' (remove) any directory on the client side which has
nothing in it. This way, the clients don't see the empty directories.


-- 
Michael Kohne        address@hidden
> the result, if there is one, depends on how and how fast you approach zero.
So if you creep up on zero slowly and quietly enough, preferably from
downwind with appropriate camouflage and sufficient firepower, one should
be able to divide by it?  - OG and AdB in the Monastery, on dividing by zero







reply via email to

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