This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 121335 - [60cat] cannot delete project after add cvs ignore list
Summary: [60cat] cannot delete project after add cvs ignore list
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-07 06:14 UTC by tetsu
Modified: 2007-11-07 09:53 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tetsu 2007-11-07 06:14:11 UTC
[ BUILD # : 200711060000 ]
[ JDK VERSION : 1.6.0_03 ]

1. Create a new project under existing cvs-controlled directory;
2. add "nbproject" to cvsignore by following instructions[1];
3. in "Projects" viewer, right click the project and then select
"delete" in context menu;
4. in pop-up dialog, check also delete source folder;
5. Try to recreate a new project with the same name;
You cannot!
6. Go to the directory on OS, and you will find the project folder is
still there with the .cvsignore file.


[1] changing from "Projects" to the "Files" tab, opened node of my
project, right-clicked on "nbproject" node and from context menu
selected action "CVS" -> "Ignore". This action caused that the
".cvsignore" files has been created and contained line
"nbproject".

Following is a simple analysis from Rudolf Balada:
'delete-a-project' action may need an override in case it's
CVS-controlled project to handle various hidden files differently
from default action. It looks like the 'delete-a-project' action does
not take into account files which have been hidden for some reason.
At least I cannot see the .cvsignore file as a node in Files tab and
if the delete action goes by nodes ... then it must miss it.
Comment 1 tetsu 2007-11-07 08:00:44 UTC
Well, I found that, every cvs related projects cannot be deleted clearly.
All cvs realted files are left.

Considering this bug block user check out the project again, it makes user confused.
Comment 2 Maros Sandor 2007-11-07 09:53:32 UTC
This behavior is "as designed". CVS keeps its metadata on disk so that you can commit the changes (deletes) later. If
you need to delete everything, including CVS metadata, you need to do it outside IDE. I consider this an enhancment to
the current functionality to enable the user to unconditionally delete everything from disk regardless of any metadata
and administrative files.