view tests/test-symlink-root @ 4716:36d23de02da1

Make earlygetopt return a list of all option values, use the last value. This fixes: "hg -R" showing a useful error instead of traceback "hg -R foo --repository bar" using bar instead of foo And provides a way for other users of earlygetopt to accept more than one value.
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 25 Jun 2007 22:08:10 +0200
parents cc8a52229620
children 25d753efd48e
line wrap: on
line source

#!/bin/sh

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