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 9663

Summary: If I delete a file, it is labeled as [Locally Removed] if I delete a directory it just dissapears.
Product: obsolete Reporter: RefuX <refux>
Component: vcscvsAssignee: issues@obsolete <issues>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description RefuX 2001-02-16 21:33:50 UTC
If I delete a file, it is labeled as [Locally Removed] if I delete a directory it just dissapears.
Comment 1 Martin Entlicher 2001-02-19 16:32:39 UTC
To clarify the problem, you are probably talking about the 'Delete' action (not
CVS->Remove, which cause [Locally Removed] status), therefore the file status
after delete is [Needs Checkout], is that right ?

If you delete a file, its entry in CVS/Entries remains intact and therefore the
file is reported as "Needs Checkout".

If you delete a folder, all files including CVS/Entries are gone. Therefore the
folder disapears. There is an associated bug #8525.

I think, that there are two ways, how to solve this bug and bug #8525:
1) remove the whole folder and remove its entry in parent's CVS/Entries
2) remove only the folder content, but keep all CVS/* intact. This will result
in the folder's files being shown in the Explorer with [Needs Checkout] status.

IMHO the solution might be: ask the user which way of folder delete s/he want to
do and then perform either 1) or 2).
Is this solution acceptable ? Any comments ?
Comment 2 Martin Entlicher 2001-02-23 12:54:22 UTC
Marked as diplicate of bug #8525. Suggestion about the possible solution copied
there.

*** This issue has been marked as a duplicate of 8525 ***
Comment 3 dmladek 2001-02-26 12:52:41 UTC
verified as a duplicate.
Pls, if you have more comments, write them to the issue #8525
thanks