More SVN problems

Hi all,

I just tried to rename a file I'd mistakenly named badly, and had some pretty bad problems with it. I renamed a class DataTypeGroupImpl to DatatypeGroupImpl, and then when I looked at the changes view I saw that the new file was reported missing. An svn status on the command line showed the same problem:

? src/com/core/devbench/bundle/content/dataflow/impl/restrictions/DatatypeGroupImpl.java
! src/com/core/devbench/bundle/content/dataflow/impl/restrictions/DataTypeGroupImpl.java

i.e. the old file is missing and the new file is unknown. I fixed this with by deleting the file then updating, but when I tried to fix this on the command line things got even weirder:

~restrictions> svn mv DataTypeGroupImpl.java DatatypeGroupImpl.java
svn: Path 'DatatypeGroupImpl.java' is not a directory

What's going on here? It seems to be an SVN problem that IntelliJ isn't handling well, any ideas how to get around this?

Thanks,
Colin

10 comments

Well, I'm on OSX which is case sensitive, so svn mv should work - any ideas why it wouldn't? IntelliJ definitely gets into a mess with this, although it seems like SVN's fault.

0

Colin - I, too, thought, OS-X is case sensitive, but then I was shocked to discover this:

echo "Upper Case Test" >uppercasetest
cat UppERCasETest

I had similar problems with SVN under OS-X and had to fix it manually (refactor twice through a totally different name).

Regards,
Peter

0

I'm shocked beyond belief - I can't believe I've never noticed this in a year or so of using a Mac. I guess I just assumed it was UNIX.

Thanks for the help! I guess the question is - what's the correct thing for IntelliJ to do here? Can you even detect if the FS is case sensitive from Java?

Cheers,
Colin

0

Well, I'm on OSX which is case sensitive


By default, OS X is not case sensitive. When formatting a new partition, however, you have the option to format as case-sensitive HFS+ (actually, HFSX).

0

Yeah, I saw this this morning after the post above. It sounds like a lot of things break if you use format as case-sensitive, though.

Cheers,
Colin

0

It sounds like a lot of things break if you use
format as case-sensitive, though.


That's not the case, in my own experience. I've been using a HFSX filesystem for a while now, without any problems whatsoever.

0

Ah, ok - I read a few articles that said they'd had problems, but they might have been old. One of them was talking about Parallels, though, which is a pretty recent product.

0

On 2007-05-07 22:56:15 +0400, Marcus Brito <no_reply@jetbrains.com> said:

>> It sounds like a lot of things break if you use
>> format as case-sensitive, though.


That's not the case, in my own experience. I've been using a HFSX
filesystem for a while now, without any problems whatsoever.


IDEA has hardcoded knowledge MacOS fs is case insensitive so it might
be a bad idea.

0

If that's true, why does my original refactoring fail? Can IDEA not refactor through a temporary name in this case?

0

Please sign in to leave a comment.