Plugins/VcsPlugins/vcsSubversion/ProjectHelper.py

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

eric ide

mercurial