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 """ |