tests/test-paths
author Alexander Solovyov <piranha@piranha.org.ua>
Sat, 18 Oct 2008 18:05:56 +0200
changeset 7131 23bd7383891c
parent 5951 92eb0a019bf2
permissions -rwxr-xr-x
commands: optional options where possible This makes life a lot easier on API users.

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