src/eric7/Plugins/VcsPlugins/vcsMercurial/HgDialog.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10438
4cd7e5a8b3cf
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
78 if button == self.buttonBox.button(QDialogButtonBox.StandardButton.Close): 78 if button == self.buttonBox.button(QDialogButtonBox.StandardButton.Close):
79 self.close() 79 self.close()
80 elif button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel): 80 elif button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel):
81 self.vcs.getClient().cancel() 81 self.vcs.getClient().cancel()
82 82
83 def startProcess(self, args, showArgs=True, environment=None, client=None): 83 def startProcess(self, args, showArgs=True, client=None):
84 """ 84 """
85 Public slot used to start the process. 85 Public slot used to start the process.
86 86
87 @param args list of arguments for the process 87 @param args list of arguments for the process
88 @type list of str 88 @type list of str
89 @param showArgs flag indicating to show the arguments 89 @param showArgs flag indicating to show the arguments
90 @type bool 90 @type bool
91 @param environment dictionary of environment settings to add
92 or change for the git process
93 @type dict
94 @param client reference to a non-standard command client 91 @param client reference to a non-standard command client
95 @type HgClient 92 @type HgClient
96 @return flag indicating a successful start of the process 93 @return flag indicating a successful start of the process
97 @rtype bool 94 @rtype bool
98 """ 95 """

eric ide

mercurial