Thu, 06 Apr 2023 09:32:12 +0200
Version Control Systems
- fixed an issue triggered by loading very old project files (i.e. those containing a no longer supported programmin language like Python2)
(grafted from d537cba05d38d157fb337507cc1f3adf4fa5234c)
--- a/src/eric7/Plugins/VcsPlugins/vcsGit/ProjectBrowserHelper.py Tue Apr 04 14:04:59 2023 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsGit/ProjectBrowserHelper.py Thu Apr 06 09:32:12 2023 +0200 @@ -423,6 +423,9 @@ @param mainMenu reference to the menu to be amended """ + if mainMenu is None: + return + menu = QMenu(self.tr("Version Control")) act = menu.addAction(
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/ProjectBrowserHelper.py Tue Apr 04 14:04:59 2023 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/ProjectBrowserHelper.py Thu Apr 06 09:32:12 2023 +0200 @@ -529,6 +529,9 @@ @param mainMenu reference to the menu to be amended """ + if mainMenu is None: + return + menu = QMenu(self.tr("Version Control")) act = menu.addAction(
--- a/src/eric7/Plugins/VcsPlugins/vcsPySvn/ProjectBrowserHelper.py Tue Apr 04 14:04:59 2023 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsPySvn/ProjectBrowserHelper.py Thu Apr 06 09:32:12 2023 +0200 @@ -543,6 +543,9 @@ @param mainMenu reference to the menu to be amended """ + if mainMenu is None: + return + menu = QMenu(self.tr("Version Control")) act = menu.addAction(
--- a/src/eric7/Plugins/VcsPlugins/vcsSubversion/ProjectBrowserHelper.py Tue Apr 04 14:04:59 2023 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsSubversion/ProjectBrowserHelper.py Thu Apr 06 09:32:12 2023 +0200 @@ -541,6 +541,9 @@ @param mainMenu reference to the menu to be amended """ + if mainMenu is None: + return + menu = QMenu(self.tr("Version Control")) act = menu.addAction(