hg rename under OS X

Klaasmer klaasmer at gmail.com
Mon Nov 1 20:45:51 UTC 2010


> Interesting -- I just tried with the tip version of Mercurial (version
> 1.6.4+264-53cfde2b3cf9) and I could not reproduce the problem.
> 
> I have added a test for this here:
> 
>  http://hg.intevation.org/mercurial/crew/rev/f2fd909053d9
> 
> I suggest you try updating MercurialEclipse and/or Mercurial, unless you
> are already using the latest version.

Ok, I updated to the most recent versions and the problem still exists. I tried your
new test case as well, and this one works. So I did some further investigations.

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:

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?

I'll move my repository to another location that's not under '/Users' now, but I would be interested in
a better solution.


Best regards, Klaas.






More information about the Mercurial mailing list