view tests/test-paths @ 9901:cb2a1836c50a

commands: minor refactoring Renamed local variable i to entry in helpcmd.
author Henri Wiechers <hwiechers@gmail.com>
date Fri, 20 Nov 2009 14:11:05 +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