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

branch
maintenance
changeset 8176
31965986ecd1
parent 8043
0acf98cd089a
parent 8143
2c730d5fd177
child 8273
698ae46f40a4
equal deleted inserted replaced
8153:e01ae92db699 8176:31965986ecd1
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