view tests/test-paths @ 7800:58125c27ddbe

contrib: add hgwebdir.wsgi, to serve as a better example
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Tue, 24 Feb 2009 16:05:43 +0100
parents 92eb0a019bf2
children
line wrap: on
line source

#!/bin/sh
hg init a
hg clone a b
cd a
echo '[paths]' >> .hg/hgrc
echo 'dupe = ../b' >> .hg/hgrc
hg in dupe | fgrep '../'
cd ..
hg -R a in dupe | fgrep '../'
true