[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to delete from CVS repository
From: |
Frederic Brehm |
Subject: |
Re: How to delete from CVS repository |
Date: |
Tue, 09 May 2006 10:02:02 -0400 |
User-agent: |
Thunderbird 1.5.0.2 (Windows/20060308) |
There's no CVS command to do this. If you cvs delete all files in the directory and use
"cvs update -P" then the empty directories will not show up in your sandbox.
You can use the .cvsrc file to set the -P option every time you update.
The most common reason for wanting to delete the directory in the repository is
that it was created by mistake. So if you really, really want to delete the
directory, then login to the repository machine and delete the directory from
the repository. Be aware that you will never be able to recreate any builds
that depend on the directory. If the directory was created by mistake then that
won't be a problem.
Also, if anyone has the directory in their sandbox then they may experience a problem
when they update. They can recover from this in a couple of ways. The "sledge
hammer" method is to delete the sandbox and check out the module again. If the
sandbox has some local state that the developer wants to preserve then they can delete
the the line of the CVS/Entries file that names the directory (it's in the CVS directory
of the parent of the directory that was deleted) and then delete the directory in the
sandbox.
Fred
Nishanth wrote:
Hi
I have registered some directories into the CVS repository, now I want
to delete the directories from the CVS Repository without disturbing
the other directories.
how do I do it?
Thanks
Nishanth
_______________________________________________
info-cvs mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/info-cvs
--
Frederic W. Brehm
Senior Member of the Technical Staff
Sarnoff Corporation