157 """ |
157 """ |
158 Constructor |
158 Constructor |
159 |
159 |
160 @param ui reference to the user interface object (UI.UserInterface) |
160 @param ui reference to the user interface object (UI.UserInterface) |
161 """ |
161 """ |
|
162 from eric7.Plugins.VcsPlugins.vcsSubversion.ProjectHelper import ( |
|
163 SvnProjectHelper, |
|
164 ) |
|
165 |
162 super().__init__(ui) |
166 super().__init__(ui) |
163 self.__ui = ui |
167 self.__ui = ui |
164 |
168 |
165 self.__subversionDefaults = { |
169 self.__subversionDefaults = { |
166 "StopLogOnCopy": True, |
170 "StopLogOnCopy": True, |
167 "LogLimit": 20, |
171 "LogLimit": 20, |
168 } |
172 } |
169 |
|
170 from eric7.Plugins.VcsPlugins.vcsSubversion.ProjectHelper import ( |
|
171 SvnProjectHelper, |
|
172 ) |
|
173 |
173 |
174 self.__projectHelperObject = SvnProjectHelper(None, None) |
174 self.__projectHelperObject = SvnProjectHelper(None, None) |
175 with contextlib.suppress(KeyError): |
175 with contextlib.suppress(KeyError): |
176 ericApp().registerPluginObject( |
176 ericApp().registerPluginObject( |
177 pluginTypename, self.__projectHelperObject, pluginType |
177 pluginTypename, self.__projectHelperObject, pluginType |