src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9573
9960d19d66b5
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
757 757
758 def __diff(self): 758 def __diff(self):
759 """ 759 """
760 Private slot to handle the Diff context menu entry. 760 Private slot to handle the Diff context menu entry.
761 """ 761 """
762 from .SvnDiffDialog import SvnDiffDialog
763
762 names = [ 764 names = [
763 os.path.join(self.dname, itm.text(self.__pathColumn)) 765 os.path.join(self.dname, itm.text(self.__pathColumn))
764 for itm in self.__getModifiedItems() 766 for itm in self.__getModifiedItems()
765 ] 767 ]
766 if not names: 768 if not names:
772 ), 774 ),
773 ) 775 )
774 return 776 return
775 777
776 if self.diff is None: 778 if self.diff is None:
777 from .SvnDiffDialog import SvnDiffDialog
778
779 self.diff = SvnDiffDialog(self.vcs) 779 self.diff = SvnDiffDialog(self.vcs)
780 self.diff.show() 780 self.diff.show()
781 QApplication.processEvents() 781 QApplication.processEvents()
782 self.diff.start(names, refreshable=True) 782 self.diff.start(names, refreshable=True)
783 783

eric ide

mercurial