Plugins/VcsPlugins/vcsSubversion/ProjectHelper.py

changeset 1892
ba56498a41e2
parent 1888
03f59d88a62d
child 2302
f29e9405c851
equal deleted inserted replaced
1890:6523d664e754 1892:ba56498a41e2
83 """<b>Commit changes to repository</b>""" 83 """<b>Commit changes to repository</b>"""
84 """<p>This commits changes to the local project to the VCS repository.</p>""" 84 """<p>This commits changes to the local project to the VCS repository.</p>"""
85 )) 85 ))
86 self.vcsCommitAct.triggered[()].connect(self._vcsCommit) 86 self.vcsCommitAct.triggered[()].connect(self._vcsCommit)
87 self.actions.append(self.vcsCommitAct) 87 self.actions.append(self.vcsCommitAct)
88
89 self.vcsRemoveAct = E5Action(self.trUtf8('Remove from repository (and disk)'),
90 UI.PixmapCache.getIcon("vcsRemove.png"),
91 self.trUtf8('&Remove from repository (and disk)'),
92 0, 0, self, 'subversion_remove')
93 self.vcsRemoveAct.setStatusTip(self.trUtf8(
94 'Remove the local project from the VCS repository (and disk)'
95 ))
96 self.vcsRemoveAct.setWhatsThis(self.trUtf8(
97 """<b>Remove from repository</b>"""
98 """<p>This removes the local project from the VCS repository"""
99 """ (and disk).</p>"""
100 ))
101 self.vcsRemoveAct.triggered[()].connect(self._vcsRemove)
102 self.actions.append(self.vcsRemoveAct)
103 88
104 self.vcsLogAct = E5Action(self.trUtf8('Show log'), 89 self.vcsLogAct = E5Action(self.trUtf8('Show log'),
105 UI.PixmapCache.getIcon("vcsLog.png"), 90 UI.PixmapCache.getIcon("vcsLog.png"),
106 self.trUtf8('Show &log'), 91 self.trUtf8('Show &log'),
107 0, 0, self, 'subversion_log') 92 0, 0, self, 'subversion_log')
463 menu.addAction(self.vcsCommitAct) 448 menu.addAction(self.vcsCommitAct)
464 menu.addSeparator() 449 menu.addSeparator()
465 menu.addAction(self.vcsNewAct) 450 menu.addAction(self.vcsNewAct)
466 menu.addAction(self.vcsExportAct) 451 menu.addAction(self.vcsExportAct)
467 menu.addSeparator() 452 menu.addSeparator()
468 menu.addAction(self.vcsRemoveAct)
469 menu.addSeparator()
470 menu.addAction(self.vcsTagAct) 453 menu.addAction(self.vcsTagAct)
471 if self.vcs.otherData["standardLayout"]: 454 if self.vcs.otherData["standardLayout"]:
472 menu.addAction(self.svnTagListAct) 455 menu.addAction(self.svnTagListAct)
473 menu.addAction(self.svnBranchListAct) 456 menu.addAction(self.svnBranchListAct)
474 else: 457 else:

eric ide

mercurial