diff -r 62eff8b34a8d -r c4ee8a81584c eric6/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/largefiles.py --- a/eric6/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/largefiles.py Tue Jan 12 17:19:02 2021 +0100 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/largefiles.py Tue Jan 12 20:03:30 2021 +0100 @@ -138,20 +138,12 @@ if res: dia.exec() - def hgLfPull(self, projectDir, revisions=None): + def hgLfPull(self, revisions=None): """ Public method to pull missing large files into the local repository. - @param projectDir directory name of the project (string) @param revisions list of revisions to pull (list of string) """ - # find the root of the repo - repodir = projectDir - 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 - revs = [] if revisions: revs = revisions @@ -169,7 +161,7 @@ args.append(rev) dia = HgDialog(self.tr("Pulling large files"), self.vcs) - res = dia.startProcess(args, repodir) + res = dia.startProcess(args) if res: dia.exec()