diff -r 39f9273ebd61 -r 2a034a7f1f54 Plugins/VcsPlugins/vcsMercurial/ProjectBrowserHelper.py --- a/Plugins/VcsPlugins/vcsMercurial/ProjectBrowserHelper.py Sun Mar 09 12:16:00 2014 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/ProjectBrowserHelper.py Sun Mar 09 17:06:40 2014 +0100 @@ -313,7 +313,7 @@ self.vcsMenuActions.append(act) act = menu.addAction( UI.PixmapCache.getIcon("vcsLog.png"), - self.tr('Show log browser'), self.__HgLogBrowser) + self.tr('Show log browser'), self._VCSLogBrowser) self.vcsMenuActions.append(act) menu.addSeparator() act = menu.addAction( @@ -531,7 +531,7 @@ self.vcsDirMenuActions.append(act) act = menu.addAction( UI.PixmapCache.getIcon("vcsLog.png"), - self.tr('Show log browser'), self.__HgLogBrowser) + self.tr('Show log browser'), self._VCSLogBrowser) self.vcsDirMenuActions.append(act) menu.addSeparator() act = menu.addAction( @@ -739,20 +739,6 @@ fn = itm.fileName() self.vcs.hgAnnotate(fn) - def __HgLogBrowser(self): - """ - Private slot called by the context menu to show the log browser for a - file. - """ - itm = self.browser.currentItem() - try: - fn = itm.fileName() - isFile = True - except AttributeError: - fn = itm.dirName() - isFile = False - self.vcs.hgLogBrowser(fn, isFile=isFile) - def __HgResolve(self): """ Private slot called by the context menu to resolve conflicts of a file.