1 #!/bin/sh
2 hg init a
3 hg clone a b
4 cd a
5 echo '[paths]' >> .hg/hgrc
6 echo 'dupe = ../b' >> .hg/hgrc
7 hg in dupe | fgrep '../'
8 cd ..
9 hg -R a in dupe | fgrep '../'
10 true