Plugins/VcsPlugins/vcsMercurial/HgBackoutDialog.py

changeset 3337
49faa820151a
parent 3190
a9a94491c4fd
child 3484
645c12de6b0c
equal deleted inserted replaced
3334:a75328ebac64 3337:49faa820151a
149 @return tuple naming the revision, a flag indicating a 149 @return tuple naming the revision, a flag indicating a
150 merge, the commit date, the commit user and a commit message 150 merge, the commit date, the commit user and a commit message
151 (string, boolean, string, string, string) 151 (string, boolean, string, string, string)
152 """ 152 """
153 if self.numberButton.isChecked(): 153 if self.numberButton.isChecked():
154 rev = str(self.numberSpinBox.value()) 154 rev = "rev({0})".format(self.numberSpinBox.value())
155 elif self.idButton.isChecked(): 155 elif self.idButton.isChecked():
156 rev = self.idEdit.text() 156 rev = "id({0})".format(self.idEdit.text())
157 elif self.tagButton.isChecked(): 157 elif self.tagButton.isChecked():
158 rev = self.tagCombo.currentText() 158 rev = self.tagCombo.currentText()
159 elif self.branchButton.isChecked(): 159 elif self.branchButton.isChecked():
160 rev = self.branchCombo.currentText() 160 rev = self.branchCombo.currentText()
161 elif self.bookmarkButton.isChecked(): 161 elif self.bookmarkButton.isChecked():

eric ide

mercurial