hg cat get's confused by symlinks in the working directory

timeless timeless at gmail.com
Sat Oct 31 16:13:55 CDT 2009


cd /tmp; rm -rf 00; mkdir 00; cd 00; hg init; mkdir 0; echo hi > 0/0;
hg add ; hg commit -m 0; hg cat -r 0 0/0; hg mv 0 1; ln -s 1 0; hg add
; hg commit -m 1; hg cat -r 0 0/0; hg up -r 0; hg cat 0/0

adding 0/0
hi
moving 0/0 to 1/0
adding 0
abort: path '0/0' traverses symbolic link '0'
1 files updated, 0 files merged, 2 files removed, 0 files unresolved
hi

--- i'm flying in <8 hours, so i don't have time to figure out how to
use the bug tracker. sorry
Mercurial Distributed SCM (version 1.3.1)


More information about the Mercurial-devel mailing list