tests/test-paths
author Martin Geisler <mg@lazybytes.net>
Thu, 17 Jun 2010 17:21:39 +0300
changeset 11382 2f09b13e914d
parent 5951 92eb0a019bf2
permissions -rwxr-xr-x
help: new revsets topic Based on a patch by timeless which in turn is based on http://selenic.com/pipermail/mercurial-devel/2010-June/021638.html

#!/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