Plugins/VcsPlugins/vcsMercurial/ProjectBrowserHelper.py

changeset 2841
1f79e88f18b7
parent 2839
ae21f79512b7
child 2847
1843ef6e2656
child 3008
7848489bcb92
equal deleted inserted replaced
2840:10a133f3a5e8 2841:1f79e88f18b7
605 Private slot called by the context menu to show the log browser for a file. 605 Private slot called by the context menu to show the log browser for a file.
606 """ 606 """
607 itm = self.browser.currentItem() 607 itm = self.browser.currentItem()
608 try: 608 try:
609 fn = itm.fileName() 609 fn = itm.fileName()
610 isFile = True
610 except AttributeError: 611 except AttributeError:
611 fn = itm.dirName() 612 fn = itm.dirName()
612 self.vcs.hgLogBrowser(fn) 613 isFile = False
614 self.vcs.hgLogBrowser(fn, isFile=isFile)
613 615
614 def __HgResolve(self): 616 def __HgResolve(self):
615 """ 617 """
616 Private slot called by the context menu to resolve conflicts of a file. 618 Private slot called by the context menu to resolve conflicts of a file.
617 """ 619 """

eric ide

mercurial