view tests/test-symlink-root @ 4555:1843d31bfdbf

localrepo: don't search from path All current callers already pass in the repo root. This normalizes things a bit. Now all repo types take a direct path to repo root and only the command line interface (or the dispatcher) searches from the current directory.
author Matt Mackall <mpm@selenic.com>
date Mon, 11 Jun 2007 21:09:24 -0500
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