Bug Report: hg {copy, rename, mv} with ".." to an empty directory fails with obscure error
Mike Neuman
mcn at EnGarde.com
Tue Oct 2 14:22:27 CDT 2007
Matt Mackall wrote:
>> abort: /home/mcn/test-rep/dir2/file1 not under root
> That's a very interesting tidbit. Are there any symlinks or the like
> in your path? Linux getcwd is a fast syscall due to the dcache, but
> other UNIXen tend to have to walk the directory tree in libc.
Yes! This seems to be the problem.
/home is actually a symlink to /usr/home (which is the default on all
FreeBSD machines)
If I run this same test on my FreeBSD machine from the /tmp directory
(which is not a symlink), everything works fine.
-Mike
More information about the Mercurial
mailing list