hg rename under OS X

Klaasmer klaasmer at gmail.com
Mon Nov 1 16:03:01 CDT 2010


On 01.11.2010, at 21:53, Masklinn wrote:

> On 2010-11-01, at 21:45 , Klaasmer wrote:
>> 
>> 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:
>> 
>> canonpath is called with arguments: root=/Users/test/new, cdw=, myname=/Users/test/new/abc
>> 
>> This gets complicated, I know, but has anybody further suggestions/ideas?
> 
> An issue with your HFS+ config? Is it case-sensitive?


well, I'm not sure. How can I check it?


But I found out another solution. If I specify my repository root with the global "-R" option of hg,
everything works, i.e. when my repository is in '/Users/klaas/test/' and I give this to my rename
command with "hg -R /Users/klaas/test rename abc def".  Then my debug output prints an uppercase
"/Users" dir as well.

Strange...

Best regards, Klaas.




More information about the Mercurial mailing list