156 return procStarted |
156 return procStarted |
157 else: |
157 else: |
158 self.inputGroup.setEnabled(False) |
158 self.inputGroup.setEnabled(False) |
159 self.inputGroup.hide() |
159 self.inputGroup.hide() |
160 |
160 |
161 out, err = self.__hgClient.runcommand(args, |
161 out, err = self.__hgClient.runcommand( |
162 output=self.__showOutput, error=self.__showError) |
162 args, output=self.__showOutput, error=self.__showError) |
163 |
163 |
164 if err: |
164 if err: |
165 self.__showError(err) |
165 self.__showError(err) |
166 if out: |
166 if out: |
167 self.__showOutput(out) |
167 self.__showOutput(out) |