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 65954

Summary: [50cat] "Prune by empty directories" should be used by default by Update command
Product: versioncontrol Reporter: misterm <misterm>
Component: CVSAssignee: issues@versioncontrol <issues>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description misterm 2005-10-05 12:49:13 UTC
[ BUILD # : 5.0 beta ]
[ JDK VERSION : 1.4.2_xx ]

Currently, the Update command creates empty folders found in CVS. This can be extremely confusing if folder has been removed. Therefore, the Update command should prune empty directories by default.
Comment 1 Maros Sandor 2005-10-05 13:08:58 UTC
It already does that. Do you have stray empty folders on disk after update? If
so, please describe your usecase in more datils.
Comment 2 misterm 2005-10-05 13:42:26 UTC
I have a reproducible test case for this.

1. Check out :pserver:anonymous@cvs.dev.java.net:/cvs , module genesis;
2. Inside the generated genesis folder, the only non-empty folders are genesis, 
samples and xdoclet.
Comment 3 Peter Pis 2005-10-05 14:46:10 UTC
Reproduced. :pserver:guest@cvs.dev.java.net:/cvs 
  module genesis
Comment 4 _ pkuzel 2005-10-05 16:02:50 UTC
I guess that empty CVS/Entry (and CVS/Entries.Log) confuses prune logic.
Comment 5 _ pkuzel 2005-10-05 17:16:30 UTC
Yes it does :-(.
Comment 6 Maros Sandor 2005-10-13 14:00:08 UTC
My command line client on W2k also leaves empty folders on disk.
Comment 7 Maros Sandor 2007-08-06 14:39:00 UTC
I checked it and cannot reproduce the problem. The checkout contains only non-empty folders.