src/eric7/Plugins/VcsPlugins/vcsMercurial/HgClient.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
8 """ 8 """
9 9
10 import io 10 import io
11 import struct 11 import struct
12 12
13 from PyQt6.QtCore import QByteArray, QCoreApplication, QObject, QProcess, QThread 13 from PyQt6.QtCore import (
14 QByteArray,
15 QCoreApplication,
16 QObject,
17 QProcess,
18 QThread,
19 pyqtSlot,
20 )
14 from PyQt6.QtWidgets import QDialog 21 from PyQt6.QtWidgets import QDialog
15 22
16 from .HgUtilities import getHgExecutable, prepareProcess 23 from .HgUtilities import getHgExecutable, prepareProcess
17 24
18 25
166 return False, self.tr("'encoding' message did not contain any encoding.") 173 return False, self.tr("'encoding' message did not contain any encoding.")
167 self.__encoding = encoding 174 self.__encoding = encoding
168 175
169 return True, "" 176 return True, ""
170 177
178 @pyqtSlot(int, QProcess.ExitStatus)
171 def __serverFinished(self, exitCode, exitStatus): 179 def __serverFinished(self, exitCode, exitStatus):
172 """ 180 """
173 Private slot connected to the finished signal. 181 Private slot connected to the finished signal.
174 182
175 @param exitCode exit code of the process 183 @param exitCode exit code of the process

eric ide

mercurial