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

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9573
9960d19d66b5
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
900 900
901 def __diff(self): 901 def __diff(self):
902 """ 902 """
903 Private slot to handle the Diff context menu entry. 903 Private slot to handle the Diff context menu entry.
904 """ 904 """
905 from .SvnDiffDialog import SvnDiffDialog
906
905 names = [ 907 names = [
906 os.path.join(self.dname, itm.text(self.__pathColumn)) 908 os.path.join(self.dname, itm.text(self.__pathColumn))
907 for itm in self.__getModifiedItems() 909 for itm in self.__getModifiedItems()
908 ] 910 ]
909 if not names: 911 if not names:
915 ), 917 ),
916 ) 918 )
917 return 919 return
918 920
919 if self.diff is None: 921 if self.diff is None:
920 from .SvnDiffDialog import SvnDiffDialog
921
922 self.diff = SvnDiffDialog(self.vcs) 922 self.diff = SvnDiffDialog(self.vcs)
923 self.diff.show() 923 self.diff.show()
924 QApplication.processEvents() 924 QApplication.processEvents()
925 self.diff.start(names, refreshable=True) 925 self.diff.start(names, refreshable=True)
926 926

eric ide

mercurial