ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Davies <>
Subject RE: Deleting directories
Date Tue, 13 Feb 2001 19:32:38 GMT
I know its a dangerous issue. However, what was happening for me was that
when I imported my project, I had a subdirectory named "core" that CVS was
not importing. I deleted my orginal directory and did a checkout of the
newly created project (without my "core" project directory, of course). SO I
deleted the project from my CVS server, and I was left with a partial image
of the project on my hard drive. I wanted to delete the CVS directories so I
could restore the "core" directory locally and re-import the project (it
turns out that any directory named "core" is ignored by CVS by default). 

While I had a solution to my particular problem, it did raise the issue of
how to mass delete a specific directory name, whether or not it is a CVS
directory. In practice, I'm not sure how often I would use such
functionality. However, by asking the question I did learn more about
filesets, and I'm pretty happy about that.

Thanks to everyone that commented on my question!

- Jeff

-----Original Message-----
From: Rick Szeto []
Sent: Tuesday, February 13, 2001 11:32 AM
Subject: Re: Deleting directories


    You can not "delete" CVS directories, unless you do it forcefully(but
ugly and may lead to repository inconsistencies later). Here is why: CVS
maintain it's full history and if you delete directories, it will not be
able to
retrieve files from that storage. The solution: When using checkout or
add the -P switch to remove empty CVS directories.


View raw message