view tests/test-paths @ 8475:caaf1e779b37

templater: replace regex complexity by simple str containment checks
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Sun, 17 May 2009 16:06:48 +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