Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py

changeset 1892
ba56498a41e2
parent 1880
dbd4d7698310
child 1905
7ad9161c5293
diff -r 6523d664e754 -r ba56498a41e2 Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py
--- a/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py	Sun Jun 10 17:55:19 2012 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py	Sun Jun 10 18:18:24 2012 +0200
@@ -219,21 +219,6 @@
         self.vcsExportAct.triggered[()].connect(self._vcsExport)
         self.actions.append(self.vcsExportAct)
         
-        self.vcsRemoveAct = E5Action(self.trUtf8('Remove from repository (and disk)'),
-                UI.PixmapCache.getIcon("vcsRemove.png"),
-                self.trUtf8('&Remove from repository (and disk)'),
-                0, 0, self, 'mercurial_remove')
-        self.vcsRemoveAct.setStatusTip(self.trUtf8(
-            'Remove the local project from the repository (and  disk)'
-        ))
-        self.vcsRemoveAct.setWhatsThis(self.trUtf8(
-            """<b>Remove from repository</b>"""
-            """<p>This removes the local project from the repository"""
-            """ (and disk).</p>"""
-        ))
-        self.vcsRemoveAct.triggered[()].connect(self._vcsRemove)
-        self.actions.append(self.vcsRemoveAct)
-        
         self.vcsLogAct = E5Action(self.trUtf8('Show log'),
                 UI.PixmapCache.getIcon("vcsLog.png"),
                 self.trUtf8('Show &log'),
@@ -989,8 +974,6 @@
         menu.addAction(self.vcsNewAct)
         menu.addAction(self.vcsExportAct)
         menu.addSeparator()
-        menu.addAction(self.vcsRemoveAct)
-        menu.addSeparator()
         menu.addAction(self.vcsTagAct)
         menu.addAction(self.hgTagListAct)
         menu.addAction(self.hgBranchAct)

eric ide

mercurial