79 self.__server.finished.connect(self.__serverFinished) |
79 self.__server.finished.connect(self.__serverFinished) |
80 |
80 |
81 prepareProcess(self.__server, self.__encoding) |
81 prepareProcess(self.__server, self.__encoding) |
82 |
82 |
83 self.__server.start('hg', self.__serverArgs) |
83 self.__server.start('hg', self.__serverArgs) |
84 serverStarted = self.__server.waitForStarted(5000) |
84 serverStarted = self.__server.waitForStarted(15000) |
85 if not serverStarted: |
85 if not serverStarted: |
86 return False, self.tr( |
86 return False, self.tr( |
87 'The process {0} could not be started. ' |
87 'The process {0} could not be started. ' |
88 'Ensure, that it is in the search path.' |
88 'Ensure, that it is in the search path.' |
89 ).format('hg') |
89 ).format('hg') |