[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Removing Empty Directories
From: |
Teala Spitzbarth |
Subject: |
RE: Removing Empty Directories |
Date: |
Wed, 25 Jul 2001 22:35:33 -0700 |
Hafeez,
CVS does not actually 'version' the directories -
so there is no way to 'commit' changes to them.
You have two choices, and to the best of my understanding
the salient factor in choosing between them is whether or not you will
ever have to reproduce your source from a time when the directory
*was* there (i.e. a old tag)
1) if you have tags, or need to be able to reproduce old
versions of your source
you must only run cvs remove on the files, commit the
changes
and rely on -P to prune the empty directory from fresh
pulls.
The files are stored in an Attic subdirectory for
retrieval on tagged
pulls.
2) if you have no tags, and truly, truly never need to
reproduce anything
from that directory - then you can go into the
repository and do
a file system level remove of the directory. If you
have files in
the attic within that directory - I wouldn't do this...
when its removed
it is gone, you can never go back!
I personally only do number 2 if a developer makes a mistake and adds
new files into an
incorrect directory name... that is the only situation where I know I
will never
have to reproduce a build with those files....
Cheers,
Teala
-----Original Message-----
From: Hafeez Mohammad [mailto:address@hidden
Sent: Wednesday, July 25, 2001 10:19 PM
To: address@hidden
Subject: Removing Empty Directories
How to remove Empty directories from CVS repository.
I am using the following commands
cvs remove dirname
cvs commit -m "Removing the empty directory" dirname
The above commands doesn't work.
I know that cvs -P update will Prune the Empty
directories from the checked out but I want to
remove them from the CVS repository.
Any Suggestions ?
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs