diff -r 9c1f429cb56b -r b47dfa7a137d src/eric7/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/LfConvertDataDialog.py --- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/LfConvertDataDialog.py Sun Dec 18 14:19:10 2022 +0100 +++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/LfConvertDataDialog.py Sun Dec 18 19:33:46 2022 +0100 @@ -12,8 +12,8 @@ from PyQt6.QtCore import pyqtSlot from PyQt6.QtWidgets import QDialog, QDialogButtonBox -from eric7 import Utilities from eric7.EricWidgets.EricPathPicker import EricPathPickerModes +from eric7.SystemUtilities import FileSystemUtilities from . import getDefaults from .Ui_LfConvertDataDialog import Ui_LfConvertDataDialog @@ -38,7 +38,7 @@ self.newProjectPicker.setMode(EricPathPickerModes.DIRECTORY_MODE) self.__defaults = getDefaults() - self.__currentPath = Utilities.toNativeSeparators(currentPath) + self.__currentPath = FileSystemUtilities.toNativeSeparators(currentPath) self.currentProjectLabel.setPath(currentPath) self.newProjectPicker.setText(os.path.dirname(currentPath)) @@ -62,7 +62,8 @@ """ self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled( txt - and Utilities.toNativeSeparators(txt) != os.path.dirname(self.__currentPath) + and FileSystemUtilities.toNativeSeparators(txt) + != os.path.dirname(self.__currentPath) ) def getData(self):