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 """ |