view tests/test-symlink-root @ 4744:44e17f5029d0

Make hg add foo; hg mv foo bar work. - foo will be removed (the user has a copy of its contents in bar) - bar will not be marked as a copy (there was no committed version of foo). We print a warning telling that to the user. Fixes issue269.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Tue, 03 Jul 2007 03:06:40 -0300
parents cc8a52229620
children 25d753efd48e
line wrap: on
line source

#!/bin/sh

hg init a
ln -s a link
cd a
echo foo > foo
hg status
hg status ../link