Plugins/VcsPlugins/vcsMercurial/ProjectBrowserHelper.py

changeset 1267
5eddb59304c7
parent 945
8cd4d08fa9f6
child 1311
95685f9ad9f8
--- a/Plugins/VcsPlugins/vcsMercurial/ProjectBrowserHelper.py	Fri Sep 02 08:35:45 2011 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/ProjectBrowserHelper.py	Sat Sep 03 16:41:44 2011 +0200
@@ -220,9 +220,6 @@
             self.trUtf8('Show log'), self._VCSLog)
         self.vcsMenuActions.append(act)
         act = menu.addAction(UI.PixmapCache.getIcon("vcsLog.png"),
-            self.trUtf8('Show limited log'), self.__HgLogLimited)
-        self.vcsMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsLog.png"),
             self.trUtf8('Show log browser'), self.__HgLogBrowser)
         self.vcsMenuActions.append(act)
         menu.addSeparator()
@@ -407,9 +404,6 @@
             self.trUtf8('Show log'), self._VCSLog)
         self.vcsDirMenuActions.append(act)
         act = menu.addAction(UI.PixmapCache.getIcon("vcsLog.png"),
-            self.trUtf8('Show limited log'), self.__HgLogLimited)
-        self.vcsDirMenuActions.append(act)
-        act = menu.addAction(UI.PixmapCache.getIcon("vcsLog.png"),
             self.trUtf8('Show log browser'), self.__HgLogBrowser)
         self.vcsDirMenuActions.append(act)
         menu.addSeparator()
@@ -569,17 +563,6 @@
         fn = itm.fileName()
         self.vcs.hgAnnotate(fn)
     
-    def __HgLogLimited(self):
-        """
-        Private slot called by the context menu to show the limited log of a file.
-        """
-        itm = self.browser.currentItem()
-        try:
-            fn = itm.fileName()
-        except AttributeError:
-            fn = itm.dirName()
-        self.vcs.hgLogLimited(fn)
-    
     def __HgLogBrowser(self):
         """
         Private slot called by the context menu to show the log browser for a file.

eric ide

mercurial