view tests/test-paths @ 10357:0d64b30b35c3

localrepo: inline single-use nested function
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Sun, 07 Feb 2010 10:01:55 +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