2472 |
2472 |
2473 if self.version >= (1, 9): |
2473 if self.version >= (1, 9): |
2474 client = HgClient(project.getProjectPath(), "utf-8", self) |
2474 client = HgClient(project.getProjectPath(), "utf-8", self) |
2475 ok, err = client.startServer() |
2475 ok, err = client.startServer() |
2476 if ok: |
2476 if ok: |
2477 self.__client = client |
2477 self.__client = client |
2478 else: |
2478 else: |
2479 E5MessageBox.warning(None, |
2479 E5MessageBox.warning(None, |
2480 self.trUtf8("Mercurial Command Server"), |
2480 self.trUtf8("Mercurial Command Server"), |
2481 self.trUtf8("""<p>The Mercurial Command Server could not be""" |
2481 self.trUtf8("""<p>The Mercurial Command Server could not be""" |
2482 """ started.</p><p>Reason: {0}</p>""").format(err)) |
2482 """ started.</p><p>Reason: {0}</p>""").format(err)) |