view tests/test-paths @ 10179:83cfa1baf8ad stable

copies: don't report copies with unrelated branch
author Patrick Mezard <pmezard@gmail.com>
date Fri, 01 Jan 2010 13:58:30 +0100
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