hgext/inotify/server.py
changeset 6909 b5a6fce0bc29
parent 6762 f67d1468ac50
child 6961 12163fb21fce
equal deleted inserted replaced
6908:b77c25c2d6c0 6909:b5a6fce0bc29
    10 from mercurial import osutil, ui, util
    10 from mercurial import osutil, ui, util
    11 import common
    11 import common
    12 import errno, os, select, socket, stat, struct, sys, time
    12 import errno, os, select, socket, stat, struct, sys, time
    13 
    13 
    14 try:
    14 try:
    15     import hgext.inotify.linux as inotify
    15     import linux as inotify
    16     from hgext.inotify.linux import watcher
    16     from linux import watcher
    17 except ImportError:
    17 except ImportError:
    18     print >> sys.stderr, '*** native support is required for this extension'
    18     print >> sys.stderr, '*** native support is required for this extension'
    19     raise
    19     raise
    20 
    20 
    21 class AlreadyStartedException(Exception): pass
    21 class AlreadyStartedException(Exception): pass