tests/test-symlink-root
author Patrick Mezard <pmezard@gmail.com>
Sat, 28 Apr 2007 11:53:36 +0200
changeset 4382 caaba589d9c7
parent 4086 cc8a52229620
child 4882 25d753efd48e
permissions -rwxr-xr-x
Use patch.patch() when checking for patch availability. The test is closer to what we want to know. It also makes sense when you deal with patched versions of patch() as most people do under win32.

#!/bin/sh

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