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 - File refactor/rename does not work
Summary: File refactor/rename does not work
Status: VERIFIED DUPLICATE of bug 136448
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-04 15:36 UTC by Petr Dvorak
Modified: 2008-06-09 09:54 UTC (History)
0 users

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 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...