Plugins/VcsPlugins/vcsSubversion/ProjectHelper.py

changeset 3025
67064c71df21
parent 3009
bf5ae5d7477d
child 3058
0a02c433f52d
child 3108
30521d7d3101
equal deleted inserted replaced
3024:17c01303a239 3025:67064c71df21
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(self.trUtf8('Update from repository'), 64 self.vcsUpdateAct = E5Action(
65 UI.PixmapCache.getIcon("vcsUpdate.png"), 65 self.trUtf8('Update from repository'),
66 self.trUtf8('&Update from repository'), 0, 0, self, 66 UI.PixmapCache.getIcon("vcsUpdate.png"),
67 'subversion_update') 67 self.trUtf8('&Update from repository'), 0, 0, self,
68 'subversion_update')
68 self.vcsUpdateAct.setStatusTip(self.trUtf8( 69 self.vcsUpdateAct.setStatusTip(self.trUtf8(
69 'Update the local project from the VCS repository' 70 'Update the local project from the VCS repository'
70 )) 71 ))
71 self.vcsUpdateAct.setWhatsThis(self.trUtf8( 72 self.vcsUpdateAct.setWhatsThis(self.trUtf8(
72 """<b>Update from repository</b>""" 73 """<b>Update from repository</b>"""
90 """ repository.</p>""" 91 """ repository.</p>"""
91 )) 92 ))
92 self.vcsCommitAct.triggered[()].connect(self._vcsCommit) 93 self.vcsCommitAct.triggered[()].connect(self._vcsCommit)
93 self.actions.append(self.vcsCommitAct) 94 self.actions.append(self.vcsCommitAct)
94 95
95 self.vcsLogAct = E5Action(self.trUtf8('Show log'), 96 self.vcsLogAct = E5Action(
96 UI.PixmapCache.getIcon("vcsLog.png"), 97 self.trUtf8('Show log'),
97 self.trUtf8('Show &log'), 98 UI.PixmapCache.getIcon("vcsLog.png"),
98 0, 0, self, 'subversion_log') 99 self.trUtf8('Show &log'),
100 0, 0, self, 'subversion_log')
99 self.vcsLogAct.setStatusTip(self.trUtf8( 101 self.vcsLogAct.setStatusTip(self.trUtf8(
100 'Show the log of the local project' 102 'Show the log of the local project'
101 )) 103 ))
102 self.vcsLogAct.setWhatsThis(self.trUtf8( 104 self.vcsLogAct.setWhatsThis(self.trUtf8(
103 """<b>Show log</b>""" 105 """<b>Show log</b>"""
104 """<p>This shows the log of the local project.</p>""" 106 """<p>This shows the log of the local project.</p>"""
105 )) 107 ))
106 self.vcsLogAct.triggered[()].connect(self._vcsLog) 108 self.vcsLogAct.triggered[()].connect(self._vcsLog)
107 self.actions.append(self.vcsLogAct) 109 self.actions.append(self.vcsLogAct)
108 110
109 self.svnLogBrowserAct = E5Action(self.trUtf8('Show log browser'), 111 self.svnLogBrowserAct = E5Action(
110 UI.PixmapCache.getIcon("vcsLog.png"), 112 self.trUtf8('Show log browser'),
111 self.trUtf8('Show log browser'), 113 UI.PixmapCache.getIcon("vcsLog.png"),
112 0, 0, self, 'subversion_log_browser') 114 self.trUtf8('Show log browser'),
115 0, 0, self, 'subversion_log_browser')
113 self.svnLogBrowserAct.setStatusTip(self.trUtf8( 116 self.svnLogBrowserAct.setStatusTip(self.trUtf8(
114 'Show a dialog to browse the log of the local project' 117 'Show a dialog to browse the log of the local project'
115 )) 118 ))
116 self.svnLogBrowserAct.setWhatsThis(self.trUtf8( 119 self.svnLogBrowserAct.setWhatsThis(self.trUtf8(
117 """<b>Show log browser</b>""" 120 """<b>Show log browser</b>"""
120 """ can be retrieved later on.</p>""" 123 """ can be retrieved later on.</p>"""
121 )) 124 ))
122 self.svnLogBrowserAct.triggered[()].connect(self.__svnLogBrowser) 125 self.svnLogBrowserAct.triggered[()].connect(self.__svnLogBrowser)
123 self.actions.append(self.svnLogBrowserAct) 126 self.actions.append(self.svnLogBrowserAct)
124 127
125 self.vcsDiffAct = E5Action(self.trUtf8('Show difference'), 128 self.vcsDiffAct = E5Action(
126 UI.PixmapCache.getIcon("vcsDiff.png"), 129 self.trUtf8('Show difference'),
127 self.trUtf8('Show &difference'), 130 UI.PixmapCache.getIcon("vcsDiff.png"),
128 0, 0, self, 'subversion_diff') 131 self.trUtf8('Show &difference'),
132 0, 0, self, 'subversion_diff')
129 self.vcsDiffAct.setStatusTip(self.trUtf8( 133 self.vcsDiffAct.setStatusTip(self.trUtf8(
130 'Show the difference of the local project to the repository' 134 'Show the difference of the local project to the repository'
131 )) 135 ))
132 self.vcsDiffAct.setWhatsThis(self.trUtf8( 136 self.vcsDiffAct.setWhatsThis(self.trUtf8(
133 """<b>Show difference</b>""" 137 """<b>Show difference</b>"""
151 """ the project.</p>""" 155 """ the project.</p>"""
152 )) 156 ))
153 self.svnExtDiffAct.triggered[()].connect(self.__svnExtendedDiff) 157 self.svnExtDiffAct.triggered[()].connect(self.__svnExtendedDiff)
154 self.actions.append(self.svnExtDiffAct) 158 self.actions.append(self.svnExtDiffAct)
155 159
156 self.svnUrlDiffAct = E5Action(self.trUtf8('Show difference (URLs)'), 160 self.svnUrlDiffAct = E5Action(
157 UI.PixmapCache.getIcon("vcsDiff.png"), 161 self.trUtf8('Show difference (URLs)'),
158 self.trUtf8('Show difference (URLs)'), 162 UI.PixmapCache.getIcon("vcsDiff.png"),
159 0, 0, self, 'subversion_urldiff') 163 self.trUtf8('Show difference (URLs)'),
164 0, 0, self, 'subversion_urldiff')
160 self.svnUrlDiffAct.setStatusTip(self.trUtf8( 165 self.svnUrlDiffAct.setStatusTip(self.trUtf8(
161 'Show the difference of the project between two repository URLs' 166 'Show the difference of the project between two repository URLs'
162 )) 167 ))
163 self.svnUrlDiffAct.setWhatsThis(self.trUtf8( 168 self.svnUrlDiffAct.setWhatsThis(self.trUtf8(
164 """<b>Show difference (URLs)</b>""" 169 """<b>Show difference (URLs)</b>"""
166 """ two repository URLs.</p>""" 171 """ two repository URLs.</p>"""
167 )) 172 ))
168 self.svnUrlDiffAct.triggered[()].connect(self.__svnUrlDiff) 173 self.svnUrlDiffAct.triggered[()].connect(self.__svnUrlDiff)
169 self.actions.append(self.svnUrlDiffAct) 174 self.actions.append(self.svnUrlDiffAct)
170 175
171 self.vcsStatusAct = E5Action(self.trUtf8('Show status'), 176 self.vcsStatusAct = E5Action(
172 UI.PixmapCache.getIcon("vcsStatus.png"), 177 self.trUtf8('Show status'),
173 self.trUtf8('Show &status'), 178 UI.PixmapCache.getIcon("vcsStatus.png"),
174 0, 0, self, 'subversion_status') 179 self.trUtf8('Show &status'),
180 0, 0, self, 'subversion_status')
175 self.vcsStatusAct.setStatusTip(self.trUtf8( 181 self.vcsStatusAct.setStatusTip(self.trUtf8(
176 'Show the status of the local project' 182 'Show the status of the local project'
177 )) 183 ))
178 self.vcsStatusAct.setWhatsThis(self.trUtf8( 184 self.vcsStatusAct.setWhatsThis(self.trUtf8(
179 """<b>Show status</b>""" 185 """<b>Show status</b>"""
180 """<p>This shows the status of the local project.</p>""" 186 """<p>This shows the status of the local project.</p>"""
181 )) 187 ))
182 self.vcsStatusAct.triggered[()].connect(self._vcsStatus) 188 self.vcsStatusAct.triggered[()].connect(self._vcsStatus)
183 self.actions.append(self.vcsStatusAct) 189 self.actions.append(self.vcsStatusAct)
184 190
185 self.svnChangeListsAct = E5Action(self.trUtf8('Show change lists'), 191 self.svnChangeListsAct = E5Action(
186 UI.PixmapCache.getIcon("vcsChangeLists.png"), 192 self.trUtf8('Show change lists'),
187 self.trUtf8('Show change lists'), 193 UI.PixmapCache.getIcon("vcsChangeLists.png"),
188 0, 0, self, 'subversion_changelists') 194 self.trUtf8('Show change lists'),
195 0, 0, self, 'subversion_changelists')
189 self.svnChangeListsAct.setStatusTip(self.trUtf8( 196 self.svnChangeListsAct.setStatusTip(self.trUtf8(
190 'Show the change lists and associated files of the local project' 197 'Show the change lists and associated files of the local project'
191 )) 198 ))
192 self.svnChangeListsAct.setWhatsThis(self.trUtf8( 199 self.svnChangeListsAct.setWhatsThis(self.trUtf8(
193 """<b>Show change lists</b>""" 200 """<b>Show change lists</b>"""
195 """ local project.</p>""" 202 """ local project.</p>"""
196 )) 203 ))
197 self.svnChangeListsAct.triggered[()].connect(self.__svnChangeLists) 204 self.svnChangeListsAct.triggered[()].connect(self.__svnChangeLists)
198 self.actions.append(self.svnChangeListsAct) 205 self.actions.append(self.svnChangeListsAct)
199 206
200 self.vcsTagAct = E5Action(self.trUtf8('Tag in repository'), 207 self.vcsTagAct = E5Action(
201 UI.PixmapCache.getIcon("vcsTag.png"), 208 self.trUtf8('Tag in repository'),
202 self.trUtf8('&Tag in repository...'), 209 UI.PixmapCache.getIcon("vcsTag.png"),
203 0, 0, self, 'subversion_tag') 210 self.trUtf8('&Tag in repository...'),
211 0, 0, self, 'subversion_tag')
204 self.vcsTagAct.setStatusTip(self.trUtf8( 212 self.vcsTagAct.setStatusTip(self.trUtf8(
205 'Tag the local project in the repository' 213 'Tag the local project in the repository'
206 )) 214 ))
207 self.vcsTagAct.setWhatsThis(self.trUtf8( 215 self.vcsTagAct.setWhatsThis(self.trUtf8(
208 """<b>Tag in repository</b>""" 216 """<b>Tag in repository</b>"""
209 """<p>This tags the local project in the repository.</p>""" 217 """<p>This tags the local project in the repository.</p>"""
210 )) 218 ))
211 self.vcsTagAct.triggered[()].connect(self._vcsTag) 219 self.vcsTagAct.triggered[()].connect(self._vcsTag)
212 self.actions.append(self.vcsTagAct) 220 self.actions.append(self.vcsTagAct)
213 221
214 self.vcsExportAct = E5Action(self.trUtf8('Export from repository'), 222 self.vcsExportAct = E5Action(
215 UI.PixmapCache.getIcon("vcsExport.png"), 223 self.trUtf8('Export from repository'),
216 self.trUtf8('&Export from repository...'), 224 UI.PixmapCache.getIcon("vcsExport.png"),
217 0, 0, self, 'subversion_export') 225 self.trUtf8('&Export from repository...'),
226 0, 0, self, 'subversion_export')
218 self.vcsExportAct.setStatusTip(self.trUtf8( 227 self.vcsExportAct.setStatusTip(self.trUtf8(
219 'Export a project from the repository' 228 'Export a project from the repository'
220 )) 229 ))
221 self.vcsExportAct.setWhatsThis(self.trUtf8( 230 self.vcsExportAct.setWhatsThis(self.trUtf8(
222 """<b>Export from repository</b>""" 231 """<b>Export from repository</b>"""
223 """<p>This exports a project from the repository.</p>""" 232 """<p>This exports a project from the repository.</p>"""
224 )) 233 ))
225 self.vcsExportAct.triggered[()].connect(self._vcsExport) 234 self.vcsExportAct.triggered[()].connect(self._vcsExport)
226 self.actions.append(self.vcsExportAct) 235 self.actions.append(self.vcsExportAct)
227 236
228 self.vcsPropsAct = E5Action(self.trUtf8('Command options'), 237 self.vcsPropsAct = E5Action(
229 self.trUtf8('Command &options...'), 0, 0, self, 238 self.trUtf8('Command options'),
230 'subversion_options') 239 self.trUtf8('Command &options...'), 0, 0, self,
240 'subversion_options')
231 self.vcsPropsAct.setStatusTip(self.trUtf8( 241 self.vcsPropsAct.setStatusTip(self.trUtf8(
232 'Show the VCS command options')) 242 'Show the VCS command options'))
233 self.vcsPropsAct.setWhatsThis(self.trUtf8( 243 self.vcsPropsAct.setWhatsThis(self.trUtf8(
234 """<b>Command options...</b>""" 244 """<b>Command options...</b>"""
235 """<p>This shows a dialog to edit the VCS command options.</p>""" 245 """<p>This shows a dialog to edit the VCS command options.</p>"""
236 )) 246 ))
237 self.vcsPropsAct.triggered[()].connect(self._vcsCommandOptions) 247 self.vcsPropsAct.triggered[()].connect(self._vcsCommandOptions)
238 self.actions.append(self.vcsPropsAct) 248 self.actions.append(self.vcsPropsAct)
239 249
240 self.vcsRevertAct = E5Action(self.trUtf8('Revert changes'), 250 self.vcsRevertAct = E5Action(
241 UI.PixmapCache.getIcon("vcsRevert.png"), 251 self.trUtf8('Revert changes'),
242 self.trUtf8('Re&vert changes'), 252 UI.PixmapCache.getIcon("vcsRevert.png"),
243 0, 0, self, 'subversion_revert') 253 self.trUtf8('Re&vert changes'),
254 0, 0, self, 'subversion_revert')
244 self.vcsRevertAct.setStatusTip(self.trUtf8( 255 self.vcsRevertAct.setStatusTip(self.trUtf8(
245 'Revert all changes made to the local project' 256 'Revert all changes made to the local project'
246 )) 257 ))
247 self.vcsRevertAct.setWhatsThis(self.trUtf8( 258 self.vcsRevertAct.setWhatsThis(self.trUtf8(
248 """<b>Revert changes</b>""" 259 """<b>Revert changes</b>"""
249 """<p>This reverts all changes made to the local project.</p>""" 260 """<p>This reverts all changes made to the local project.</p>"""
250 )) 261 ))
251 self.vcsRevertAct.triggered[()].connect(self._vcsRevert) 262 self.vcsRevertAct.triggered[()].connect(self._vcsRevert)
252 self.actions.append(self.vcsRevertAct) 263 self.actions.append(self.vcsRevertAct)
253 264
254 self.vcsMergeAct = E5Action(self.trUtf8('Merge'), 265 self.vcsMergeAct = E5Action(
255 UI.PixmapCache.getIcon("vcsMerge.png"), 266 self.trUtf8('Merge'),
256 self.trUtf8('Mer&ge changes...'), 267 UI.PixmapCache.getIcon("vcsMerge.png"),
257 0, 0, self, 'subversion_merge') 268 self.trUtf8('Mer&ge changes...'),
269 0, 0, self, 'subversion_merge')
258 self.vcsMergeAct.setStatusTip(self.trUtf8( 270 self.vcsMergeAct.setStatusTip(self.trUtf8(
259 'Merge changes of a tag/revision into the local project' 271 'Merge changes of a tag/revision into the local project'
260 )) 272 ))
261 self.vcsMergeAct.setWhatsThis(self.trUtf8( 273 self.vcsMergeAct.setWhatsThis(self.trUtf8(
262 """<b>Merge</b>""" 274 """<b>Merge</b>"""
264 """ project.</p>""" 276 """ project.</p>"""
265 )) 277 ))
266 self.vcsMergeAct.triggered[()].connect(self._vcsMerge) 278 self.vcsMergeAct.triggered[()].connect(self._vcsMerge)
267 self.actions.append(self.vcsMergeAct) 279 self.actions.append(self.vcsMergeAct)
268 280
269 self.vcsSwitchAct = E5Action(self.trUtf8('Switch'), 281 self.vcsSwitchAct = E5Action(
270 UI.PixmapCache.getIcon("vcsSwitch.png"), 282 self.trUtf8('Switch'),
271 self.trUtf8('S&witch...'), 283 UI.PixmapCache.getIcon("vcsSwitch.png"),
272 0, 0, self, 'subversion_switch') 284 self.trUtf8('S&witch...'),
285 0, 0, self, 'subversion_switch')
273 self.vcsSwitchAct.setStatusTip(self.trUtf8( 286 self.vcsSwitchAct.setStatusTip(self.trUtf8(
274 'Switch the local copy to another tag/branch' 287 'Switch the local copy to another tag/branch'
275 )) 288 ))
276 self.vcsSwitchAct.setWhatsThis(self.trUtf8( 289 self.vcsSwitchAct.setWhatsThis(self.trUtf8(
277 """<b>Switch</b>""" 290 """<b>Switch</b>"""
278 """<p>This switches the local copy to another tag/branch.</p>""" 291 """<p>This switches the local copy to another tag/branch.</p>"""
279 )) 292 ))
280 self.vcsSwitchAct.triggered[()].connect(self._vcsSwitch) 293 self.vcsSwitchAct.triggered[()].connect(self._vcsSwitch)
281 self.actions.append(self.vcsSwitchAct) 294 self.actions.append(self.vcsSwitchAct)
282 295
283 self.vcsResolveAct = E5Action(self.trUtf8('Conflicts resolved'), 296 self.vcsResolveAct = E5Action(
284 self.trUtf8('Con&flicts resolved'), 297 self.trUtf8('Conflicts resolved'),
285 0, 0, self, 'subversion_resolve') 298 self.trUtf8('Con&flicts resolved'),
299 0, 0, self, 'subversion_resolve')
286 self.vcsResolveAct.setStatusTip(self.trUtf8( 300 self.vcsResolveAct.setStatusTip(self.trUtf8(
287 'Mark all conflicts of the local project as resolved' 301 'Mark all conflicts of the local project as resolved'
288 )) 302 ))
289 self.vcsResolveAct.setWhatsThis(self.trUtf8( 303 self.vcsResolveAct.setWhatsThis(self.trUtf8(
290 """<b>Conflicts resolved</b>""" 304 """<b>Conflicts resolved</b>"""
292 """ resolved.</p>""" 306 """ resolved.</p>"""
293 )) 307 ))
294 self.vcsResolveAct.triggered[()].connect(self.__svnResolve) 308 self.vcsResolveAct.triggered[()].connect(self.__svnResolve)
295 self.actions.append(self.vcsResolveAct) 309 self.actions.append(self.vcsResolveAct)
296 310
297 self.vcsCleanupAct = E5Action(self.trUtf8('Cleanup'), 311 self.vcsCleanupAct = E5Action(
298 self.trUtf8('Cleanu&p'), 312 self.trUtf8('Cleanup'),
299 0, 0, self, 'subversion_cleanup') 313 self.trUtf8('Cleanu&p'),
314 0, 0, self, 'subversion_cleanup')
300 self.vcsCleanupAct.setStatusTip(self.trUtf8( 315 self.vcsCleanupAct.setStatusTip(self.trUtf8(
301 'Cleanup the local project' 316 'Cleanup the local project'
302 )) 317 ))
303 self.vcsCleanupAct.setWhatsThis(self.trUtf8( 318 self.vcsCleanupAct.setWhatsThis(self.trUtf8(
304 """<b>Cleanup</b>""" 319 """<b>Cleanup</b>"""
305 """<p>This performs a cleanup of the local project.</p>""" 320 """<p>This performs a cleanup of the local project.</p>"""
306 )) 321 ))
307 self.vcsCleanupAct.triggered[()].connect(self._vcsCleanup) 322 self.vcsCleanupAct.triggered[()].connect(self._vcsCleanup)
308 self.actions.append(self.vcsCleanupAct) 323 self.actions.append(self.vcsCleanupAct)
309 324
310 self.vcsCommandAct = E5Action(self.trUtf8('Execute command'), 325 self.vcsCommandAct = E5Action(
311 self.trUtf8('E&xecute command...'), 326 self.trUtf8('Execute command'),
312 0, 0, self, 'subversion_command') 327 self.trUtf8('E&xecute command...'),
328 0, 0, self, 'subversion_command')
313 self.vcsCommandAct.setStatusTip(self.trUtf8( 329 self.vcsCommandAct.setStatusTip(self.trUtf8(
314 'Execute an arbitrary VCS command' 330 'Execute an arbitrary VCS command'
315 )) 331 ))
316 self.vcsCommandAct.setWhatsThis(self.trUtf8( 332 self.vcsCommandAct.setWhatsThis(self.trUtf8(
317 """<b>Execute command</b>""" 333 """<b>Execute command</b>"""
318 """<p>This opens a dialog to enter an arbitrary VCS command.</p>""" 334 """<p>This opens a dialog to enter an arbitrary VCS command.</p>"""
319 )) 335 ))
320 self.vcsCommandAct.triggered[()].connect(self._vcsCommand) 336 self.vcsCommandAct.triggered[()].connect(self._vcsCommand)
321 self.actions.append(self.vcsCommandAct) 337 self.actions.append(self.vcsCommandAct)
322 338
323 self.svnTagListAct = E5Action(self.trUtf8('List tags'), 339 self.svnTagListAct = E5Action(
324 self.trUtf8('List tags...'), 340 self.trUtf8('List tags'),
325 0, 0, self, 'subversion_list_tags') 341 self.trUtf8('List tags...'),
342 0, 0, self, 'subversion_list_tags')
326 self.svnTagListAct.setStatusTip(self.trUtf8( 343 self.svnTagListAct.setStatusTip(self.trUtf8(
327 'List tags of the project' 344 'List tags of the project'
328 )) 345 ))
329 self.svnTagListAct.setWhatsThis(self.trUtf8( 346 self.svnTagListAct.setWhatsThis(self.trUtf8(
330 """<b>List tags</b>""" 347 """<b>List tags</b>"""
331 """<p>This lists the tags of the project.</p>""" 348 """<p>This lists the tags of the project.</p>"""
332 )) 349 ))
333 self.svnTagListAct.triggered[()].connect(self.__svnTagList) 350 self.svnTagListAct.triggered[()].connect(self.__svnTagList)
334 self.actions.append(self.svnTagListAct) 351 self.actions.append(self.svnTagListAct)
335 352
336 self.svnBranchListAct = E5Action(self.trUtf8('List branches'), 353 self.svnBranchListAct = E5Action(
337 self.trUtf8('List branches...'), 354 self.trUtf8('List branches'),
338 0, 0, self, 'subversion_list_branches') 355 self.trUtf8('List branches...'),
356 0, 0, self, 'subversion_list_branches')
339 self.svnBranchListAct.setStatusTip(self.trUtf8( 357 self.svnBranchListAct.setStatusTip(self.trUtf8(
340 'List branches of the project' 358 'List branches of the project'
341 )) 359 ))
342 self.svnBranchListAct.setWhatsThis(self.trUtf8( 360 self.svnBranchListAct.setWhatsThis(self.trUtf8(
343 """<b>List branches</b>""" 361 """<b>List branches</b>"""
344 """<p>This lists the branches of the project.</p>""" 362 """<p>This lists the branches of the project.</p>"""
345 )) 363 ))
346 self.svnBranchListAct.triggered[()].connect(self.__svnBranchList) 364 self.svnBranchListAct.triggered[()].connect(self.__svnBranchList)
347 self.actions.append(self.svnBranchListAct) 365 self.actions.append(self.svnBranchListAct)
348 366
349 self.svnListAct = E5Action(self.trUtf8('List repository contents'), 367 self.svnListAct = E5Action(
350 self.trUtf8('List repository contents...'), 368 self.trUtf8('List repository contents'),
351 0, 0, self, 'subversion_contents') 369 self.trUtf8('List repository contents...'),
370 0, 0, self, 'subversion_contents')
352 self.svnListAct.setStatusTip(self.trUtf8( 371 self.svnListAct.setStatusTip(self.trUtf8(
353 'Lists the contents of the repository' 372 'Lists the contents of the repository'
354 )) 373 ))
355 self.svnListAct.setWhatsThis(self.trUtf8( 374 self.svnListAct.setWhatsThis(self.trUtf8(
356 """<b>List repository contents</b>""" 375 """<b>List repository contents</b>"""
357 """<p>This lists the contents of the repository.</p>""" 376 """<p>This lists the contents of the repository.</p>"""
358 )) 377 ))
359 self.svnListAct.triggered[()].connect(self.__svnTagList) 378 self.svnListAct.triggered[()].connect(self.__svnTagList)
360 self.actions.append(self.svnListAct) 379 self.actions.append(self.svnListAct)
361 380
362 self.svnPropSetAct = E5Action(self.trUtf8('Set Property'), 381 self.svnPropSetAct = E5Action(
363 self.trUtf8('Set Property...'), 382 self.trUtf8('Set Property'),
364 0, 0, self, 'subversion_property_set') 383 self.trUtf8('Set Property...'),
384 0, 0, self, 'subversion_property_set')
365 self.svnPropSetAct.setStatusTip(self.trUtf8( 385 self.svnPropSetAct.setStatusTip(self.trUtf8(
366 'Set a property for the project files' 386 'Set a property for the project files'
367 )) 387 ))
368 self.svnPropSetAct.setWhatsThis(self.trUtf8( 388 self.svnPropSetAct.setWhatsThis(self.trUtf8(
369 """<b>Set Property</b>""" 389 """<b>Set Property</b>"""
370 """<p>This sets a property for the project files.</p>""" 390 """<p>This sets a property for the project files.</p>"""
371 )) 391 ))
372 self.svnPropSetAct.triggered[()].connect(self.__svnPropSet) 392 self.svnPropSetAct.triggered[()].connect(self.__svnPropSet)
373 self.actions.append(self.svnPropSetAct) 393 self.actions.append(self.svnPropSetAct)
374 394
375 self.svnPropListAct = E5Action(self.trUtf8('List Properties'), 395 self.svnPropListAct = E5Action(
376 self.trUtf8('List Properties...'), 396 self.trUtf8('List Properties'),
377 0, 0, self, 'subversion_property_list') 397 self.trUtf8('List Properties...'),
398 0, 0, self, 'subversion_property_list')
378 self.svnPropListAct.setStatusTip(self.trUtf8( 399 self.svnPropListAct.setStatusTip(self.trUtf8(
379 'List properties of the project files' 400 'List properties of the project files'
380 )) 401 ))
381 self.svnPropListAct.setWhatsThis(self.trUtf8( 402 self.svnPropListAct.setWhatsThis(self.trUtf8(
382 """<b>List Properties</b>""" 403 """<b>List Properties</b>"""
383 """<p>This lists the properties of the project files.</p>""" 404 """<p>This lists the properties of the project files.</p>"""
384 )) 405 ))
385 self.svnPropListAct.triggered[()].connect(self.__svnPropList) 406 self.svnPropListAct.triggered[()].connect(self.__svnPropList)
386 self.actions.append(self.svnPropListAct) 407 self.actions.append(self.svnPropListAct)
387 408
388 self.svnPropDelAct = E5Action(self.trUtf8('Delete Property'), 409 self.svnPropDelAct = E5Action(
389 self.trUtf8('Delete Property...'), 410 self.trUtf8('Delete Property'),
390 0, 0, self, 'subversion_property_delete') 411 self.trUtf8('Delete Property...'),
412 0, 0, self, 'subversion_property_delete')
391 self.svnPropDelAct.setStatusTip(self.trUtf8( 413 self.svnPropDelAct.setStatusTip(self.trUtf8(
392 'Delete a property for the project files' 414 'Delete a property for the project files'
393 )) 415 ))
394 self.svnPropDelAct.setWhatsThis(self.trUtf8( 416 self.svnPropDelAct.setWhatsThis(self.trUtf8(
395 """<b>Delete Property</b>""" 417 """<b>Delete Property</b>"""
396 """<p>This deletes a property for the project files.</p>""" 418 """<p>This deletes a property for the project files.</p>"""
397 )) 419 ))
398 self.svnPropDelAct.triggered[()].connect(self.__svnPropDel) 420 self.svnPropDelAct.triggered[()].connect(self.__svnPropDel)
399 self.actions.append(self.svnPropDelAct) 421 self.actions.append(self.svnPropDelAct)
400 422
401 self.svnRelocateAct = E5Action(self.trUtf8('Relocate'), 423 self.svnRelocateAct = E5Action(
402 UI.PixmapCache.getIcon("vcsSwitch.png"), 424 self.trUtf8('Relocate'),
403 self.trUtf8('Relocate...'), 425 UI.PixmapCache.getIcon("vcsSwitch.png"),
404 0, 0, self, 'subversion_relocate') 426 self.trUtf8('Relocate...'),
427 0, 0, self, 'subversion_relocate')
405 self.svnRelocateAct.setStatusTip(self.trUtf8( 428 self.svnRelocateAct.setStatusTip(self.trUtf8(
406 'Relocate the working copy to a new repository URL' 429 'Relocate the working copy to a new repository URL'
407 )) 430 ))
408 self.svnRelocateAct.setWhatsThis(self.trUtf8( 431 self.svnRelocateAct.setWhatsThis(self.trUtf8(
409 """<b>Relocate</b>""" 432 """<b>Relocate</b>"""
411 """ URL.</p>""" 434 """ URL.</p>"""
412 )) 435 ))
413 self.svnRelocateAct.triggered[()].connect(self.__svnRelocate) 436 self.svnRelocateAct.triggered[()].connect(self.__svnRelocate)
414 self.actions.append(self.svnRelocateAct) 437 self.actions.append(self.svnRelocateAct)
415 438
416 self.svnRepoBrowserAct = E5Action(self.trUtf8('Repository Browser'), 439 self.svnRepoBrowserAct = E5Action(
417 UI.PixmapCache.getIcon("vcsRepoBrowser.png"), 440 self.trUtf8('Repository Browser'),
418 self.trUtf8('Repository Browser...'), 441 UI.PixmapCache.getIcon("vcsRepoBrowser.png"),
419 0, 0, self, 'subversion_repo_browser') 442 self.trUtf8('Repository Browser...'),
443 0, 0, self, 'subversion_repo_browser')
420 self.svnRepoBrowserAct.setStatusTip(self.trUtf8( 444 self.svnRepoBrowserAct.setStatusTip(self.trUtf8(
421 'Show the Repository Browser dialog' 445 'Show the Repository Browser dialog'
422 )) 446 ))
423 self.svnRepoBrowserAct.setWhatsThis(self.trUtf8( 447 self.svnRepoBrowserAct.setWhatsThis(self.trUtf8(
424 """<b>Repository Browser</b>""" 448 """<b>Repository Browser</b>"""
425 """<p>This shows the Repository Browser dialog.</p>""" 449 """<p>This shows the Repository Browser dialog.</p>"""
426 )) 450 ))
427 self.svnRepoBrowserAct.triggered[()].connect(self.__svnRepoBrowser) 451 self.svnRepoBrowserAct.triggered[()].connect(self.__svnRepoBrowser)
428 self.actions.append(self.svnRepoBrowserAct) 452 self.actions.append(self.svnRepoBrowserAct)
429 453
430 self.svnConfigAct = E5Action(self.trUtf8('Configure'), 454 self.svnConfigAct = E5Action(
431 self.trUtf8('Configure...'), 455 self.trUtf8('Configure'),
432 0, 0, self, 'subversion_configure') 456 self.trUtf8('Configure...'),
457 0, 0, self, 'subversion_configure')
433 self.svnConfigAct.setStatusTip(self.trUtf8( 458 self.svnConfigAct.setStatusTip(self.trUtf8(
434 'Show the configuration dialog with the Subversion page selected' 459 'Show the configuration dialog with the Subversion page selected'
435 )) 460 ))
436 self.svnConfigAct.setWhatsThis(self.trUtf8( 461 self.svnConfigAct.setWhatsThis(self.trUtf8(
437 """<b>Configure</b>""" 462 """<b>Configure</b>"""

eric ide

mercurial