info-cvs
[Top][All Lists]
Advanced

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

Re: CVS: remove empty dir that never had files


From: Spiro Trikaliotis
Subject: Re: CVS: remove empty dir that never had files
Date: Mon, 15 Jul 2013 20:18:54 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hello,

* On Mon, Jul 15, 2013 at 07:05:08AM -0700 KM wrote:
> When I added a new top level directory to the repository, I
> accidentally created a double path, e.g.  mydir/mydir instead of just
> mydir at the top of the repository tree.   I tried to do the normal
> cvs delete or the directory, but since it's empty it doesn't do
> anything.

cvs does not keep track of directories, only of files in it.

But: Normally, cvs does not remove the directories if they are empty. If
you want to let cvs do that, you have to add -P ("prune directories") to
the checkout and update commands.

Of course, these are only client-side options. If you want to completely
remove it from the server, just remove that directory from the
repository structure itself. Node that this is safe as long as the
directory is really (and always was) empty - otherwise, I would not
recommend that.

Best regards,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/



reply via email to

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