Plugins/VcsPlugins/vcsMercurial/HgDialog.py

changeset 1245
f2e75708f0c8
parent 1242
dfb9609caf51
child 1260
9488a3aceb0e
equal deleted inserted replaced
1244:ffdb35928247 1245:f2e75708f0c8
118 self.__updateCommand = True 118 self.__updateCommand = True
119 else: 119 else:
120 self.__updateCommand = False 120 self.__updateCommand = False
121 121
122 if showArgs: 122 if showArgs:
123 self.inputGroup.setEnabled(False)
124 self.inputGroup.hide()
125
126 self.resultbox.append(' '.join(args)) 123 self.resultbox.append(' '.join(args))
127 self.resultbox.append('') 124 self.resultbox.append('')
128 125
129 if self.__hgClient is None: 126 if self.__hgClient is None:
130 self.proc = QProcess() 127 self.proc = QProcess()
149 else: 146 else:
150 self.inputGroup.setEnabled(True) 147 self.inputGroup.setEnabled(True)
151 self.inputGroup.show() 148 self.inputGroup.show()
152 return procStarted 149 return procStarted
153 else: 150 else:
151 self.inputGroup.setEnabled(False)
152 self.inputGroup.hide()
153
154 out, err = self.__hgClient.runcommand(args) 154 out, err = self.__hgClient.runcommand(args)
155 155
156 if out: 156 if out:
157 self.__showOutput(out) 157 self.__showOutput(out)
158 if err: 158 if err:

eric ide

mercurial