eric7/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
--- a/eric7/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py	Sat May 22 17:01:51 2021 +0200
+++ b/eric7/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py	Sat May 22 18:51:46 2021 +0200
@@ -12,8 +12,8 @@
 from PyQt6.QtCore import pyqtSlot
 from PyQt6.QtWidgets import QDialog
 
-from E5Gui.E5Application import e5App
-from E5Gui import E5MessageBox
+from E5Gui.EricApplication import ericApp
+from E5Gui import EricMessageBox
 
 from .Ui_SvnUrlSelectionDialog import Ui_SvnUrlSelectionDialog
 
@@ -50,7 +50,7 @@
         
         reposURL = self.vcs.svnGetReposName(path)
         if reposURL is None:
-            E5MessageBox.critical(
+            EricMessageBox.critical(
                 self,
                 self.tr("Subversion Error"),
                 self.tr(
@@ -65,7 +65,7 @@
             rx_base = re.compile('(.+/)(trunk|tags|branches).*')
             match = rx_base.fullmatch(reposURL)
             if match is None:
-                E5MessageBox.critical(
+                EricMessageBox.critical(
                     self,
                     self.tr("Subversion Error"),
                     self.tr(
@@ -79,7 +79,7 @@
             self.repoRootLabel1.setText(reposRoot)
             self.repoRootLabel2.setText(reposRoot)
         else:
-            project = e5App().getObject('Project')
+            project = ericApp().getObject('Project')
             if (
                 Utilities.normcasepath(path) !=
                 Utilities.normcasepath(project.getProjectPath())

eric ide

mercurial