186 self.uptodate = { |
186 self.uptodate = { |
187 ' ': self.trUtf8('yes'), |
187 ' ': self.trUtf8('yes'), |
188 '*': self.trUtf8('no'), |
188 '*': self.trUtf8('no'), |
189 } |
189 } |
190 |
190 |
191 self.rx_status = \ |
191 self.rx_status = QRegExp( |
192 QRegExp('(.{8,9})\\s+([0-9-]+)\\s+([0-9?]+)\\s+([\\w?]+)\\s+(.+)\\s*') |
192 '(.{8,9})\\s+([0-9-]+)\\s+([0-9?]+)\\s+([\\w?]+)\\s+(.+)\\s*') |
193 # flags (8 or 9 anything), revision, changed rev, author, path |
193 # flags (8 or 9 anything), revision, changed rev, author, path |
194 self.rx_status2 = \ |
194 self.rx_status2 = \ |
195 QRegExp('(.{8,9})\\s+(.+)\\s*') |
195 QRegExp('(.{8,9})\\s+(.+)\\s*') |
196 # flags (8 or 9 anything), path |
196 # flags (8 or 9 anything), path |
197 self.rx_changelist = \ |
197 self.rx_changelist = \ |
411 self.process.waitForFinished(3000) |
411 self.process.waitForFinished(3000) |
412 |
412 |
413 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(True) |
413 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(True) |
414 self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) |
414 self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) |
415 self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) |
415 self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) |
416 self.buttonBox.button(QDialogButtonBox.Close).setFocus(Qt.OtherFocusReason) |
416 self.buttonBox.button(QDialogButtonBox.Close).setFocus( |
|
417 Qt.OtherFocusReason) |
417 |
418 |
418 self.inputGroup.setEnabled(False) |
419 self.inputGroup.setEnabled(False) |
419 self.inputGroup.hide() |
420 self.inputGroup.hide() |
420 self.refreshButton.setEnabled(True) |
421 self.refreshButton.setEnabled(True) |
421 |
422 |