31 @param rev revision to strip from |
31 @param rev revision to strip from |
32 @type str |
32 @type str |
33 @param parent reference to the parent widget |
33 @param parent reference to the parent widget |
34 @type QWidget |
34 @type QWidget |
35 """ |
35 """ |
36 super(HgStripDialog, self).__init__(parent) |
36 super().__init__(parent) |
37 self.setupUi(self) |
37 self.setupUi(self) |
38 |
38 |
39 self.tagCombo.addItems(sorted(tagsList)) |
39 self.tagCombo.addItems(sorted(tagsList)) |
40 self.branchCombo.addItems(["default"] + sorted(branchesList)) |
40 self.branchCombo.addItems(["default"] + sorted(branchesList)) |
41 if bookmarksList is not None: |
41 if bookmarksList is not None: |