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

Patrick Mézard bugs at mercurial.selenic.com
Sun Nov 15 08:40:28 CST 2009


New submission from Patrick Mézard <pmezard at gmail.com>:

Created from
http://selenic.com/pipermail/mercurial-devel/2009-October/016233.html



Here is a more legible test script

------
#!/bin/sh

echo '% create repository'
hg init repo
cd repo
mkdir d
echo a > d/a
hg ci -Am adda
echo '% cat original file'
hg cat -r 0 d/a
hg mv d e
ln -s e d
hg ci -Am addsymlink
echo '% cat symlinked file with -r0'
hg cat -r 0 d/a
hg up -C 0
echo '% cat symlinked file directly'
hg cat d/a

----------
messages: 10978
nosy: pmezard, timeless
priority: bug
status: unread
title: hg cat get's confused by symlinks in the working directory
topic: symlinks

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue1908>
____________________________________________________


More information about the Mercurial-devel mailing list