Plugins/VcsPlugins/vcsMercurial/HgClient.py

branch
Py2 comp.
changeset 2791
a9577f248f04
parent 2525
8b507a9a2d40
parent 2771
281c9b30dd91
child 2847
1843ef6e2656
equal deleted inserted replaced
2790:6686a3326df8 2791:a9577f248f04
83 env = QProcessEnvironment.systemEnvironment() 83 env = QProcessEnvironment.systemEnvironment()
84 env.insert("HGENCODING", self.__encoding) 84 env.insert("HGENCODING", self.__encoding)
85 self.__server.setProcessEnvironment(env) 85 self.__server.setProcessEnvironment(env)
86 86
87 self.__server.start('hg', self.__serverArgs) 87 self.__server.start('hg', self.__serverArgs)
88 serverStarted = self.__server.waitForStarted() 88 serverStarted = self.__server.waitForStarted(5000)
89 if not serverStarted: 89 if not serverStarted:
90 return False, self.trUtf8( 90 return False, self.trUtf8(
91 'The process {0} could not be started. ' 91 'The process {0} could not be started. '
92 'Ensure, that it is in the search path.' 92 'Ensure, that it is in the search path.'
93 ).format('hg') 93 ).format('hg')

eric ide

mercurial