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

changeset 7257
c4d0cac9b5c9
parent 7229
53054eb5b15a
child 7360
9190402e4505
equal deleted inserted replaced
7256:4ef3b78ebb4e 7257:c4d0cac9b5c9
76 76
77 def __hgStrip(self): 77 def __hgStrip(self):
78 """ 78 """
79 Private slot used to strip revisions from a repository. 79 Private slot used to strip revisions from a repository.
80 """ 80 """
81 shouldReopen = self.vcs.getExtensionObject("strip")\ 81 shouldReopen = self.vcs.getExtensionObject("strip").hgStrip(
82 .hgStrip(self.project.getProjectPath()) 82 self.project.getProjectPath())
83 if shouldReopen: 83 if shouldReopen:
84 res = E5MessageBox.yesNo( 84 res = E5MessageBox.yesNo(
85 None, 85 None,
86 self.tr("Strip"), 86 self.tr("Strip"),
87 self.tr("""The project should be reread. Do this now?"""), 87 self.tr("""The project should be reread. Do this now?"""),

eric ide

mercurial