inotify: deactivate inotify status on failure
workaround
issue1208, add test
fix traceback handling (socket.error is a singleton in this case)
Use relative imports in inotify.server.
Fixes an import failure I was getting under hgtk and hgweb:
*** failed to import extension inotify: 'module' object has no attribute 'inotify'