56 self.vcsNewAct.setWhatsThis(self.tr( |
56 self.vcsNewAct.setWhatsThis(self.tr( |
57 """<b>New from repository</b>""" |
57 """<b>New from repository</b>""" |
58 """<p>This creates a new local project from the VCS""" |
58 """<p>This creates a new local project from the VCS""" |
59 """ repository.</p>""" |
59 """ repository.</p>""" |
60 )) |
60 )) |
61 self.vcsNewAct.triggered[()].connect(self._vcsCheckout) |
61 self.vcsNewAct.triggered.connect(self._vcsCheckout) |
62 self.actions.append(self.vcsNewAct) |
62 self.actions.append(self.vcsNewAct) |
63 |
63 |
64 self.vcsUpdateAct = E5Action( |
64 self.vcsUpdateAct = E5Action( |
65 self.tr('Update from repository'), |
65 self.tr('Update from repository'), |
66 UI.PixmapCache.getIcon("vcsUpdate.png"), |
66 UI.PixmapCache.getIcon("vcsUpdate.png"), |
72 self.vcsUpdateAct.setWhatsThis(self.tr( |
72 self.vcsUpdateAct.setWhatsThis(self.tr( |
73 """<b>Update from repository</b>""" |
73 """<b>Update from repository</b>""" |
74 """<p>This updates the local project from the VCS""" |
74 """<p>This updates the local project from the VCS""" |
75 """ repository.</p>""" |
75 """ repository.</p>""" |
76 )) |
76 )) |
77 self.vcsUpdateAct.triggered[()].connect(self._vcsUpdate) |
77 self.vcsUpdateAct.triggered.connect(self._vcsUpdate) |
78 self.actions.append(self.vcsUpdateAct) |
78 self.actions.append(self.vcsUpdateAct) |
79 |
79 |
80 self.vcsCommitAct = E5Action( |
80 self.vcsCommitAct = E5Action( |
81 self.tr('Commit changes to repository'), |
81 self.tr('Commit changes to repository'), |
82 UI.PixmapCache.getIcon("vcsCommit.png"), |
82 UI.PixmapCache.getIcon("vcsCommit.png"), |
88 self.vcsCommitAct.setWhatsThis(self.tr( |
88 self.vcsCommitAct.setWhatsThis(self.tr( |
89 """<b>Commit changes to repository</b>""" |
89 """<b>Commit changes to repository</b>""" |
90 """<p>This commits changes to the local project to the VCS""" |
90 """<p>This commits changes to the local project to the VCS""" |
91 """ repository.</p>""" |
91 """ repository.</p>""" |
92 )) |
92 )) |
93 self.vcsCommitAct.triggered[()].connect(self._vcsCommit) |
93 self.vcsCommitAct.triggered.connect(self._vcsCommit) |
94 self.actions.append(self.vcsCommitAct) |
94 self.actions.append(self.vcsCommitAct) |
95 |
95 |
96 self.vcsLogAct = E5Action( |
96 self.vcsLogAct = E5Action( |
97 self.tr('Show log'), |
97 self.tr('Show log'), |
98 UI.PixmapCache.getIcon("vcsLog.png"), |
98 UI.PixmapCache.getIcon("vcsLog.png"), |
103 )) |
103 )) |
104 self.vcsLogAct.setWhatsThis(self.tr( |
104 self.vcsLogAct.setWhatsThis(self.tr( |
105 """<b>Show log</b>""" |
105 """<b>Show log</b>""" |
106 """<p>This shows the log of the local project.</p>""" |
106 """<p>This shows the log of the local project.</p>""" |
107 )) |
107 )) |
108 self.vcsLogAct.triggered[()].connect(self._vcsLog) |
108 self.vcsLogAct.triggered.connect(self._vcsLog) |
109 self.actions.append(self.vcsLogAct) |
109 self.actions.append(self.vcsLogAct) |
110 |
110 |
111 self.svnLogBrowserAct = E5Action( |
111 self.svnLogBrowserAct = E5Action( |
112 self.tr('Show log browser'), |
112 self.tr('Show log browser'), |
113 UI.PixmapCache.getIcon("vcsLog.png"), |
113 UI.PixmapCache.getIcon("vcsLog.png"), |
120 """<b>Show log browser</b>""" |
120 """<b>Show log browser</b>""" |
121 """<p>This shows a dialog to browse the log of the local""" |
121 """<p>This shows a dialog to browse the log of the local""" |
122 """ project. A limited number of entries is shown first. More""" |
122 """ project. A limited number of entries is shown first. More""" |
123 """ can be retrieved later on.</p>""" |
123 """ can be retrieved later on.</p>""" |
124 )) |
124 )) |
125 self.svnLogBrowserAct.triggered[()].connect(self.__svnLogBrowser) |
125 self.svnLogBrowserAct.triggered.connect(self.__svnLogBrowser) |
126 self.actions.append(self.svnLogBrowserAct) |
126 self.actions.append(self.svnLogBrowserAct) |
127 |
127 |
128 self.vcsDiffAct = E5Action( |
128 self.vcsDiffAct = E5Action( |
129 self.tr('Show difference'), |
129 self.tr('Show difference'), |
130 UI.PixmapCache.getIcon("vcsDiff.png"), |
130 UI.PixmapCache.getIcon("vcsDiff.png"), |
136 self.vcsDiffAct.setWhatsThis(self.tr( |
136 self.vcsDiffAct.setWhatsThis(self.tr( |
137 """<b>Show difference</b>""" |
137 """<b>Show difference</b>""" |
138 """<p>This shows the difference of the local project to the""" |
138 """<p>This shows the difference of the local project to the""" |
139 """ repository.</p>""" |
139 """ repository.</p>""" |
140 )) |
140 )) |
141 self.vcsDiffAct.triggered[()].connect(self._vcsDiff) |
141 self.vcsDiffAct.triggered.connect(self._vcsDiff) |
142 self.actions.append(self.vcsDiffAct) |
142 self.actions.append(self.vcsDiffAct) |
143 |
143 |
144 self.svnExtDiffAct = E5Action( |
144 self.svnExtDiffAct = E5Action( |
145 self.tr('Show difference (extended)'), |
145 self.tr('Show difference (extended)'), |
146 UI.PixmapCache.getIcon("vcsDiff.png"), |
146 UI.PixmapCache.getIcon("vcsDiff.png"), |
152 self.svnExtDiffAct.setWhatsThis(self.tr( |
152 self.svnExtDiffAct.setWhatsThis(self.tr( |
153 """<b>Show difference (extended)</b>""" |
153 """<b>Show difference (extended)</b>""" |
154 """<p>This shows the difference of selectable revisions of""" |
154 """<p>This shows the difference of selectable revisions of""" |
155 """ the project.</p>""" |
155 """ the project.</p>""" |
156 )) |
156 )) |
157 self.svnExtDiffAct.triggered[()].connect(self.__svnExtendedDiff) |
157 self.svnExtDiffAct.triggered.connect(self.__svnExtendedDiff) |
158 self.actions.append(self.svnExtDiffAct) |
158 self.actions.append(self.svnExtDiffAct) |
159 |
159 |
160 self.svnUrlDiffAct = E5Action( |
160 self.svnUrlDiffAct = E5Action( |
161 self.tr('Show difference (URLs)'), |
161 self.tr('Show difference (URLs)'), |
162 UI.PixmapCache.getIcon("vcsDiff.png"), |
162 UI.PixmapCache.getIcon("vcsDiff.png"), |
168 self.svnUrlDiffAct.setWhatsThis(self.tr( |
168 self.svnUrlDiffAct.setWhatsThis(self.tr( |
169 """<b>Show difference (URLs)</b>""" |
169 """<b>Show difference (URLs)</b>""" |
170 """<p>This shows the difference of the project between""" |
170 """<p>This shows the difference of the project between""" |
171 """ two repository URLs.</p>""" |
171 """ two repository URLs.</p>""" |
172 )) |
172 )) |
173 self.svnUrlDiffAct.triggered[()].connect(self.__svnUrlDiff) |
173 self.svnUrlDiffAct.triggered.connect(self.__svnUrlDiff) |
174 self.actions.append(self.svnUrlDiffAct) |
174 self.actions.append(self.svnUrlDiffAct) |
175 |
175 |
176 self.vcsStatusAct = E5Action( |
176 self.vcsStatusAct = E5Action( |
177 self.tr('Show status'), |
177 self.tr('Show status'), |
178 UI.PixmapCache.getIcon("vcsStatus.png"), |
178 UI.PixmapCache.getIcon("vcsStatus.png"), |
183 )) |
183 )) |
184 self.vcsStatusAct.setWhatsThis(self.tr( |
184 self.vcsStatusAct.setWhatsThis(self.tr( |
185 """<b>Show status</b>""" |
185 """<b>Show status</b>""" |
186 """<p>This shows the status of the local project.</p>""" |
186 """<p>This shows the status of the local project.</p>""" |
187 )) |
187 )) |
188 self.vcsStatusAct.triggered[()].connect(self._vcsStatus) |
188 self.vcsStatusAct.triggered.connect(self._vcsStatus) |
189 self.actions.append(self.vcsStatusAct) |
189 self.actions.append(self.vcsStatusAct) |
190 |
190 |
191 self.svnChangeListsAct = E5Action( |
191 self.svnChangeListsAct = E5Action( |
192 self.tr('Show change lists'), |
192 self.tr('Show change lists'), |
193 UI.PixmapCache.getIcon("vcsChangeLists.png"), |
193 UI.PixmapCache.getIcon("vcsChangeLists.png"), |
199 self.svnChangeListsAct.setWhatsThis(self.tr( |
199 self.svnChangeListsAct.setWhatsThis(self.tr( |
200 """<b>Show change lists</b>""" |
200 """<b>Show change lists</b>""" |
201 """<p>This shows the change lists and associated files of the""" |
201 """<p>This shows the change lists and associated files of the""" |
202 """ local project.</p>""" |
202 """ local project.</p>""" |
203 )) |
203 )) |
204 self.svnChangeListsAct.triggered[()].connect(self.__svnChangeLists) |
204 self.svnChangeListsAct.triggered.connect(self.__svnChangeLists) |
205 self.actions.append(self.svnChangeListsAct) |
205 self.actions.append(self.svnChangeListsAct) |
206 |
206 |
207 self.svnRepoInfoAct = E5Action( |
207 self.svnRepoInfoAct = E5Action( |
208 self.tr('Show repository info'), |
208 self.tr('Show repository info'), |
209 UI.PixmapCache.getIcon("vcsRepo.png"), |
209 UI.PixmapCache.getIcon("vcsRepo.png"), |
215 self.svnRepoInfoAct.setWhatsThis(self.tr( |
215 self.svnRepoInfoAct.setWhatsThis(self.tr( |
216 """<b>Show repository info</b>""" |
216 """<b>Show repository info</b>""" |
217 """<p>This shows some repository related information for""" |
217 """<p>This shows some repository related information for""" |
218 """ the local project.</p>""" |
218 """ the local project.</p>""" |
219 )) |
219 )) |
220 self.svnRepoInfoAct.triggered[()].connect(self.__svnInfo) |
220 self.svnRepoInfoAct.triggered.connect(self.__svnInfo) |
221 self.actions.append(self.svnRepoInfoAct) |
221 self.actions.append(self.svnRepoInfoAct) |
222 |
222 |
223 self.vcsTagAct = E5Action( |
223 self.vcsTagAct = E5Action( |
224 self.tr('Tag in repository'), |
224 self.tr('Tag in repository'), |
225 UI.PixmapCache.getIcon("vcsTag.png"), |
225 UI.PixmapCache.getIcon("vcsTag.png"), |
230 )) |
230 )) |
231 self.vcsTagAct.setWhatsThis(self.tr( |
231 self.vcsTagAct.setWhatsThis(self.tr( |
232 """<b>Tag in repository</b>""" |
232 """<b>Tag in repository</b>""" |
233 """<p>This tags the local project in the repository.</p>""" |
233 """<p>This tags the local project in the repository.</p>""" |
234 )) |
234 )) |
235 self.vcsTagAct.triggered[()].connect(self._vcsTag) |
235 self.vcsTagAct.triggered.connect(self._vcsTag) |
236 self.actions.append(self.vcsTagAct) |
236 self.actions.append(self.vcsTagAct) |
237 |
237 |
238 self.vcsExportAct = E5Action( |
238 self.vcsExportAct = E5Action( |
239 self.tr('Export from repository'), |
239 self.tr('Export from repository'), |
240 UI.PixmapCache.getIcon("vcsExport.png"), |
240 UI.PixmapCache.getIcon("vcsExport.png"), |
245 )) |
245 )) |
246 self.vcsExportAct.setWhatsThis(self.tr( |
246 self.vcsExportAct.setWhatsThis(self.tr( |
247 """<b>Export from repository</b>""" |
247 """<b>Export from repository</b>""" |
248 """<p>This exports a project from the repository.</p>""" |
248 """<p>This exports a project from the repository.</p>""" |
249 )) |
249 )) |
250 self.vcsExportAct.triggered[()].connect(self._vcsExport) |
250 self.vcsExportAct.triggered.connect(self._vcsExport) |
251 self.actions.append(self.vcsExportAct) |
251 self.actions.append(self.vcsExportAct) |
252 |
252 |
253 self.vcsPropsAct = E5Action( |
253 self.vcsPropsAct = E5Action( |
254 self.tr('Command options'), |
254 self.tr('Command options'), |
255 self.tr('Command &options...'), 0, 0, self, |
255 self.tr('Command &options...'), 0, 0, self, |
258 'Show the VCS command options')) |
258 'Show the VCS command options')) |
259 self.vcsPropsAct.setWhatsThis(self.tr( |
259 self.vcsPropsAct.setWhatsThis(self.tr( |
260 """<b>Command options...</b>""" |
260 """<b>Command options...</b>""" |
261 """<p>This shows a dialog to edit the VCS command options.</p>""" |
261 """<p>This shows a dialog to edit the VCS command options.</p>""" |
262 )) |
262 )) |
263 self.vcsPropsAct.triggered[()].connect(self._vcsCommandOptions) |
263 self.vcsPropsAct.triggered.connect(self._vcsCommandOptions) |
264 self.actions.append(self.vcsPropsAct) |
264 self.actions.append(self.vcsPropsAct) |
265 |
265 |
266 self.vcsRevertAct = E5Action( |
266 self.vcsRevertAct = E5Action( |
267 self.tr('Revert changes'), |
267 self.tr('Revert changes'), |
268 UI.PixmapCache.getIcon("vcsRevert.png"), |
268 UI.PixmapCache.getIcon("vcsRevert.png"), |
273 )) |
273 )) |
274 self.vcsRevertAct.setWhatsThis(self.tr( |
274 self.vcsRevertAct.setWhatsThis(self.tr( |
275 """<b>Revert changes</b>""" |
275 """<b>Revert changes</b>""" |
276 """<p>This reverts all changes made to the local project.</p>""" |
276 """<p>This reverts all changes made to the local project.</p>""" |
277 )) |
277 )) |
278 self.vcsRevertAct.triggered[()].connect(self._vcsRevert) |
278 self.vcsRevertAct.triggered.connect(self._vcsRevert) |
279 self.actions.append(self.vcsRevertAct) |
279 self.actions.append(self.vcsRevertAct) |
280 |
280 |
281 self.vcsMergeAct = E5Action( |
281 self.vcsMergeAct = E5Action( |
282 self.tr('Merge'), |
282 self.tr('Merge'), |
283 UI.PixmapCache.getIcon("vcsMerge.png"), |
283 UI.PixmapCache.getIcon("vcsMerge.png"), |
289 self.vcsMergeAct.setWhatsThis(self.tr( |
289 self.vcsMergeAct.setWhatsThis(self.tr( |
290 """<b>Merge</b>""" |
290 """<b>Merge</b>""" |
291 """<p>This merges changes of a tag/revision into the local""" |
291 """<p>This merges changes of a tag/revision into the local""" |
292 """ project.</p>""" |
292 """ project.</p>""" |
293 )) |
293 )) |
294 self.vcsMergeAct.triggered[()].connect(self._vcsMerge) |
294 self.vcsMergeAct.triggered.connect(self._vcsMerge) |
295 self.actions.append(self.vcsMergeAct) |
295 self.actions.append(self.vcsMergeAct) |
296 |
296 |
297 self.vcsSwitchAct = E5Action( |
297 self.vcsSwitchAct = E5Action( |
298 self.tr('Switch'), |
298 self.tr('Switch'), |
299 UI.PixmapCache.getIcon("vcsSwitch.png"), |
299 UI.PixmapCache.getIcon("vcsSwitch.png"), |
304 )) |
304 )) |
305 self.vcsSwitchAct.setWhatsThis(self.tr( |
305 self.vcsSwitchAct.setWhatsThis(self.tr( |
306 """<b>Switch</b>""" |
306 """<b>Switch</b>""" |
307 """<p>This switches the local copy to another tag/branch.</p>""" |
307 """<p>This switches the local copy to another tag/branch.</p>""" |
308 )) |
308 )) |
309 self.vcsSwitchAct.triggered[()].connect(self._vcsSwitch) |
309 self.vcsSwitchAct.triggered.connect(self._vcsSwitch) |
310 self.actions.append(self.vcsSwitchAct) |
310 self.actions.append(self.vcsSwitchAct) |
311 |
311 |
312 self.vcsResolveAct = E5Action( |
312 self.vcsResolveAct = E5Action( |
313 self.tr('Conflicts resolved'), |
313 self.tr('Conflicts resolved'), |
314 self.tr('Con&flicts resolved'), |
314 self.tr('Con&flicts resolved'), |
319 self.vcsResolveAct.setWhatsThis(self.tr( |
319 self.vcsResolveAct.setWhatsThis(self.tr( |
320 """<b>Conflicts resolved</b>""" |
320 """<b>Conflicts resolved</b>""" |
321 """<p>This marks all conflicts of the local project as""" |
321 """<p>This marks all conflicts of the local project as""" |
322 """ resolved.</p>""" |
322 """ resolved.</p>""" |
323 )) |
323 )) |
324 self.vcsResolveAct.triggered[()].connect(self.__svnResolve) |
324 self.vcsResolveAct.triggered.connect(self.__svnResolve) |
325 self.actions.append(self.vcsResolveAct) |
325 self.actions.append(self.vcsResolveAct) |
326 |
326 |
327 self.vcsCleanupAct = E5Action( |
327 self.vcsCleanupAct = E5Action( |
328 self.tr('Cleanup'), |
328 self.tr('Cleanup'), |
329 self.tr('Cleanu&p'), |
329 self.tr('Cleanu&p'), |
333 )) |
333 )) |
334 self.vcsCleanupAct.setWhatsThis(self.tr( |
334 self.vcsCleanupAct.setWhatsThis(self.tr( |
335 """<b>Cleanup</b>""" |
335 """<b>Cleanup</b>""" |
336 """<p>This performs a cleanup of the local project.</p>""" |
336 """<p>This performs a cleanup of the local project.</p>""" |
337 )) |
337 )) |
338 self.vcsCleanupAct.triggered[()].connect(self._vcsCleanup) |
338 self.vcsCleanupAct.triggered.connect(self._vcsCleanup) |
339 self.actions.append(self.vcsCleanupAct) |
339 self.actions.append(self.vcsCleanupAct) |
340 |
340 |
341 self.vcsCommandAct = E5Action( |
341 self.vcsCommandAct = E5Action( |
342 self.tr('Execute command'), |
342 self.tr('Execute command'), |
343 self.tr('E&xecute command...'), |
343 self.tr('E&xecute command...'), |
347 )) |
347 )) |
348 self.vcsCommandAct.setWhatsThis(self.tr( |
348 self.vcsCommandAct.setWhatsThis(self.tr( |
349 """<b>Execute command</b>""" |
349 """<b>Execute command</b>""" |
350 """<p>This opens a dialog to enter an arbitrary VCS command.</p>""" |
350 """<p>This opens a dialog to enter an arbitrary VCS command.</p>""" |
351 )) |
351 )) |
352 self.vcsCommandAct.triggered[()].connect(self._vcsCommand) |
352 self.vcsCommandAct.triggered.connect(self._vcsCommand) |
353 self.actions.append(self.vcsCommandAct) |
353 self.actions.append(self.vcsCommandAct) |
354 |
354 |
355 self.svnTagListAct = E5Action( |
355 self.svnTagListAct = E5Action( |
356 self.tr('List tags'), |
356 self.tr('List tags'), |
357 self.tr('List tags...'), |
357 self.tr('List tags...'), |
361 )) |
361 )) |
362 self.svnTagListAct.setWhatsThis(self.tr( |
362 self.svnTagListAct.setWhatsThis(self.tr( |
363 """<b>List tags</b>""" |
363 """<b>List tags</b>""" |
364 """<p>This lists the tags of the project.</p>""" |
364 """<p>This lists the tags of the project.</p>""" |
365 )) |
365 )) |
366 self.svnTagListAct.triggered[()].connect(self.__svnTagList) |
366 self.svnTagListAct.triggered.connect(self.__svnTagList) |
367 self.actions.append(self.svnTagListAct) |
367 self.actions.append(self.svnTagListAct) |
368 |
368 |
369 self.svnBranchListAct = E5Action( |
369 self.svnBranchListAct = E5Action( |
370 self.tr('List branches'), |
370 self.tr('List branches'), |
371 self.tr('List branches...'), |
371 self.tr('List branches...'), |
375 )) |
375 )) |
376 self.svnBranchListAct.setWhatsThis(self.tr( |
376 self.svnBranchListAct.setWhatsThis(self.tr( |
377 """<b>List branches</b>""" |
377 """<b>List branches</b>""" |
378 """<p>This lists the branches of the project.</p>""" |
378 """<p>This lists the branches of the project.</p>""" |
379 )) |
379 )) |
380 self.svnBranchListAct.triggered[()].connect(self.__svnBranchList) |
380 self.svnBranchListAct.triggered.connect(self.__svnBranchList) |
381 self.actions.append(self.svnBranchListAct) |
381 self.actions.append(self.svnBranchListAct) |
382 |
382 |
383 self.svnListAct = E5Action( |
383 self.svnListAct = E5Action( |
384 self.tr('List repository contents'), |
384 self.tr('List repository contents'), |
385 self.tr('List repository contents...'), |
385 self.tr('List repository contents...'), |
389 )) |
389 )) |
390 self.svnListAct.setWhatsThis(self.tr( |
390 self.svnListAct.setWhatsThis(self.tr( |
391 """<b>List repository contents</b>""" |
391 """<b>List repository contents</b>""" |
392 """<p>This lists the contents of the repository.</p>""" |
392 """<p>This lists the contents of the repository.</p>""" |
393 )) |
393 )) |
394 self.svnListAct.triggered[()].connect(self.__svnTagList) |
394 self.svnListAct.triggered.connect(self.__svnTagList) |
395 self.actions.append(self.svnListAct) |
395 self.actions.append(self.svnListAct) |
396 |
396 |
397 self.svnPropSetAct = E5Action( |
397 self.svnPropSetAct = E5Action( |
398 self.tr('Set Property'), |
398 self.tr('Set Property'), |
399 self.tr('Set Property...'), |
399 self.tr('Set Property...'), |
403 )) |
403 )) |
404 self.svnPropSetAct.setWhatsThis(self.tr( |
404 self.svnPropSetAct.setWhatsThis(self.tr( |
405 """<b>Set Property</b>""" |
405 """<b>Set Property</b>""" |
406 """<p>This sets a property for the project files.</p>""" |
406 """<p>This sets a property for the project files.</p>""" |
407 )) |
407 )) |
408 self.svnPropSetAct.triggered[()].connect(self.__svnPropSet) |
408 self.svnPropSetAct.triggered.connect(self.__svnPropSet) |
409 self.actions.append(self.svnPropSetAct) |
409 self.actions.append(self.svnPropSetAct) |
410 |
410 |
411 self.svnPropListAct = E5Action( |
411 self.svnPropListAct = E5Action( |
412 self.tr('List Properties'), |
412 self.tr('List Properties'), |
413 self.tr('List Properties...'), |
413 self.tr('List Properties...'), |
417 )) |
417 )) |
418 self.svnPropListAct.setWhatsThis(self.tr( |
418 self.svnPropListAct.setWhatsThis(self.tr( |
419 """<b>List Properties</b>""" |
419 """<b>List Properties</b>""" |
420 """<p>This lists the properties of the project files.</p>""" |
420 """<p>This lists the properties of the project files.</p>""" |
421 )) |
421 )) |
422 self.svnPropListAct.triggered[()].connect(self.__svnPropList) |
422 self.svnPropListAct.triggered.connect(self.__svnPropList) |
423 self.actions.append(self.svnPropListAct) |
423 self.actions.append(self.svnPropListAct) |
424 |
424 |
425 self.svnPropDelAct = E5Action( |
425 self.svnPropDelAct = E5Action( |
426 self.tr('Delete Property'), |
426 self.tr('Delete Property'), |
427 self.tr('Delete Property...'), |
427 self.tr('Delete Property...'), |
431 )) |
431 )) |
432 self.svnPropDelAct.setWhatsThis(self.tr( |
432 self.svnPropDelAct.setWhatsThis(self.tr( |
433 """<b>Delete Property</b>""" |
433 """<b>Delete Property</b>""" |
434 """<p>This deletes a property for the project files.</p>""" |
434 """<p>This deletes a property for the project files.</p>""" |
435 )) |
435 )) |
436 self.svnPropDelAct.triggered[()].connect(self.__svnPropDel) |
436 self.svnPropDelAct.triggered.connect(self.__svnPropDel) |
437 self.actions.append(self.svnPropDelAct) |
437 self.actions.append(self.svnPropDelAct) |
438 |
438 |
439 self.svnRelocateAct = E5Action( |
439 self.svnRelocateAct = E5Action( |
440 self.tr('Relocate'), |
440 self.tr('Relocate'), |
441 UI.PixmapCache.getIcon("vcsSwitch.png"), |
441 UI.PixmapCache.getIcon("vcsSwitch.png"), |
447 self.svnRelocateAct.setWhatsThis(self.tr( |
447 self.svnRelocateAct.setWhatsThis(self.tr( |
448 """<b>Relocate</b>""" |
448 """<b>Relocate</b>""" |
449 """<p>This relocates the working copy to a new repository""" |
449 """<p>This relocates the working copy to a new repository""" |
450 """ URL.</p>""" |
450 """ URL.</p>""" |
451 )) |
451 )) |
452 self.svnRelocateAct.triggered[()].connect(self.__svnRelocate) |
452 self.svnRelocateAct.triggered.connect(self.__svnRelocate) |
453 self.actions.append(self.svnRelocateAct) |
453 self.actions.append(self.svnRelocateAct) |
454 |
454 |
455 self.svnRepoBrowserAct = E5Action( |
455 self.svnRepoBrowserAct = E5Action( |
456 self.tr('Repository Browser'), |
456 self.tr('Repository Browser'), |
457 UI.PixmapCache.getIcon("vcsRepoBrowser.png"), |
457 UI.PixmapCache.getIcon("vcsRepoBrowser.png"), |
462 )) |
462 )) |
463 self.svnRepoBrowserAct.setWhatsThis(self.tr( |
463 self.svnRepoBrowserAct.setWhatsThis(self.tr( |
464 """<b>Repository Browser</b>""" |
464 """<b>Repository Browser</b>""" |
465 """<p>This shows the Repository Browser dialog.</p>""" |
465 """<p>This shows the Repository Browser dialog.</p>""" |
466 )) |
466 )) |
467 self.svnRepoBrowserAct.triggered[()].connect(self.__svnRepoBrowser) |
467 self.svnRepoBrowserAct.triggered.connect(self.__svnRepoBrowser) |
468 self.actions.append(self.svnRepoBrowserAct) |
468 self.actions.append(self.svnRepoBrowserAct) |
469 |
469 |
470 self.svnConfigAct = E5Action( |
470 self.svnConfigAct = E5Action( |
471 self.tr('Configure'), |
471 self.tr('Configure'), |
472 self.tr('Configure...'), |
472 self.tr('Configure...'), |
477 self.svnConfigAct.setWhatsThis(self.tr( |
477 self.svnConfigAct.setWhatsThis(self.tr( |
478 """<b>Configure</b>""" |
478 """<b>Configure</b>""" |
479 """<p>Show the configuration dialog with the Subversion page""" |
479 """<p>Show the configuration dialog with the Subversion page""" |
480 """ selected.</p>""" |
480 """ selected.</p>""" |
481 )) |
481 )) |
482 self.svnConfigAct.triggered[()].connect(self.__svnConfigure) |
482 self.svnConfigAct.triggered.connect(self.__svnConfigure) |
483 self.actions.append(self.svnConfigAct) |
483 self.actions.append(self.svnConfigAct) |
484 |
484 |
485 self.svnUpgradeAct = E5Action( |
485 self.svnUpgradeAct = E5Action( |
486 self.tr('Upgrade'), |
486 self.tr('Upgrade'), |
487 self.tr('Upgrade...'), |
487 self.tr('Upgrade...'), |
491 )) |
491 )) |
492 self.svnUpgradeAct.setWhatsThis(self.tr( |
492 self.svnUpgradeAct.setWhatsThis(self.tr( |
493 """<b>Upgrade</b>""" |
493 """<b>Upgrade</b>""" |
494 """<p>Upgrades the working copy to the current format.</p>""" |
494 """<p>Upgrades the working copy to the current format.</p>""" |
495 )) |
495 )) |
496 self.svnUpgradeAct.triggered[()].connect(self.__svnUpgrade) |
496 self.svnUpgradeAct.triggered.connect(self.__svnUpgrade) |
497 self.actions.append(self.svnUpgradeAct) |
497 self.actions.append(self.svnUpgradeAct) |
498 |
498 |
499 def initMenu(self, menu): |
499 def initMenu(self, menu): |
500 """ |
500 """ |
501 Public method to generate the VCS menu. |
501 Public method to generate the VCS menu. |