|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.ProjectHelper</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.ProjectHelper</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the queues extension project helper. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#QueuesProjectHelper">QueuesProjectHelper</a></td> |
|
25 <td>Class implementing the queues extension project helper.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="QueuesProjectHelper" ID="QueuesProjectHelper"></a> |
|
36 <h2>QueuesProjectHelper</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing the queues extension project helper. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 HgExtensionProjectHelper |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#QueuesProjectHelper.__init__">QueuesProjectHelper</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#QueuesProjectHelper.__hgQueueActivateQueue">__hgQueueActivateQueue</a></td> |
|
63 <td>Private slot used to set the active queue.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#QueuesProjectHelper.__hgQueueCommit">__hgQueueCommit</a></td> |
|
67 <td>Private slot to commit changes in the queue repository.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#QueuesProjectHelper.__hgQueueCreateQueue">__hgQueueCreateQueue</a></td> |
|
71 <td>Private slot used to create a new queue.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#QueuesProjectHelper.__hgQueueDeletePatch">__hgQueueDeletePatch</a></td> |
|
75 <td>Private slot used to delete a patch.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#QueuesProjectHelper.__hgQueueDeleteQueue">__hgQueueDeleteQueue</a></td> |
|
79 <td>Private slot used to delete the reference to a queue.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#QueuesProjectHelper.__hgQueueFinishAppliedPatches">__hgQueueFinishAppliedPatches</a></td> |
|
83 <td>Private slot used to finish all applied patches.</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#QueuesProjectHelper.__hgQueueFoldUnappliedPatches">__hgQueueFoldUnappliedPatches</a></td> |
|
87 <td>Private slot used to fold patches into the current patch.</td> |
|
88 </tr> |
|
89 <tr> |
|
90 <td><a href="#QueuesProjectHelper.__hgQueueGotoPatch">__hgQueueGotoPatch</a></td> |
|
91 <td>Private slot used to push or pop patches until the a named one is at the top of the stack.</td> |
|
92 </tr> |
|
93 <tr> |
|
94 <td><a href="#QueuesProjectHelper.__hgQueueGotoPatchForced">__hgQueueGotoPatchForced</a></td> |
|
95 <td>Private slot used to push or pop patches until the a named one is at the top of the stack overwriting local changes.</td> |
|
96 </tr> |
|
97 <tr> |
|
98 <td><a href="#QueuesProjectHelper.__hgQueueGuardsDeactivate">__hgQueueGuardsDeactivate</a></td> |
|
99 <td>Private slot used to deactivate all active guards.</td> |
|
100 </tr> |
|
101 <tr> |
|
102 <td><a href="#QueuesProjectHelper.__hgQueueGuardsDefine">__hgQueueGuardsDefine</a></td> |
|
103 <td>Private slot used to define guards for the current or a named patch.</td> |
|
104 </tr> |
|
105 <tr> |
|
106 <td><a href="#QueuesProjectHelper.__hgQueueGuardsDropAll">__hgQueueGuardsDropAll</a></td> |
|
107 <td>Private slot used to drop all guards of the current or a named patch.</td> |
|
108 </tr> |
|
109 <tr> |
|
110 <td><a href="#QueuesProjectHelper.__hgQueueGuardsIdentifyActive">__hgQueueGuardsIdentifyActive</a></td> |
|
111 <td>Private slot used to list all active guards.</td> |
|
112 </tr> |
|
113 <tr> |
|
114 <td><a href="#QueuesProjectHelper.__hgQueueGuardsList">__hgQueueGuardsList</a></td> |
|
115 <td>Private slot used to list the guards for the current or a named patch.</td> |
|
116 </tr> |
|
117 <tr> |
|
118 <td><a href="#QueuesProjectHelper.__hgQueueGuardsListAll">__hgQueueGuardsListAll</a></td> |
|
119 <td>Private slot used to list all guards of all patches.</td> |
|
120 </tr> |
|
121 <tr> |
|
122 <td><a href="#QueuesProjectHelper.__hgQueueGuardsSetActive">__hgQueueGuardsSetActive</a></td> |
|
123 <td>Private slot used to set the active guards.</td> |
|
124 </tr> |
|
125 <tr> |
|
126 <td><a href="#QueuesProjectHelper.__hgQueueInit">__hgQueueInit</a></td> |
|
127 <td>Private slot to initialize a new queue repository.</td> |
|
128 </tr> |
|
129 <tr> |
|
130 <td><a href="#QueuesProjectHelper.__hgQueueListPatches">__hgQueueListPatches</a></td> |
|
131 <td>Private slot used to show a list of applied and unapplied patches.</td> |
|
132 </tr> |
|
133 <tr> |
|
134 <td><a href="#QueuesProjectHelper.__hgQueueListQueues">__hgQueueListQueues</a></td> |
|
135 <td>Private slot used to list available queues.</td> |
|
136 </tr> |
|
137 <tr> |
|
138 <td><a href="#QueuesProjectHelper.__hgQueueNewPatch">__hgQueueNewPatch</a></td> |
|
139 <td>Private slot used to create a new named patch.</td> |
|
140 </tr> |
|
141 <tr> |
|
142 <td><a href="#QueuesProjectHelper.__hgQueuePopAllPatches">__hgQueuePopAllPatches</a></td> |
|
143 <td>Private slot used to pop all patches off the stack.</td> |
|
144 </tr> |
|
145 <tr> |
|
146 <td><a href="#QueuesProjectHelper.__hgQueuePopAllPatchesForced">__hgQueuePopAllPatchesForced</a></td> |
|
147 <td>Private slot used to pop all patches off the stack forgetting any local changes to patched files.</td> |
|
148 </tr> |
|
149 <tr> |
|
150 <td><a href="#QueuesProjectHelper.__hgQueuePopPatch">__hgQueuePopPatch</a></td> |
|
151 <td>Private slot used to pop the current patch off the stack.</td> |
|
152 </tr> |
|
153 <tr> |
|
154 <td><a href="#QueuesProjectHelper.__hgQueuePopPatchForced">__hgQueuePopPatchForced</a></td> |
|
155 <td>Private slot used to pop the current patch off the stack forgetting any local changes to patched files.</td> |
|
156 </tr> |
|
157 <tr> |
|
158 <td><a href="#QueuesProjectHelper.__hgQueuePopPatches">__hgQueuePopPatches</a></td> |
|
159 <td>Private slot used to pop patches off the stack until a named one is at the top.</td> |
|
160 </tr> |
|
161 <tr> |
|
162 <td><a href="#QueuesProjectHelper.__hgQueuePopPatchesForced">__hgQueuePopPatchesForced</a></td> |
|
163 <td>Private slot used to pop patches off the stack until a named one is at the top forgetting any local changes to patched files.</td> |
|
164 </tr> |
|
165 <tr> |
|
166 <td><a href="#QueuesProjectHelper.__hgQueuePurgeQueue">__hgQueuePurgeQueue</a></td> |
|
167 <td>Private slot used to delete the reference to a queue and remove the patch directory.</td> |
|
168 </tr> |
|
169 <tr> |
|
170 <td><a href="#QueuesProjectHelper.__hgQueuePushAllPatches">__hgQueuePushAllPatches</a></td> |
|
171 <td>Private slot used to push all patches onto the stack.</td> |
|
172 </tr> |
|
173 <tr> |
|
174 <td><a href="#QueuesProjectHelper.__hgQueuePushAllPatchesForced">__hgQueuePushAllPatchesForced</a></td> |
|
175 <td>Private slot used to push all patches onto the stack on top of local changes.</td> |
|
176 </tr> |
|
177 <tr> |
|
178 <td><a href="#QueuesProjectHelper.__hgQueuePushPatch">__hgQueuePushPatch</a></td> |
|
179 <td>Private slot used to push the next patch onto the stack.</td> |
|
180 </tr> |
|
181 <tr> |
|
182 <td><a href="#QueuesProjectHelper.__hgQueuePushPatchForced">__hgQueuePushPatchForced</a></td> |
|
183 <td>Private slot used to push the next patch onto the stack on top of local changes.</td> |
|
184 </tr> |
|
185 <tr> |
|
186 <td><a href="#QueuesProjectHelper.__hgQueuePushPatches">__hgQueuePushPatches</a></td> |
|
187 <td>Private slot used to push patches onto the stack until a named one is at the top.</td> |
|
188 </tr> |
|
189 <tr> |
|
190 <td><a href="#QueuesProjectHelper.__hgQueuePushPatchesForced">__hgQueuePushPatchesForced</a></td> |
|
191 <td>Private slot used to push patches onto the stack until a named one is at the top on top of local changes.</td> |
|
192 </tr> |
|
193 <tr> |
|
194 <td><a href="#QueuesProjectHelper.__hgQueuePushPopPatches">__hgQueuePushPopPatches</a></td> |
|
195 <td>Private method to push patches onto the stack or pop patches off the stack.</td> |
|
196 </tr> |
|
197 <tr> |
|
198 <td><a href="#QueuesProjectHelper.__hgQueueRefreshPatch">__hgQueueRefreshPatch</a></td> |
|
199 <td>Private slot used to refresh the current patch.</td> |
|
200 </tr> |
|
201 <tr> |
|
202 <td><a href="#QueuesProjectHelper.__hgQueueRefreshPatchMessage">__hgQueueRefreshPatchMessage</a></td> |
|
203 <td>Private slot used to refresh the current patch and its commit message.</td> |
|
204 </tr> |
|
205 <tr> |
|
206 <td><a href="#QueuesProjectHelper.__hgQueueRenamePatch">__hgQueueRenamePatch</a></td> |
|
207 <td>Private slot used to rename a patch.</td> |
|
208 </tr> |
|
209 <tr> |
|
210 <td><a href="#QueuesProjectHelper.__hgQueueRenameQueue">__hgQueueRenameQueue</a></td> |
|
211 <td>Private slot used to rename the active queue.</td> |
|
212 </tr> |
|
213 <tr> |
|
214 <td><a href="#QueuesProjectHelper.__hgQueueShowHeader">__hgQueueShowHeader</a></td> |
|
215 <td>Private slot used to show the commit message of the current patch.</td> |
|
216 </tr> |
|
217 <tr> |
|
218 <td><a href="#QueuesProjectHelper.__hgQueueShowPatch">__hgQueueShowPatch</a></td> |
|
219 <td>Private slot used to show the contents of the current patch.</td> |
|
220 </tr> |
|
221 <tr> |
|
222 <td><a href="#QueuesProjectHelper.__hgQueueStatus">__hgQueueStatus</a></td> |
|
223 <td>Private slot to show the status of the queue repository.</td> |
|
224 </tr> |
|
225 <tr> |
|
226 <td><a href="#QueuesProjectHelper.__hgQueueSummary">__hgQueueSummary</a></td> |
|
227 <td>Private slot to show a summary of the queue repository.</td> |
|
228 </tr> |
|
229 <tr> |
|
230 <td><a href="#QueuesProjectHelper.__initGuardsActions">__initGuardsActions</a></td> |
|
231 <td>Private method to generate the guards action objects.</td> |
|
232 </tr> |
|
233 <tr> |
|
234 <td><a href="#QueuesProjectHelper.__initPushPopActions">__initPushPopActions</a></td> |
|
235 <td>Private method to generate the push and pop action objects.</td> |
|
236 </tr> |
|
237 <tr> |
|
238 <td><a href="#QueuesProjectHelper.__initPushPopForceActions">__initPushPopForceActions</a></td> |
|
239 <td>Private method to generate the push and pop (force) action objects.</td> |
|
240 </tr> |
|
241 <tr> |
|
242 <td><a href="#QueuesProjectHelper.__initQueuesMgmtActions">__initQueuesMgmtActions</a></td> |
|
243 <td>Private method to generate the queues management action objects.</td> |
|
244 </tr> |
|
245 <tr> |
|
246 <td><a href="#QueuesProjectHelper.initActions">initActions</a></td> |
|
247 <td>Public method to generate the action objects.</td> |
|
248 </tr> |
|
249 <tr> |
|
250 <td><a href="#QueuesProjectHelper.initMenu">initMenu</a></td> |
|
251 <td>Public method to generate the extension menu.</td> |
|
252 </tr> |
|
253 <tr> |
|
254 <td><a href="#QueuesProjectHelper.menuTitle">menuTitle</a></td> |
|
255 <td>Public method to get the menu title.</td> |
|
256 </tr> |
|
257 </table> |
|
258 <h3>Static Methods</h3> |
|
259 |
|
260 <table> |
|
261 <tr><td>None</td></tr> |
|
262 </table> |
|
263 |
|
264 <a NAME="QueuesProjectHelper.__init__" ID="QueuesProjectHelper.__init__"></a> |
|
265 <h4>QueuesProjectHelper (Constructor)</h4> |
|
266 <b>QueuesProjectHelper</b>(<i></i>) |
|
267 |
|
268 <p> |
|
269 Constructor |
|
270 </p> |
|
271 <a NAME="QueuesProjectHelper.__hgQueueActivateQueue" ID="QueuesProjectHelper.__hgQueueActivateQueue"></a> |
|
272 <h4>QueuesProjectHelper.__hgQueueActivateQueue</h4> |
|
273 <b>__hgQueueActivateQueue</b>(<i></i>) |
|
274 |
|
275 <p> |
|
276 Private slot used to set the active queue. |
|
277 </p> |
|
278 <a NAME="QueuesProjectHelper.__hgQueueCommit" ID="QueuesProjectHelper.__hgQueueCommit"></a> |
|
279 <h4>QueuesProjectHelper.__hgQueueCommit</h4> |
|
280 <b>__hgQueueCommit</b>(<i></i>) |
|
281 |
|
282 <p> |
|
283 Private slot to commit changes in the queue repository. |
|
284 </p> |
|
285 <a NAME="QueuesProjectHelper.__hgQueueCreateQueue" ID="QueuesProjectHelper.__hgQueueCreateQueue"></a> |
|
286 <h4>QueuesProjectHelper.__hgQueueCreateQueue</h4> |
|
287 <b>__hgQueueCreateQueue</b>(<i></i>) |
|
288 |
|
289 <p> |
|
290 Private slot used to create a new queue. |
|
291 </p> |
|
292 <a NAME="QueuesProjectHelper.__hgQueueDeletePatch" ID="QueuesProjectHelper.__hgQueueDeletePatch"></a> |
|
293 <h4>QueuesProjectHelper.__hgQueueDeletePatch</h4> |
|
294 <b>__hgQueueDeletePatch</b>(<i></i>) |
|
295 |
|
296 <p> |
|
297 Private slot used to delete a patch. |
|
298 </p> |
|
299 <a NAME="QueuesProjectHelper.__hgQueueDeleteQueue" ID="QueuesProjectHelper.__hgQueueDeleteQueue"></a> |
|
300 <h4>QueuesProjectHelper.__hgQueueDeleteQueue</h4> |
|
301 <b>__hgQueueDeleteQueue</b>(<i></i>) |
|
302 |
|
303 <p> |
|
304 Private slot used to delete the reference to a queue. |
|
305 </p> |
|
306 <a NAME="QueuesProjectHelper.__hgQueueFinishAppliedPatches" ID="QueuesProjectHelper.__hgQueueFinishAppliedPatches"></a> |
|
307 <h4>QueuesProjectHelper.__hgQueueFinishAppliedPatches</h4> |
|
308 <b>__hgQueueFinishAppliedPatches</b>(<i></i>) |
|
309 |
|
310 <p> |
|
311 Private slot used to finish all applied patches. |
|
312 </p> |
|
313 <a NAME="QueuesProjectHelper.__hgQueueFoldUnappliedPatches" ID="QueuesProjectHelper.__hgQueueFoldUnappliedPatches"></a> |
|
314 <h4>QueuesProjectHelper.__hgQueueFoldUnappliedPatches</h4> |
|
315 <b>__hgQueueFoldUnappliedPatches</b>(<i></i>) |
|
316 |
|
317 <p> |
|
318 Private slot used to fold patches into the current patch. |
|
319 </p> |
|
320 <a NAME="QueuesProjectHelper.__hgQueueGotoPatch" ID="QueuesProjectHelper.__hgQueueGotoPatch"></a> |
|
321 <h4>QueuesProjectHelper.__hgQueueGotoPatch</h4> |
|
322 <b>__hgQueueGotoPatch</b>(<i></i>) |
|
323 |
|
324 <p> |
|
325 Private slot used to push or pop patches until the a named one |
|
326 is at the top of the stack. |
|
327 </p> |
|
328 <a NAME="QueuesProjectHelper.__hgQueueGotoPatchForced" ID="QueuesProjectHelper.__hgQueueGotoPatchForced"></a> |
|
329 <h4>QueuesProjectHelper.__hgQueueGotoPatchForced</h4> |
|
330 <b>__hgQueueGotoPatchForced</b>(<i></i>) |
|
331 |
|
332 <p> |
|
333 Private slot used to push or pop patches until the a named one |
|
334 is at the top of the stack overwriting local changes. |
|
335 </p> |
|
336 <a NAME="QueuesProjectHelper.__hgQueueGuardsDeactivate" ID="QueuesProjectHelper.__hgQueueGuardsDeactivate"></a> |
|
337 <h4>QueuesProjectHelper.__hgQueueGuardsDeactivate</h4> |
|
338 <b>__hgQueueGuardsDeactivate</b>(<i></i>) |
|
339 |
|
340 <p> |
|
341 Private slot used to deactivate all active guards. |
|
342 </p> |
|
343 <a NAME="QueuesProjectHelper.__hgQueueGuardsDefine" ID="QueuesProjectHelper.__hgQueueGuardsDefine"></a> |
|
344 <h4>QueuesProjectHelper.__hgQueueGuardsDefine</h4> |
|
345 <b>__hgQueueGuardsDefine</b>(<i></i>) |
|
346 |
|
347 <p> |
|
348 Private slot used to define guards for the current or a named patch. |
|
349 </p> |
|
350 <a NAME="QueuesProjectHelper.__hgQueueGuardsDropAll" ID="QueuesProjectHelper.__hgQueueGuardsDropAll"></a> |
|
351 <h4>QueuesProjectHelper.__hgQueueGuardsDropAll</h4> |
|
352 <b>__hgQueueGuardsDropAll</b>(<i></i>) |
|
353 |
|
354 <p> |
|
355 Private slot used to drop all guards of the current or a named patch. |
|
356 </p> |
|
357 <a NAME="QueuesProjectHelper.__hgQueueGuardsIdentifyActive" ID="QueuesProjectHelper.__hgQueueGuardsIdentifyActive"></a> |
|
358 <h4>QueuesProjectHelper.__hgQueueGuardsIdentifyActive</h4> |
|
359 <b>__hgQueueGuardsIdentifyActive</b>(<i></i>) |
|
360 |
|
361 <p> |
|
362 Private slot used to list all active guards. |
|
363 </p> |
|
364 <a NAME="QueuesProjectHelper.__hgQueueGuardsList" ID="QueuesProjectHelper.__hgQueueGuardsList"></a> |
|
365 <h4>QueuesProjectHelper.__hgQueueGuardsList</h4> |
|
366 <b>__hgQueueGuardsList</b>(<i></i>) |
|
367 |
|
368 <p> |
|
369 Private slot used to list the guards for the current or a named patch. |
|
370 </p> |
|
371 <a NAME="QueuesProjectHelper.__hgQueueGuardsListAll" ID="QueuesProjectHelper.__hgQueueGuardsListAll"></a> |
|
372 <h4>QueuesProjectHelper.__hgQueueGuardsListAll</h4> |
|
373 <b>__hgQueueGuardsListAll</b>(<i></i>) |
|
374 |
|
375 <p> |
|
376 Private slot used to list all guards of all patches. |
|
377 </p> |
|
378 <a NAME="QueuesProjectHelper.__hgQueueGuardsSetActive" ID="QueuesProjectHelper.__hgQueueGuardsSetActive"></a> |
|
379 <h4>QueuesProjectHelper.__hgQueueGuardsSetActive</h4> |
|
380 <b>__hgQueueGuardsSetActive</b>(<i></i>) |
|
381 |
|
382 <p> |
|
383 Private slot used to set the active guards. |
|
384 </p> |
|
385 <a NAME="QueuesProjectHelper.__hgQueueInit" ID="QueuesProjectHelper.__hgQueueInit"></a> |
|
386 <h4>QueuesProjectHelper.__hgQueueInit</h4> |
|
387 <b>__hgQueueInit</b>(<i></i>) |
|
388 |
|
389 <p> |
|
390 Private slot to initialize a new queue repository. |
|
391 </p> |
|
392 <a NAME="QueuesProjectHelper.__hgQueueListPatches" ID="QueuesProjectHelper.__hgQueueListPatches"></a> |
|
393 <h4>QueuesProjectHelper.__hgQueueListPatches</h4> |
|
394 <b>__hgQueueListPatches</b>(<i></i>) |
|
395 |
|
396 <p> |
|
397 Private slot used to show a list of applied and unapplied patches. |
|
398 </p> |
|
399 <a NAME="QueuesProjectHelper.__hgQueueListQueues" ID="QueuesProjectHelper.__hgQueueListQueues"></a> |
|
400 <h4>QueuesProjectHelper.__hgQueueListQueues</h4> |
|
401 <b>__hgQueueListQueues</b>(<i></i>) |
|
402 |
|
403 <p> |
|
404 Private slot used to list available queues. |
|
405 </p> |
|
406 <a NAME="QueuesProjectHelper.__hgQueueNewPatch" ID="QueuesProjectHelper.__hgQueueNewPatch"></a> |
|
407 <h4>QueuesProjectHelper.__hgQueueNewPatch</h4> |
|
408 <b>__hgQueueNewPatch</b>(<i></i>) |
|
409 |
|
410 <p> |
|
411 Private slot used to create a new named patch. |
|
412 </p> |
|
413 <a NAME="QueuesProjectHelper.__hgQueuePopAllPatches" ID="QueuesProjectHelper.__hgQueuePopAllPatches"></a> |
|
414 <h4>QueuesProjectHelper.__hgQueuePopAllPatches</h4> |
|
415 <b>__hgQueuePopAllPatches</b>(<i></i>) |
|
416 |
|
417 <p> |
|
418 Private slot used to pop all patches off the stack. |
|
419 </p> |
|
420 <a NAME="QueuesProjectHelper.__hgQueuePopAllPatchesForced" ID="QueuesProjectHelper.__hgQueuePopAllPatchesForced"></a> |
|
421 <h4>QueuesProjectHelper.__hgQueuePopAllPatchesForced</h4> |
|
422 <b>__hgQueuePopAllPatchesForced</b>(<i></i>) |
|
423 |
|
424 <p> |
|
425 Private slot used to pop all patches off the stack forgetting |
|
426 any local changes to patched files. |
|
427 </p> |
|
428 <a NAME="QueuesProjectHelper.__hgQueuePopPatch" ID="QueuesProjectHelper.__hgQueuePopPatch"></a> |
|
429 <h4>QueuesProjectHelper.__hgQueuePopPatch</h4> |
|
430 <b>__hgQueuePopPatch</b>(<i></i>) |
|
431 |
|
432 <p> |
|
433 Private slot used to pop the current patch off the stack. |
|
434 </p> |
|
435 <a NAME="QueuesProjectHelper.__hgQueuePopPatchForced" ID="QueuesProjectHelper.__hgQueuePopPatchForced"></a> |
|
436 <h4>QueuesProjectHelper.__hgQueuePopPatchForced</h4> |
|
437 <b>__hgQueuePopPatchForced</b>(<i></i>) |
|
438 |
|
439 <p> |
|
440 Private slot used to pop the current patch off the stack forgetting |
|
441 any local changes to patched files. |
|
442 </p> |
|
443 <a NAME="QueuesProjectHelper.__hgQueuePopPatches" ID="QueuesProjectHelper.__hgQueuePopPatches"></a> |
|
444 <h4>QueuesProjectHelper.__hgQueuePopPatches</h4> |
|
445 <b>__hgQueuePopPatches</b>(<i></i>) |
|
446 |
|
447 <p> |
|
448 Private slot used to pop patches off the stack until a named |
|
449 one is at the top. |
|
450 </p> |
|
451 <a NAME="QueuesProjectHelper.__hgQueuePopPatchesForced" ID="QueuesProjectHelper.__hgQueuePopPatchesForced"></a> |
|
452 <h4>QueuesProjectHelper.__hgQueuePopPatchesForced</h4> |
|
453 <b>__hgQueuePopPatchesForced</b>(<i></i>) |
|
454 |
|
455 <p> |
|
456 Private slot used to pop patches off the stack until a named |
|
457 one is at the top forgetting any local changes to patched files. |
|
458 </p> |
|
459 <a NAME="QueuesProjectHelper.__hgQueuePurgeQueue" ID="QueuesProjectHelper.__hgQueuePurgeQueue"></a> |
|
460 <h4>QueuesProjectHelper.__hgQueuePurgeQueue</h4> |
|
461 <b>__hgQueuePurgeQueue</b>(<i></i>) |
|
462 |
|
463 <p> |
|
464 Private slot used to delete the reference to a queue and remove |
|
465 the patch directory. |
|
466 </p> |
|
467 <a NAME="QueuesProjectHelper.__hgQueuePushAllPatches" ID="QueuesProjectHelper.__hgQueuePushAllPatches"></a> |
|
468 <h4>QueuesProjectHelper.__hgQueuePushAllPatches</h4> |
|
469 <b>__hgQueuePushAllPatches</b>(<i></i>) |
|
470 |
|
471 <p> |
|
472 Private slot used to push all patches onto the stack. |
|
473 </p> |
|
474 <a NAME="QueuesProjectHelper.__hgQueuePushAllPatchesForced" ID="QueuesProjectHelper.__hgQueuePushAllPatchesForced"></a> |
|
475 <h4>QueuesProjectHelper.__hgQueuePushAllPatchesForced</h4> |
|
476 <b>__hgQueuePushAllPatchesForced</b>(<i></i>) |
|
477 |
|
478 <p> |
|
479 Private slot used to push all patches onto the stack on top |
|
480 of local changes. |
|
481 </p> |
|
482 <a NAME="QueuesProjectHelper.__hgQueuePushPatch" ID="QueuesProjectHelper.__hgQueuePushPatch"></a> |
|
483 <h4>QueuesProjectHelper.__hgQueuePushPatch</h4> |
|
484 <b>__hgQueuePushPatch</b>(<i></i>) |
|
485 |
|
486 <p> |
|
487 Private slot used to push the next patch onto the stack. |
|
488 </p> |
|
489 <a NAME="QueuesProjectHelper.__hgQueuePushPatchForced" ID="QueuesProjectHelper.__hgQueuePushPatchForced"></a> |
|
490 <h4>QueuesProjectHelper.__hgQueuePushPatchForced</h4> |
|
491 <b>__hgQueuePushPatchForced</b>(<i></i>) |
|
492 |
|
493 <p> |
|
494 Private slot used to push the next patch onto the stack on top |
|
495 of local changes. |
|
496 </p> |
|
497 <a NAME="QueuesProjectHelper.__hgQueuePushPatches" ID="QueuesProjectHelper.__hgQueuePushPatches"></a> |
|
498 <h4>QueuesProjectHelper.__hgQueuePushPatches</h4> |
|
499 <b>__hgQueuePushPatches</b>(<i></i>) |
|
500 |
|
501 <p> |
|
502 Private slot used to push patches onto the stack until a named |
|
503 one is at the top. |
|
504 </p> |
|
505 <a NAME="QueuesProjectHelper.__hgQueuePushPatchesForced" ID="QueuesProjectHelper.__hgQueuePushPatchesForced"></a> |
|
506 <h4>QueuesProjectHelper.__hgQueuePushPatchesForced</h4> |
|
507 <b>__hgQueuePushPatchesForced</b>(<i></i>) |
|
508 |
|
509 <p> |
|
510 Private slot used to push patches onto the stack until a named |
|
511 one is at the top on top of local changes. |
|
512 </p> |
|
513 <a NAME="QueuesProjectHelper.__hgQueuePushPopPatches" ID="QueuesProjectHelper.__hgQueuePushPopPatches"></a> |
|
514 <h4>QueuesProjectHelper.__hgQueuePushPopPatches</h4> |
|
515 <b>__hgQueuePushPopPatches</b>(<i>operation, doAll=False, named=False, force=False</i>) |
|
516 |
|
517 <p> |
|
518 Private method to push patches onto the stack or pop patches off the |
|
519 stack. |
|
520 </p> |
|
521 <dl> |
|
522 |
|
523 <dt><i>operation</i></dt> |
|
524 <dd> |
|
525 operation type to be performed (Queues.POP, |
|
526 Queues.PUSH, Queues.GOTO) |
|
527 </dd> |
|
528 <dt><i>doAll</i></dt> |
|
529 <dd> |
|
530 flag indicating to push/pop all (boolean) |
|
531 </dd> |
|
532 <dt><i>named</i></dt> |
|
533 <dd> |
|
534 flag indicating to push/pop until a named patch |
|
535 is at the top of the stack (boolean) |
|
536 </dd> |
|
537 <dt><i>force</i></dt> |
|
538 <dd> |
|
539 flag indicating a forceful pop (boolean) |
|
540 </dd> |
|
541 </dl> |
|
542 <a NAME="QueuesProjectHelper.__hgQueueRefreshPatch" ID="QueuesProjectHelper.__hgQueueRefreshPatch"></a> |
|
543 <h4>QueuesProjectHelper.__hgQueueRefreshPatch</h4> |
|
544 <b>__hgQueueRefreshPatch</b>(<i></i>) |
|
545 |
|
546 <p> |
|
547 Private slot used to refresh the current patch. |
|
548 </p> |
|
549 <a NAME="QueuesProjectHelper.__hgQueueRefreshPatchMessage" ID="QueuesProjectHelper.__hgQueueRefreshPatchMessage"></a> |
|
550 <h4>QueuesProjectHelper.__hgQueueRefreshPatchMessage</h4> |
|
551 <b>__hgQueueRefreshPatchMessage</b>(<i></i>) |
|
552 |
|
553 <p> |
|
554 Private slot used to refresh the current patch and its commit message. |
|
555 </p> |
|
556 <a NAME="QueuesProjectHelper.__hgQueueRenamePatch" ID="QueuesProjectHelper.__hgQueueRenamePatch"></a> |
|
557 <h4>QueuesProjectHelper.__hgQueueRenamePatch</h4> |
|
558 <b>__hgQueueRenamePatch</b>(<i></i>) |
|
559 |
|
560 <p> |
|
561 Private slot used to rename a patch. |
|
562 </p> |
|
563 <a NAME="QueuesProjectHelper.__hgQueueRenameQueue" ID="QueuesProjectHelper.__hgQueueRenameQueue"></a> |
|
564 <h4>QueuesProjectHelper.__hgQueueRenameQueue</h4> |
|
565 <b>__hgQueueRenameQueue</b>(<i></i>) |
|
566 |
|
567 <p> |
|
568 Private slot used to rename the active queue. |
|
569 </p> |
|
570 <a NAME="QueuesProjectHelper.__hgQueueShowHeader" ID="QueuesProjectHelper.__hgQueueShowHeader"></a> |
|
571 <h4>QueuesProjectHelper.__hgQueueShowHeader</h4> |
|
572 <b>__hgQueueShowHeader</b>(<i></i>) |
|
573 |
|
574 <p> |
|
575 Private slot used to show the commit message of the current patch. |
|
576 </p> |
|
577 <a NAME="QueuesProjectHelper.__hgQueueShowPatch" ID="QueuesProjectHelper.__hgQueueShowPatch"></a> |
|
578 <h4>QueuesProjectHelper.__hgQueueShowPatch</h4> |
|
579 <b>__hgQueueShowPatch</b>(<i></i>) |
|
580 |
|
581 <p> |
|
582 Private slot used to show the contents of the current patch. |
|
583 </p> |
|
584 <a NAME="QueuesProjectHelper.__hgQueueStatus" ID="QueuesProjectHelper.__hgQueueStatus"></a> |
|
585 <h4>QueuesProjectHelper.__hgQueueStatus</h4> |
|
586 <b>__hgQueueStatus</b>(<i></i>) |
|
587 |
|
588 <p> |
|
589 Private slot to show the status of the queue repository. |
|
590 </p> |
|
591 <a NAME="QueuesProjectHelper.__hgQueueSummary" ID="QueuesProjectHelper.__hgQueueSummary"></a> |
|
592 <h4>QueuesProjectHelper.__hgQueueSummary</h4> |
|
593 <b>__hgQueueSummary</b>(<i></i>) |
|
594 |
|
595 <p> |
|
596 Private slot to show a summary of the queue repository. |
|
597 </p> |
|
598 <a NAME="QueuesProjectHelper.__initGuardsActions" ID="QueuesProjectHelper.__initGuardsActions"></a> |
|
599 <h4>QueuesProjectHelper.__initGuardsActions</h4> |
|
600 <b>__initGuardsActions</b>(<i></i>) |
|
601 |
|
602 <p> |
|
603 Private method to generate the guards action objects. |
|
604 </p> |
|
605 <a NAME="QueuesProjectHelper.__initPushPopActions" ID="QueuesProjectHelper.__initPushPopActions"></a> |
|
606 <h4>QueuesProjectHelper.__initPushPopActions</h4> |
|
607 <b>__initPushPopActions</b>(<i></i>) |
|
608 |
|
609 <p> |
|
610 Private method to generate the push and pop action objects. |
|
611 </p> |
|
612 <a NAME="QueuesProjectHelper.__initPushPopForceActions" ID="QueuesProjectHelper.__initPushPopForceActions"></a> |
|
613 <h4>QueuesProjectHelper.__initPushPopForceActions</h4> |
|
614 <b>__initPushPopForceActions</b>(<i></i>) |
|
615 |
|
616 <p> |
|
617 Private method to generate the push and pop (force) action objects. |
|
618 </p> |
|
619 <a NAME="QueuesProjectHelper.__initQueuesMgmtActions" ID="QueuesProjectHelper.__initQueuesMgmtActions"></a> |
|
620 <h4>QueuesProjectHelper.__initQueuesMgmtActions</h4> |
|
621 <b>__initQueuesMgmtActions</b>(<i></i>) |
|
622 |
|
623 <p> |
|
624 Private method to generate the queues management action objects. |
|
625 </p> |
|
626 <a NAME="QueuesProjectHelper.initActions" ID="QueuesProjectHelper.initActions"></a> |
|
627 <h4>QueuesProjectHelper.initActions</h4> |
|
628 <b>initActions</b>(<i></i>) |
|
629 |
|
630 <p> |
|
631 Public method to generate the action objects. |
|
632 </p> |
|
633 <a NAME="QueuesProjectHelper.initMenu" ID="QueuesProjectHelper.initMenu"></a> |
|
634 <h4>QueuesProjectHelper.initMenu</h4> |
|
635 <b>initMenu</b>(<i>mainMenu</i>) |
|
636 |
|
637 <p> |
|
638 Public method to generate the extension menu. |
|
639 </p> |
|
640 <dl> |
|
641 |
|
642 <dt><i>mainMenu</i></dt> |
|
643 <dd> |
|
644 reference to the main menu (QMenu) |
|
645 </dd> |
|
646 </dl> |
|
647 <dl> |
|
648 <dt>Return:</dt> |
|
649 <dd> |
|
650 populated menu (QMenu) |
|
651 </dd> |
|
652 </dl> |
|
653 <a NAME="QueuesProjectHelper.menuTitle" ID="QueuesProjectHelper.menuTitle"></a> |
|
654 <h4>QueuesProjectHelper.menuTitle</h4> |
|
655 <b>menuTitle</b>(<i></i>) |
|
656 |
|
657 <p> |
|
658 Public method to get the menu title. |
|
659 </p> |
|
660 <dl> |
|
661 <dt>Return:</dt> |
|
662 <dd> |
|
663 title of the menu (string) |
|
664 </dd> |
|
665 </dl> |
|
666 <div align="right"><a href="#top">Up</a></div> |
|
667 <hr /> |
|
668 </body></html> |