inotify: deactivate inotify status on failure
workaround
issue1208, add test
fix traceback handling (socket.error is a singleton in this case)
#!/bin/sh
"$TESTDIR/hghave" inotify || exit 80
echo "[extensions]" >> $HGRCPATH
echo "inotify=" >> $HGRCPATH
p="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
hg init $p
cd $p
echo % inserve
hg inserve
echo % status
hg status