view tests/test-paths @ 8033:aeb4a5c7a28e

commands: consistently write switches as -a/--abc
author Martin Geisler <mg@lazybytes.net>
date Wed, 08 Apr 2009 21:20:31 +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