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 136477

Summary: File refactor/rename does not work
Product: versioncontrol Reporter: Petr Dvorak <joshis>
Component: MercurialAssignee: issues@versioncontrol <issues>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Petr Dvorak 2008-06-04 15:36:19 UTC
NB: 20080604
OS: Ubuntu 8.04
JDK: 1.6.0_10

I had a project in a Hg repository. I refactored/renamed a "modified" file in some package "aa". Everything was OK, file
was renamed correctly as well as the class.

Then I tried to refactor/rename another "modified" file in the same package, but then problems occured.

The second file appeared to be excluded from the mercurial repository after refactoring - there was NO versioning label
(neither "copied", nor "modified", nor anything else).

If I invoked "Refactor>Undo" from the main menu, file was marked as Removed - this is definitely not what I wanted.
Comment 1 Petr Dvorak 2008-06-04 15:51:44 UTC
The issue is reproducible even in 6.1Final, it is always reproducible: just rename 2 "modified" files in the same package...
Comment 2 Peter Pis 2008-06-04 21:27:42 UTC

*** This issue has been marked as a duplicate of 130602 ***
Comment 3 Peter Pis 2008-06-04 21:28:40 UTC
Sorry, not that one.
Comment 4 Peter Pis 2008-06-04 21:29:13 UTC

*** This issue has been marked as a duplicate of 136448 ***
Comment 5 Petr Dvorak 2008-06-09 09:54:41 UTC
Verified.

Note: This issue must have had the same cause as the issue 136448, as it is fixed by fixing that issue...