src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
diff -r 9c1f429cb56b -r b47dfa7a137d src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py
--- a/src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py	Sun Dec 18 14:19:10 2022 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py	Sun Dec 18 19:33:46 2022 +0100
@@ -12,9 +12,9 @@
 from PyQt6.QtCore import pyqtSlot
 from PyQt6.QtWidgets import QDialog
 
-from eric7 import Utilities
 from eric7.EricWidgets import EricMessageBox
 from eric7.EricWidgets.EricApplication import ericApp
+from eric7.SystemUtilities import FileSystemUtilities
 
 from .Ui_SvnUrlSelectionDialog import Ui_SvnUrlSelectionDialog
 
@@ -84,9 +84,9 @@
             self.repoRootLabel2.setText(reposRoot)
         else:
             project = ericApp().getObject("Project")
-            if Utilities.normcasepath(path) != Utilities.normcasepath(
-                project.getProjectPath()
-            ):
+            if FileSystemUtilities.normcasepath(
+                path
+            ) != FileSystemUtilities.normcasepath(project.getProjectPath()):
                 path = project.getRelativePath(path)
                 reposURL = reposURL.replace(path, "")
             self.repoRootLabel1.hide()

eric ide

mercurial