view tests/test-paths @ 11703:55a2af02e45c

context: reuse filecontext.cmp in workingfilecontext.cmp Same code path should mean less mistakes, and hopefully, better caching.
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Thu, 29 Jul 2010 10:39:59 +0900
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