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?"""), |