tests/test-paths
author Greg Ward <greg-hg@gerg.ca>
Sun, 12 Jul 2009 22:33:00 -0400
changeset 9121 a85a3d398cc3
parent 5951 92eb0a019bf2
permissions -rwxr-xr-x
test-fetch: fix non-portable sed regex. (s/...\+/.../ appears to be a GNU-ism: this test broke on OS X and NetBSD. Changing \+ to * fixes it, although that is a slightly less strict regex.)

#!/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