hg rename under OS X
Matt Mackall
mpm at selenic.com
Mon Nov 1 21:36:08 UTC 2010
On Mon, 2010-11-01 at 21:45 +0100, Klaasmer wrote:
> > 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:
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?
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list