217 """<p>This exports a project from the repository.</p>""" |
217 """<p>This exports a project from the repository.</p>""" |
218 )) |
218 )) |
219 self.vcsExportAct.triggered[()].connect(self._vcsExport) |
219 self.vcsExportAct.triggered[()].connect(self._vcsExport) |
220 self.actions.append(self.vcsExportAct) |
220 self.actions.append(self.vcsExportAct) |
221 |
221 |
222 self.vcsRemoveAct = E5Action(self.trUtf8('Remove from repository (and disk)'), |
|
223 UI.PixmapCache.getIcon("vcsRemove.png"), |
|
224 self.trUtf8('&Remove from repository (and disk)'), |
|
225 0, 0, self, 'mercurial_remove') |
|
226 self.vcsRemoveAct.setStatusTip(self.trUtf8( |
|
227 'Remove the local project from the repository (and disk)' |
|
228 )) |
|
229 self.vcsRemoveAct.setWhatsThis(self.trUtf8( |
|
230 """<b>Remove from repository</b>""" |
|
231 """<p>This removes the local project from the repository""" |
|
232 """ (and disk).</p>""" |
|
233 )) |
|
234 self.vcsRemoveAct.triggered[()].connect(self._vcsRemove) |
|
235 self.actions.append(self.vcsRemoveAct) |
|
236 |
|
237 self.vcsLogAct = E5Action(self.trUtf8('Show log'), |
222 self.vcsLogAct = E5Action(self.trUtf8('Show log'), |
238 UI.PixmapCache.getIcon("vcsLog.png"), |
223 UI.PixmapCache.getIcon("vcsLog.png"), |
239 self.trUtf8('Show &log'), |
224 self.trUtf8('Show &log'), |
240 0, 0, self, 'mercurial_log') |
225 0, 0, self, 'mercurial_log') |
241 self.vcsLogAct.setStatusTip(self.trUtf8( |
226 self.vcsLogAct.setStatusTip(self.trUtf8( |
987 menu.addMenu(self.__extensionsMenu) |
972 menu.addMenu(self.__extensionsMenu) |
988 menu.addSeparator() |
973 menu.addSeparator() |
989 menu.addAction(self.vcsNewAct) |
974 menu.addAction(self.vcsNewAct) |
990 menu.addAction(self.vcsExportAct) |
975 menu.addAction(self.vcsExportAct) |
991 menu.addSeparator() |
976 menu.addSeparator() |
992 menu.addAction(self.vcsRemoveAct) |
|
993 menu.addSeparator() |
|
994 menu.addAction(self.vcsTagAct) |
977 menu.addAction(self.vcsTagAct) |
995 menu.addAction(self.hgTagListAct) |
978 menu.addAction(self.hgTagListAct) |
996 menu.addAction(self.hgBranchAct) |
979 menu.addAction(self.hgBranchAct) |
997 if self.vcs.version >= (1, 6): |
980 if self.vcs.version >= (1, 6): |
998 menu.addAction(self.hgPushBranchAct) |
981 menu.addAction(self.hgPushBranchAct) |