Plugins/VcsPlugins/vcsMercurial/GpgExtension/HgGpgSignDialog.py

changeset 3337
49faa820151a
parent 3160
209a07d7e401
child 3484
645c12de6b0c
equal deleted inserted replaced
3334:a75328ebac64 3337:49faa820151a
136 the signature, a commit message, an ID of the key to be used, 136 the signature, a commit message, an ID of the key to be used,
137 a flag indicating a local signature and a flag indicating a forced 137 a flag indicating a local signature and a flag indicating a forced
138 signature (string, boolean, string, string, boolean, boolean) 138 signature (string, boolean, string, string, boolean, boolean)
139 """ 139 """
140 if self.numberButton.isChecked(): 140 if self.numberButton.isChecked():
141 rev = str(self.numberSpinBox.value()) 141 rev = "rev({0})".format(self.numberSpinBox.value())
142 elif self.idButton.isChecked(): 142 elif self.idButton.isChecked():
143 rev = self.idEdit.text() 143 rev = "id({0})".format(self.idEdit.text())
144 elif self.tagButton.isChecked(): 144 elif self.tagButton.isChecked():
145 rev = self.tagCombo.currentText() 145 rev = self.tagCombo.currentText()
146 elif self.branchButton.isChecked(): 146 elif self.branchButton.isChecked():
147 rev = self.branchCombo.currentText() 147 rev = self.branchCombo.currentText()
148 elif self.bookmarkButton.isChecked(): 148 elif self.bookmarkButton.isChecked():

eric ide

mercurial