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.
I'd like to ask for API for setting labels. Refactoring changes should labeled in local history.
- labels are associated with a specific file version - file versions in local history are created in the moment before a file is changed, deleted or renamed. LH would need to know that a file operation is somehow related to a bigger transaction. - any proposals? - this issue blocks issue #48427, but just accordingly labeling file versions created during a refactoring action doesn't seem to be the complete solution for #48427.
see o.n.m.versioning.spi.VCSHistoryProvider and o.n.m.versioning.spi.VCSHistoryProvider.HistoryEntry the implementation of VCSHistoryProvider in LocalHistory makes it possible to set the message (label) associated with a HistoryEntry. The problem here is how will refactoring find out which HistoryEntry is related to it's changes ...