src/eric7/Plugins/PluginVcsGit.py

branch
eric7
changeset 11006
a671918232f3
parent 10806
2f6df822e3b9
child 11090
f5f5f5803935
equal deleted inserted replaced
11005:b918c6c2736b 11006:a671918232f3
71 71
72 @return dictionary with indicator as key and a tuple with the vcs name 72 @return dictionary with indicator as key and a tuple with the vcs name
73 and vcs display string 73 and vcs display string
74 @rtype dict 74 @rtype dict
75 """ 75 """
76 ##global __header__
77 data = {} 76 data = {}
78 exe = "git" 77 exe = "git"
79 if OSUtilities.isWindowsPlatform(): 78 if OSUtilities.isWindowsPlatform():
80 exe += ".exe" 79 exe += ".exe"
81 if FileSystemUtilities.isinpath(exe): 80 if FileSystemUtilities.isinpath(exe):
195 from eric7.Plugins.VcsPlugins.vcsGit.ProjectHelper import GitProjectHelper 194 from eric7.Plugins.VcsPlugins.vcsGit.ProjectHelper import GitProjectHelper
196 195
197 super().__init__(ui) 196 super().__init__(ui)
198 self.__ui = ui 197 self.__ui = ui
199 198
200 self.__projectHelperObject = GitProjectHelper(None, None) 199 self.__projectHelperObject = GitProjectHelper(None, None, ui)
201 with contextlib.suppress(KeyError): 200 with contextlib.suppress(KeyError):
202 ericApp().registerPluginObject( 201 ericApp().registerPluginObject(
203 __header__["pluginTypename"], 202 __header__["pluginTypename"],
204 self.__projectHelperObject, 203 self.__projectHelperObject,
205 __header__["pluginType"], 204 __header__["pluginType"],

eric ide

mercurial