Bug Report: hg {copy, rename, mv} with ".." to an empty directory fails with obscure error
Giorgos Keramidas
keramida at ceid.upatras.gr
Tue Oct 2 07:43:24 CDT 2007
On 2007-10-01 09:17, Mike Neuman <mcn at EnGarde.com> wrote:
> Version 0.9.4.
>
> Repeat with the following steps:
>
> (Setup simple repository with two directories and one file)
> % mkdir test-rep
> % cd test-rep
> % hg init .
> % mkdir dir1
> % mkdir dir2
> % touch dir1/file1
> % hg -m "Test" commit
You forgot to 'hg add dir1/file1' here.
> ( Try to copy a file from within dir1 into ../dir2 )
> % cd dir1
> % hg mv file1 ../dir2
> abort: /home/mcn/test-rep/dir2/file1 not under root
Try 'cd /home/mcn/test-rep ; hg log -v' and show us the output :)
More information about the Mercurial
mailing list