tests/test-hgcia
author Nicolas Dumazet <nicdumz.commits@gmail.com>
Thu, 21 May 2009 19:26:15 +0900
changeset 8609 aeaa0bd9dc24
parent 7438 b80b944836ec
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

cat >> $HGRCPATH <<EOF
[extensions]
hgcia=

[hooks]
changegroup.cia = python:hgext.hgcia.hook

[cia]
user = testuser
project = testproject
test = True
EOF

hg init src
hg init cia

cd src
echo foo > foo
hg ci -Amfoo

hg push ../cia