--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgClient.py Mon Mar 01 17:48:43 2021 +0100 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgClient.py Tue Mar 02 17:17:09 2021 +0100 @@ -93,7 +93,7 @@ 'Ensure, that it is in the search path.' ).format('hg') - self.__server.setReadChannel(QProcess.StandardOutput) + self.__server.setReadChannel(QProcess.ProcessChannel.StandardOutput) ok, error = self.__readHello() self.__started = ok return ok, error @@ -312,7 +312,7 @@ inputData = "" isPassword = False dlg = HgClientPromptDialog(size, message) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: inputData = dlg.getInput() + '\n' isPassword = dlg.isPassword() return inputData, isPassword