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 199028

Summary: Changing case on files/directories fails to commit properly with Subversion
Product: versioncontrol Reporter: bcbud
Component: SubversionAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: PLATFORM, USABILITY
Priority: P3    
Version: 7.0   
Hardware: Macintosh   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description bcbud 2011-05-31 12:15:26 UTC
Product Version = NetBeans IDE 7.0 (Build 201104080000)
Operating System = Mac OS X version 10.6.6 running on x86_64
Java; VM; Vendor = 1.6.0_24
Runtime = Java HotSpot(TM) 64-Bit Server VM 19.1-b02-334

Recreate steps:

1) create project from Subversion repository (or create new and check in)
2) Change case of filename
	- ie: ThisIsMyFile.php -> Thisismyfile.php
3) Check subversion repos and you'll see two entries - the change in case doesn't record the change, but overwrites
4) Further attempts to update from repos will fail to pull new case changed file and corrupt commits

Incredibly frustrating bug that's been there since 7.0b1 - frequently causes our team to have to checkout and recreate project

Please fix!
Comment 1 Ondrej Vrabec 2011-05-31 13:12:15 UTC
AFAIK this never worked (not even in 6.9). Since java on Mac or Windows does not see a difference between ThisIsMyFile.php and ThisisMyFile.php, the IDE plugin cannot handle and resolve this situation. Maybe we'll find a work-around or at least detect the situation and notify user.
BTW, when you committed the second file (and after that had the two files in the repository) you must have realized that NetBeans still displays the deleted file in the Subversion View (after Subversion->Show Changes). So you must have suspected that something went wrong.
There's an easy workaround, go to commandline and commit the deleted file.
Comment 2 Ondrej Vrabec 2011-10-06 10:31:03 UTC
rename issues on Mac OS fixed in #153072 - see comment #13 and later

*** This bug has been marked as a duplicate of bug 153072 ***