view tests/test-symlink-root @ 11223:0d09f2244805

rename: make --after work if source is already in R state I routinely want to use `hg addrem` and then fix up missed renames manually using `hg mv -A`. This patch allows me to record such renames from a source in state R to a target in state A.
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Wed, 26 May 2010 16:16:47 +0200
parents 25d753efd48e
children
line wrap: on
line source

#!/bin/sh

"$TESTDIR/hghave" symlink || exit 80

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