Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py

branch
5_4_x
changeset 3519
d4b642e067e3
parent 3517
e8a685fd7351
equal deleted inserted replaced
3517:e8a685fd7351 3519:d4b642e067e3
15 QTreeWidgetItem, QApplication, QCursor, QLineEdit, QColor, \ 15 QTreeWidgetItem, QApplication, QCursor, QLineEdit, QColor, \
16 QPixmap, QPainter, QPen, QBrush, QIcon 16 QPixmap, QPainter, QPen, QBrush, QIcon
17 17
18 from E5Gui.E5Application import e5App 18 from E5Gui.E5Application import e5App
19 from E5Gui import E5MessageBox 19 from E5Gui import E5MessageBox
20
21 from Globals import isWindowsPlatform
22 20
23 from .Ui_HgLogBrowserDialog import Ui_HgLogBrowserDialog 21 from .Ui_HgLogBrowserDialog import Ui_HgLogBrowserDialog
24 22
25 import Preferences 23 import Preferences
26 24
85 self.commandMode = mode 83 self.commandMode = mode
86 self.initialCommandMode = mode 84 self.initialCommandMode = mode
87 else: 85 else:
88 self.commandMode = "log" 86 self.commandMode = "log"
89 self.bundle = bundle 87 self.bundle = bundle
90 if isWindowsPlatform(): 88 self.__hgClient = vcs.getClient()
91 self.__hgClient = None
92 else:
93 self.__hgClient = vcs.getClient()
94 89
95 self.__initData() 90 self.__initData()
96 91
97 self.__allBranchesFilter = self.trUtf8("All") 92 self.__allBranchesFilter = self.trUtf8("All")
98 93

eric ide

mercurial