--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py Mon Apr 22 15:15:36 2024 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py Mon Apr 22 18:23:20 2024 +0200 @@ -264,7 +264,7 @@ self.__getExtensionsInfo() return hgExists, errMsg - def vcsInit(self, vcsDir, noDialog=False): # noqa: U100 + def vcsInit(self, _vcsDir, noDialog=False): # noqa: U100 """ Public method used to initialize the mercurial repository. @@ -272,7 +272,7 @@ Mercurial controlled project. Therefore we always return TRUE without doing anything. - @param vcsDir name of the VCS directory (unused) + @param _vcsDir name of the VCS directory (unused) @type str @param noDialog flag indicating quiet operations (unused) @type bool @@ -389,7 +389,7 @@ args.append(projectDir) if noDialog: - out, err = self.__client.runcommand(args) + _out, err = self.__client.runcommand(args) return err == "" else: dia = HgDialog(self.tr("Cloning project from a Mercurial repository"), self) @@ -655,7 +655,7 @@ args.append(revision) if noDialog: - out, err = self.__client.runcommand(args) + _out, err = self.__client.runcommand(args) res = False else: dia = HgDialog(self.tr("Synchronizing with the Mercurial repository"), self) @@ -686,7 +686,7 @@ args.append(name) if noDialog: - out, err = self.__client.runcommand(args) + _out, err = self.__client.runcommand(args) else: dia = HgDialog( self.tr("Adding files/directories to the Mercurial repository"), self @@ -744,7 +744,7 @@ args.append(name) if noDialog: - out, err = self.__client.runcommand(args) + _out, err = self.__client.runcommand(args) res = err == "" else: dia = HgDialog( @@ -798,7 +798,7 @@ args.append(target) if noDialog: - out, err = self.__client.runcommand(args) + _out, err = self.__client.runcommand(args) res = err == "" else: dia = HgDialog(self.tr("Renaming {0}").format(name), self) @@ -1301,7 +1301,7 @@ """ from .HgOptionsDialog import HgOptionsDialog - return HgOptionsDialog(self, project, parent) + return HgOptionsDialog(parent) def vcsNewProjectOptionsDialog(self, parent=None): """