Plugins/VcsPlugins/vcsPySvn/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')
478 menu.addAction(self.vcsCommitAct) 463 menu.addAction(self.vcsCommitAct)
479 menu.addSeparator() 464 menu.addSeparator()
480 menu.addAction(self.vcsNewAct) 465 menu.addAction(self.vcsNewAct)
481 menu.addAction(self.vcsExportAct) 466 menu.addAction(self.vcsExportAct)
482 menu.addSeparator() 467 menu.addSeparator()
483 menu.addAction(self.vcsRemoveAct)
484 menu.addSeparator()
485 menu.addAction(self.vcsTagAct) 468 menu.addAction(self.vcsTagAct)
486 if self.vcs.otherData["standardLayout"]: 469 if self.vcs.otherData["standardLayout"]:
487 menu.addAction(self.svnTagListAct) 470 menu.addAction(self.svnTagListAct)
488 menu.addAction(self.svnBranchListAct) 471 menu.addAction(self.svnBranchListAct)
489 else: 472 else:

eric ide

mercurial