5 |
5 |
6 """ |
6 """ |
7 Module implementing the Subversion version control plugin. |
7 Module implementing the Subversion version control plugin. |
8 """ |
8 """ |
9 |
9 |
|
10 import contextlib |
10 import os |
11 import os |
11 import contextlib |
12 |
12 |
13 from PyQt6.QtCore import QCoreApplication, QObject |
13 from PyQt6.QtCore import QObject, QCoreApplication |
14 |
14 |
15 from eric7 import Preferences, Utilities |
15 from eric7.EricWidgets.EricApplication import ericApp |
16 from eric7.EricWidgets.EricApplication import ericApp |
16 |
|
17 from eric7 import Preferences, Utilities |
|
18 from eric7.Preferences.Shortcuts import readShortcuts |
|
19 |
|
20 from eric7.Plugins.VcsPlugins.vcsSubversion.SvnUtilities import ( |
17 from eric7.Plugins.VcsPlugins.vcsSubversion.SvnUtilities import ( |
21 getConfigPath, |
18 getConfigPath, |
22 getServersPath, |
19 getServersPath, |
23 ) |
20 ) |
24 |
21 from eric7.Preferences.Shortcuts import readShortcuts |
25 from eric7.UI import Info |
22 from eric7.UI import Info |
26 |
23 |
27 # Start-Of-Header |
24 # Start-Of-Header |
28 name = "Subversion Plugin" |
25 name = "Subversion Plugin" |
29 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
26 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
111 |
108 |
112 @param configDlg reference to the configuration dialog (QDialog) |
109 @param configDlg reference to the configuration dialog (QDialog) |
113 @return reference to the configuration page |
110 @return reference to the configuration page |
114 """ |
111 """ |
115 global subversionCfgPluginObject |
112 global subversionCfgPluginObject |
116 from eric7.Plugins.VcsPlugins.vcsSubversion.ConfigurationPage.SubversionPage import ( |
113 from eric7.Plugins.VcsPlugins.vcsSubversion.ConfigurationPage.SubversionPage import ( # __IGNORE_WARNING__ |
117 # __IGNORE_WARNING__ |
|
118 SubversionPage, |
114 SubversionPage, |
119 ) |
115 ) |
120 |
116 |
121 if subversionCfgPluginObject is None: |
117 if subversionCfgPluginObject is None: |
122 subversionCfgPluginObject = VcsSubversionPlugin(None) |
118 subversionCfgPluginObject = VcsSubversionPlugin(None) |