src/eric7/Plugins/VcsPlugins/vcsGit/git.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10683
779cda568acb
child 11006
a671918232f3
equal deleted inserted replaced
10689:3ede487187f2 10690:fab36645aa7d
220 else: 220 else:
221 errMsg = self.tr("Could not start the git executable.") 221 errMsg = self.tr("Could not start the git executable.")
222 222
223 return False, errMsg 223 return False, errMsg
224 224
225 def vcsInit(self, vcsDir, noDialog=False): # noqa: U100 225 def vcsInit(self, _vcsDir, noDialog=False): # noqa: U100
226 """ 226 """
227 Public method used to initialize the Git repository. 227 Public method used to initialize the Git repository.
228 228
229 The initialization is done, when a project is converted into a 229 The initialization is done, when a project is converted into a
230 Git controlled project. Therefore we always return TRUE without 230 Git controlled project. Therefore we always return TRUE without
231 doing anything. 231 doing anything.
232 232
233 @param vcsDir name of the VCS directory (unused) 233 @param _vcsDir name of the VCS directory (unused)
234 @type str 234 @type str
235 @param noDialog flag indicating quiet operations (unused) 235 @param noDialog flag indicating quiet operations (unused)
236 @type bool 236 @type bool
237 @return always True 237 @return always True
238 @rtype bool 238 @rtype bool
1304 @return reference to the instantiated options dialog 1304 @return reference to the instantiated options dialog
1305 @rtype GitOptionsDialog 1305 @rtype GitOptionsDialog
1306 """ 1306 """
1307 from .GitOptionsDialog import GitOptionsDialog 1307 from .GitOptionsDialog import GitOptionsDialog
1308 1308
1309 return GitOptionsDialog(self, project, parent) 1309 return GitOptionsDialog(parent)
1310 1310
1311 def vcsNewProjectOptionsDialog(self, parent=None): 1311 def vcsNewProjectOptionsDialog(self, parent=None):
1312 """ 1312 """
1313 Public method to get a dialog to enter repository info for getting a 1313 Public method to get a dialog to enter repository info for getting a
1314 new project. 1314 new project.

eric ide

mercurial