hg rename under OS X

Klaasmer klaasmer at gmail.com
Mon Nov 1 16:52:21 CDT 2010


>> On OS X all user directories can be found under '/Users/' . Mine is under '/Users/klaas/'.
>> The problem only occurs when the repository is inside the '/Users/' folder. I tried different
>> users and different sub directories.
>> 
>> So I added a debug output to the util.py and I get:
>> 
>> canonpath is called with arguments: root=/users/test/new, cdw=, myname=/Users/test/new/abc
>> 
>> This could be a hint, since the root argument has a lowercase 'users' in it. So i tried it on another
>> mac running OS X 10.6.4 as well. On this machine EVERYTHING works well and the debug output
>> lists:
> 
> Very interesting. Mercurial's getting that lowercase "/users/" from
> somewhere (it definitely doesn't fold case internally as that wouldn't
> work on proper filesystems). Perhaps somewhere in your environment?

I guess it's Python os methods. If i start a Python shell and do a

import os
os.getcwd()

I get a lower case "/users" on my machine.

Still don't know why, but I going to ask in a python mailing list.

Thanks!




More information about the Mercurial mailing list