39 res = False |
39 res = False |
40 dlg = HgStripDialog(self.vcs.hgGetTagsList(), |
40 dlg = HgStripDialog(self.vcs.hgGetTagsList(), |
41 self.vcs.hgGetBranchesList(), |
41 self.vcs.hgGetBranchesList(), |
42 self.vcs.hgGetBookmarksList(), |
42 self.vcs.hgGetBookmarksList(), |
43 rev) |
43 rev) |
44 if dlg.exec() == QDialog.Accepted: |
44 if dlg.exec() == QDialog.DialogCode.Accepted: |
45 rev, bookmark, force, noBackup, keep = dlg.getData() |
45 rev, bookmark, force, noBackup, keep = dlg.getData() |
46 |
46 |
47 args = self.vcs.initCommand("strip") |
47 args = self.vcs.initCommand("strip") |
48 if bookmark: |
48 if bookmark: |
49 args.append("--bookmark") |
49 args.append("--bookmark") |