ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Davies <JDav...@Ceon.com>
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 [mailto:rick.szeto@sitraka.com]
Sent: Tuesday, February 13, 2001 11:32 AM
To: ant-user@jakarta.apache.org
Subject: Re: Deleting directories


Jeff,

    You can not "delete" CVS directories, unless you do it forcefully(but
very
ugly and may lead to repository inconsistencies later). Here is why: CVS
must
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
updates
add the -P switch to remove empty CVS directories.

Rick

Mime
View raw message