view tests/test-paths @ 10985:7fab6ae3f688 stable

convert/git: rename gitcmd() into gitopen() for readability
author Patrick Mezard <pmezard@gmail.com>
date Sun, 25 Apr 2010 22:32:27 +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