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 223426 - SVN – change file name letter case does not clear svn cache
Summary: SVN – change file name letter case does not clear svn cache
Status: RESOLVED DUPLICATE of bug 205136
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 7.3
Hardware: Macintosh (x86) Mac OS X
: P4 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-06 15:57 UTC by azizur
Modified: 2012-12-06 16:22 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 azizur 2012-12-06 15:57:39 UTC
When changing file name letter case from UPPERCASE to lowercase. It does not work very well with SVN.

A possible solution is:

1. Navigate  to a directory where the file is.
2. Issue:

svn rename ./oldFileName.file ./oldFileName_.file

3. Commit changes. 
4. Do svn renam again, this  time enter file name with desired letter case:

svn rename ./oldFileName_.file ./oldFilename.file

5. Commit changes.

Now given that NetBeans natively support SVN this above steps should be performed when I right click on a file name and rename a file under SVN version control.

At the moment the transaction to rename the file like this are done in single SVN command from IDE. However it keeps on telling me that "oldFileName.file" was Locally Deleted. When in fact svn status on terminal shows its not deleted.
Comment 1 Ondrej Vrabec 2012-12-06 16:01:37 UTC
the IDE renames the file without a problem, it is just unable to commit both changes to repository. For that, use commandline.
I will not do it the way you're suggesting because you would have two commits in the repo which is undesirable.

*** This bug has been marked as a duplicate of bug 205136 ***
Comment 2 azizur 2012-12-06 16:22:27 UTC
(In reply to comment #1)
> the IDE renames the file without a problem, it is just unable to commit both
> changes to repository. For that, use commandline.

Whats the use of an IDE if it forces me to open up commandline?

> I will not do it the way you're suggesting because you would have two commits
> in the repo which is undesirable.

Totally agree with you there.

How does other IDE's does this?

one possible solution to "oldFileName.file" was Locally Deleted flag, is to clear the svn cache and its works perfectly.