##// END OF EJS Templates
inotify: fix traceback when the server has been already started
Benoit Boissinot -
r6995:25619b72 default
parent child Browse files
Show More
@@ -24,7 +24,10 b' def serve(ui, repo, **opts):'
24
24
25 class service:
25 class service:
26 def init(self):
26 def init(self):
27 self.master = server.Master(ui, repo, timeout)
27 try:
28 self.master = server.Master(ui, repo, timeout)
29 except server.AlreadyStartedException, inst:
30 raise util.Abort(str(inst))
28
31
29 def run(self):
32 def run(self):
30 try:
33 try:
General Comments 0
You need to be logged in to leave comments. Login now