Bug Report: hg {copy, rename, mv} with ".." to an empty directory fails with obscure error
Mike Neuman
mcn at EnGarde.com
Sun Oct 7 15:09:11 CDT 2007
Is it really appropriate to delete the source directory? All I'd expect
"hg mv" to do is move the file, not delete the parent directory.
% cd dir1
% hg mv file1 ../dir2
Should this really remove dir1?
-Mike
> This is what happens when the current directory is whipped out under
> your feet in both FreeBSD and Solaris too, so I'm not sure if there's an
> eay way to fix this, other than running most Hg commands from the base
> of the repository itself, as reported by $(hg root) :-(
More information about the Mercurial
mailing list