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.
Summary: | Mac&Hg: File name casing does not match between project view and on disk file name. | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | hcker2000 |
Component: | Mercurial | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
netbeans info
Example of the issue |
Description
hcker2000
2012-02-13 16:21:51 UTC
Are you sure you are using 7.1? Created attachment 116144 [details]
netbeans info
I have added a screen shot. I hope this helps. Created attachment 116405 [details]
Example of the issue
I have attached a new image showing at the top left the name in netbeans and then at the bottom right the name in finder.
OK, reproduced. Moreover I am getting "need to normalize" exception whenever I select the file that changed the case. When I try it on a file which is not versioned at all, the rename works fine. However I've just tried on a file under Mercurial control to rename: src/org/netbeans/AAa.java to src/org/netbeans/aAa.java after executing the handler.handle() method in BaseFileObj.rename, the name of the file on disk stayed AAa.java. What version control system (if any) the reporter is using? right, mercurial does not actually rename the file on Windows or Mac. hcker2000: are your files under mercurial (or any other version control system) support? (In reply to comment #7) > right, mercurial does not actually rename the file on Windows or Mac. > hcker2000: are your files under mercurial (or any other version control system) > support? I am using Mercurial as my VCS. It seems that I should still be able to rename the file even if its under Mercurial. I guess netbeans would just need to run mercurials rename on the file as well when changing the name? Integrated into 'main-golden', will be available in build *201204140400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ccc8dea440c5 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #208355 - Mac&Hg: File name casing does not match between project view and on disk file name. |