[issue459] Directories with case insensitive matched names broken

Kelly O'Hair mercurial-bugs at selenic.com
Fri Dec 22 05:30:30 UTC 2006


New submission from Kelly O'Hair <kelly.ohair at sun.com>:

If you have a directory (this is MacOSX but I assume any Unix system) where the
directory name only differs by case (e.g. TEST and test) any attempts to rename
the directory to the different name causes havoc.

KellyMacBook<92> ls -R
src/

./.hg/store:
00changelog.i   00manifest.i    data/

./.hg/store/data:
src/

./.hg/store/data/src:
_t_e_s_t/

./.hg/store/data/src/_t_e_s_t:
_junk.java.i

./src:
TEST/

./src/TEST:
Junk.java
KellyMacBook<93> hg rename src/TEST/Junk.java src/test/Junk.java 
src/test/Junk.java: not overwriting - file exists
KellyMacBook<94> hg status
KellyMacBook<95> mv src/TEST src/test
KellyMacBook<96> hg status
? src/test/Junk.java
KellyMacBook<97> hg commit
nothing changed

----------
messages: 2559
nosy: kellyohair
priority: bug
status: unread
title: Directories with case insensitive matched names broken

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue459>
____________________________________________________




More information about the Mercurial-devel mailing list