#!/bin/sh "$TESTDIR/hghave" symlink || exit 80 hg init a ln -s a link cd a echo foo > foo hg status hg status ../link