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