Changing the directory names

Octavian Rasnita orasnita at gmail.com
Tue Jan 19 11:34:21 CST 2010


Hi,

How can HG handle the change in the directory names?

For example, by mistake I put a name of "Directory" for a directory, but it 
should have been "directory".
The app was working fine under Windows because this OS doesn't care about 
lower/upper case, but when I transfered it on the server, it crashed 
miserably.

I have tried to just change the name of the directory, but hg didn't even 
noticed it.

I have tried to make a change in a file under that dir, for letting hg to 
see that there is a difference, but after commiting it, with the correct 
directory name in place, hg commited the change, but kept the old (wrong) 
directory name.

So I needed to move that directory outside of the working directory, commit 
the change, then move it back and commit the change again.

Isn't there a more elegant solution?

Thanks.

Octavian



More information about the Mercurial mailing list