Plugins/VcsPlugins/vcsSubversion/SvnStatusDialog.py

changeset 3009
bf5ae5d7477d
parent 2963
745d38097b7f
child 3020
542e97d4ecb3
child 3057
10516539f238
equal deleted inserted replaced
3008:7848489bcb92 3009:bf5ae5d7477d
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

eric ide

mercurial