45 self.process = None |
45 self.process = None |
46 self.vcs = vcs |
46 self.vcs = vcs |
47 |
47 |
48 self.rx_status = QRegExp( |
48 self.rx_status = QRegExp( |
49 '(.{8,9})\\s+([0-9-]+)\\s+([0-9?]+)\\s+(\\S+)\\s+(.+)\\s*') |
49 '(.{8,9})\\s+([0-9-]+)\\s+([0-9?]+)\\s+(\\S+)\\s+(.+)\\s*') |
50 # flags (8 or 9 anything), revision, changed rev, author, path |
50 # flags (8 or 9 anything), revision, changed rev, author, path |
51 self.rx_status2 = \ |
51 self.rx_status2 = \ |
52 QRegExp('(.{8,9})\\s+(.+)\\s*') |
52 QRegExp('(.{8,9})\\s+(.+)\\s*') |
53 # flags (8 or 9 anything), path |
53 # flags (8 or 9 anything), path |
54 self.rx_changelist = \ |
54 self.rx_changelist = \ |
55 QRegExp('--- \\S+ .([\\w\\s]+).:\\s+') |
55 QRegExp('--- \\S+ .([\\w\\s]+).:\\s+') |
56 # three dashes, Changelist (translated), quote, |
56 # three dashes, Changelist (translated), quote, |
57 # changelist name, quote, : |
57 # changelist name, quote, : |
58 |
58 |
59 @pyqtSlot(QListWidgetItem, QListWidgetItem) |
59 @pyqtSlot(QListWidgetItem, QListWidgetItem) |
60 def on_changeLists_currentItemChanged(self, current, previous): |
60 def on_changeLists_currentItemChanged(self, current, previous): |
61 """ |
61 """ |
62 Private slot to handle the selection of a new item. |
62 Private slot to handle the selection of a new item. |