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 190059 - New empty folders are omitted in the commit dialog
Summary: New empty folders are omitted in the commit dialog
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
: 205012 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-01 10:28 UTC by Ondrej Vrabec
Modified: 2013-06-05 13:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Vrabec 2010-09-01 10:28:16 UTC
Get a project under subversion. Create a new empty folder (B) under a versioned folder (A). B gets correct (blue) badge while A is not annotated at all. When you try to commit A, the list in the dialog is empty.
The same applies to a change in folder svn properties. Get a folder with all children files being up-to-date, modify one of it's properties. You'll get the same behavior.
Comment 1 Ondrej Vrabec 2010-09-01 10:35:55 UTC
The problem is here: http://hg.netbeans.org/cdev/file/d0addd23bee2/versioning.util/src/org/netbeans/modules/turbo/CacheIndex.java#l183
B has an empty set of modified children so the index removes the record about the modified folder from all it's parents.
Maybe we could add the folder itself amongst it's modified children?
Comment 2 Ondrej Vrabec 2011-11-14 12:40:45 UTC
*** Bug 205012 has been marked as a duplicate of this bug. ***
Comment 3 Ondrej Vrabec 2013-06-05 13:00:12 UTC
minor use-case, no one has ever complained