123 def __hgHisteditStart(self): |
123 def __hgHisteditStart(self): |
124 """ |
124 """ |
125 Private slot used to start a history editing session. |
125 Private slot used to start a history editing session. |
126 """ |
126 """ |
127 shouldReopen = ( |
127 shouldReopen = ( |
128 self.vcs.getExtensionObject("histedit") |
128 self.vcs.getExtensionObject("histedit").hgHisteditStart() |
129 .hgHisteditStart(self.project.getProjectPath()) |
|
130 ) |
129 ) |
131 if shouldReopen: |
130 if shouldReopen: |
132 res = E5MessageBox.yesNo( |
131 res = E5MessageBox.yesNo( |
133 None, |
132 None, |
134 self.tr("Start History Editing"), |
133 self.tr("Start History Editing"), |
140 def __hgHisteditContinue(self): |
139 def __hgHisteditContinue(self): |
141 """ |
140 """ |
142 Private slot used to continue an interrupted history editing session. |
141 Private slot used to continue an interrupted history editing session. |
143 """ |
142 """ |
144 shouldReopen = ( |
143 shouldReopen = ( |
145 self.vcs.getExtensionObject("histedit") |
144 self.vcs.getExtensionObject("histedit").hgHisteditContinue() |
146 .hgHisteditContinue(self.project.getProjectPath()) |
|
147 ) |
145 ) |
148 if shouldReopen: |
146 if shouldReopen: |
149 res = E5MessageBox.yesNo( |
147 res = E5MessageBox.yesNo( |
150 None, |
148 None, |
151 self.tr("Continue History Editing"), |
149 self.tr("Continue History Editing"), |
157 def __hgHisteditAbort(self): |
155 def __hgHisteditAbort(self): |
158 """ |
156 """ |
159 Private slot used to abort an interrupted history editing session. |
157 Private slot used to abort an interrupted history editing session. |
160 """ |
158 """ |
161 shouldReopen = ( |
159 shouldReopen = ( |
162 self.vcs.getExtensionObject("histedit") |
160 self.vcs.getExtensionObject("histedit").hgHisteditAbort() |
163 .hgHisteditAbort(self.project.getProjectPath()) |
|
164 ) |
161 ) |
165 if shouldReopen: |
162 if shouldReopen: |
166 res = E5MessageBox.yesNo( |
163 res = E5MessageBox.yesNo( |
167 None, |
164 None, |
168 self.tr("Abort History Editing"), |
165 self.tr("Abort History Editing"), |
175 """ |
172 """ |
176 Private slot used to edit the remaining actions list of an interrupted |
173 Private slot used to edit the remaining actions list of an interrupted |
177 history editing session. |
174 history editing session. |
178 """ |
175 """ |
179 shouldReopen = ( |
176 shouldReopen = ( |
180 self.vcs.getExtensionObject("histedit") |
177 self.vcs.getExtensionObject("histedit").hgHisteditEditPlan() |
181 .hgHisteditEditPlan(self.project.getProjectPath()) |
|
182 ) |
178 ) |
183 if shouldReopen: |
179 if shouldReopen: |
184 res = E5MessageBox.yesNo( |
180 res = E5MessageBox.yesNo( |
185 None, |
181 None, |
186 self.tr("Edit Plan"), |
182 self.tr("Edit Plan"), |