view tests/test-paths @ 10970:3213e8947975

localrepo.commit: use explicit variables, avoid creating new contexts
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Wed, 21 Apr 2010 01:34:12 +0200
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