equal
deleted
inserted
replaced
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 |