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 219782 - Unable to Commit to Mercurial after class rename
Summary: Unable to Commit to Mercurial after class rename
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P4 normal with 1 vote (vote)
Assignee: Ondrej Vrabec
Depends on:
Reported: 2012-10-09 20:40 UTC by javydreamercsw
Modified: 2013-01-16 10:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

IDE log (170.82 KB, text/plain)
2012-10-09 20:40 UTC, javydreamercsw

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2012-10-09 20:40:04 UTC
Product Version = NetBeans IDE Dev (Build 201210090002)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_07
Runtime = Java HotSpot(TM) Client VM 23.3-b01

I renamed various files and tried to commit with this error:

 output: [abort: jWrestling/src/main/java/games/jwrestling/server/core/action/ file not tracked!]

All the files that started with jWrestlingXXX I renamed to JWrestlingXXX using the refactoring>rename wizard. Commiting from TortoiseHg was successful without changes.
Comment 1 javydreamercsw 2012-10-09 20:40:10 UTC
Created attachment 125651 [details]
IDE log
Comment 2 Ondrej Vrabec 2012-10-10 08:15:31 UTC
cannot handle rename just by changing case in filenames on windows, because for java the files are the same
Comment 3 javydreamercsw 2012-10-11 20:54:33 UTC
Still the missing column issue is present, but since the code might change, might as well update that.
Comment 4 Ondrej Vrabec 2012-10-12 07:24:28 UTC
> Still the missing column issue is present
What are you referring to? Could you explain what you mean by "missing column issue"?
Comment 5 javydreamercsw 2012-10-12 13:27:58 UTC
Please disregard those comments, where for another issue. Is so confusing when you update an issue and it jumps to the next on the list...
Comment 6 javydreamercsw 2012-10-15 18:14:20 UTC
This caused a mess in my Jenkins instance. The class name within the file had the new name (with caps) while the file name had the old one (no caps). I had to commit the file with a different file name and then do it again to with the final name for the change to be correct.