view tests/test-paths @ 8869:d244ee52ac30

contrib/buildrpm: Don't require installed hg, use local hg with pure extensions
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 20 Jun 2009 16:06:55 +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