diff -r bf727bab38b9 -r 25619b72f86a hgext/inotify/__init__.py --- a/hgext/inotify/__init__.py Tue Aug 19 15:36:03 2008 -0700 +++ b/hgext/inotify/__init__.py Sat Sep 06 12:48:52 2008 +0200 @@ -24,7 +24,10 @@ class service: def init(self): - self.master = server.Master(ui, repo, timeout) + try: + self.master = server.Master(ui, repo, timeout) + except server.AlreadyStartedException, inst: + raise util.Abort(str(inst)) def run(self): try: