--- a/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListDialog.py Tue Jan 12 20:03:30 2021 +0100 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListDialog.py Wed Jan 13 17:46:13 2021 +0100 @@ -7,8 +7,6 @@ Module implementing a dialog to show a list of applied and unapplied patches. """ -import os - from PyQt5.QtCore import Qt, QCoreApplication from PyQt5.QtWidgets import ( QDialog, QDialogButtonBox, QHeaderView, QTreeWidgetItem @@ -62,27 +60,13 @@ e.accept() - def start(self, path): + def start(self): """ Public slot to start the list command. - - @param path name of directory to be listed (string) """ self.errorGroup.hide() - - self.intercept = False self.activateWindow() - dname, fname = self.vcs.splitPath(path) - - # find the root of the repo - repodir = dname - while not os.path.isdir(os.path.join(repodir, self.vcs.adminDir)): - repodir = os.path.dirname(repodir) - if os.path.splitdrive(repodir)[1] == os.sep: - return - - self.__repodir = repodir self.__getSeries() def __getSeries(self, missing=False):