Plugins/VcsPlugins/vcsMercurial/HgTagDialog.py

branch
5_4_x
changeset 3409
b7a3455e9ba0
parent 3160
209a07d7e401
equal deleted inserted replaced
3405:ed72a8e08be4 3409:b7a3455e9ba0
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

eric ide

mercurial