view tests/test-symlink-addremove @ 8955:0405f7ccb274

help: branch heads have no descendants, not no children
author Brendan Cully <brendan@kublai.com>
date Mon, 29 Jun 2009 08:48:05 -0700
parents 7f0dd352fb4d
children
line wrap: on
line source

#!/bin/sh

"$TESTDIR/hghave" symlink || exit 80

hg init a
cd a

echo '% directory moved and symlinked'
mkdir foo
touch foo/a
hg ci -Ama
mv foo bar
ln -s bar foo
echo '% now addremove should remove old files'
hg addremove