--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgClient.py Wed Jan 08 19:13:57 2020 +0100 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgClient.py Mon Jan 13 19:23:08 2020 +0100 @@ -318,6 +318,12 @@ output and/or error functions were given, the respective return value will be an empty string. """ + if not self.__started: + # try to start the Mercurial command server + ok, startError = self.startServer() + if not ok: + return "", startError + self.__commandRunning = True outputChannels = {} outputBuffer = None