tests/test-symlink-addremove
author Steve Losh <steve@stevelosh.com>
Sun, 18 Apr 2010 18:18:19 -0400
changeset 10957 0d5f139b23c1
parent 6651 7f0dd352fb4d
permissions -rwxr-xr-x
commands: Add 'hg log --branch' and deprecate 'hg log --only-branch' Switching to --branch makes log consistent with push/pull and make more sense given the actual behavior of the option (you can specify -b multiple times to include multiple branches). This change also adds some tests for 'hg log -b'.

#!/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