[Top][All Lists]

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

Re: removing Dir from CVS control

From: Tobias Brox
Subject: Re: removing Dir from CVS control
Date: Wed, 26 Sep 2001 15:48:18 +0400
User-agent: Mutt/1.0.1i

[raptor - Wed at 12:12:10PM +0300]
> How can I remove a directory from CVS control, I want it to stay on my
> working copy but be removed from CVS..

Hrm ... AFAIK, that can't be done through a simple cvs command ... though
I think you can do it like this (bourne shell):

mv dir-that-shouldnt-be-in-cvs /tmp
cvs remove dir-that-shouldnt-be-in-cvs
cvs commit -m "This doesn't belong in cvs" dir-that-shouldnt-be-in-cvs
mv /tmp/dir-that-shoudlnt-be-in-cvs .
find dir-that-shouldnt-be-in-cvs -path '*/CVS' -type d -exec rm -rf '{}' ';'

Eventually, use "cvs export" to make a clean copy of the dir you want to be
removed from CVS.

Be aware that "cvs remove" doesn't purge the old version of the files from
the repository.  A crude removal of the directory from the CVS repository
might also be possible, but not recommended.

Unemployed hacker
Will program for food!

reply via email to

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