51 """ |
51 """ |
52 Public method to retrieve the tag data. |
52 Public method to retrieve the tag data. |
53 |
53 |
54 @return tuple of string and int (tag, tag operation) |
54 @return tuple of string and int (tag, tag operation) |
55 """ |
55 """ |
56 tag = self.tagCombo.currentText() |
56 tag = self.tagCombo.currentText().replace(" ", "_") |
57 tagOp = 0 |
57 tagOp = 0 |
58 if self.createRegularButton.isChecked(): |
58 if self.createRegularButton.isChecked(): |
59 tagOp = HgTagDialog.CreateRegularTag |
59 tagOp = HgTagDialog.CreateRegularTag |
60 elif self.createLocalButton.isChecked(): |
60 elif self.createLocalButton.isChecked(): |
61 tagOp = HgTagDialog.CreateLocalTag |
61 tagOp = HgTagDialog.CreateLocalTag |