eric6/Plugins/VcsPlugins/vcsMercurial/StripExtension/strip.py

changeset 8143
2c730d5fd177
parent 7970
c4ee8a81584c
child 8176
31965986ecd1
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
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")

eric ide

mercurial