tests/test-paths
author Nicolas Dumazet <nicdumz.commits@gmail.com>
Thu, 21 May 2009 19:26:15 +0900
changeset 8609 aeaa0bd9dc24
parent 5951 92eb0a019bf2
permissions -rwxr-xr-x
inotify: process all inotify events in one batch When several inotify events happen, we don't have to process each event separately, calling everytime repowatcher.read_events() to fetch events from the underlying watcher: it is sufficient to call once read_events, to fetch all the events from the watcher.

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