38 |
38 |
39 def getRevision(self): |
39 def getRevision(self): |
40 """ |
40 """ |
41 Public method to retrieve the selected revision. |
41 Public method to retrieve the selected revision. |
42 |
42 |
43 @return tuple naming the revision and a flag indicating a |
43 @return selected revision (string) |
44 forced merge (string, boolean) |
|
45 """ |
44 """ |
46 if self.numberButton.isChecked(): |
45 if self.numberButton.isChecked(): |
47 rev = str(self.numberSpinBox.value()) |
46 rev = str(self.numberSpinBox.value()) |
48 elif self.idButton.isChecked(): |
47 elif self.idButton.isChecked(): |
49 rev = self.idEdit.text() |
48 rev = self.idEdit.text() |