tests/test-paths
author Nicolas Dumazet <nicdumz.commits@gmail.com>
Mon, 04 May 2009 17:11:49 +0900
changeset 8322 3c6c21eb3416
parent 5951 92eb0a019bf2
permissions -rwxr-xr-x
inotify: inotify.server.walkrepodirs() simplify walking Do not 'yield tuple, boolean' to filter later on the boolean. Test the boolean first, and yield tuple only if needed.

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