Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py

branch
5_4_x
changeset 3517
e8a685fd7351
parent 3331
3a723d9cfa6a
child 3519
d4b642e067e3
equal deleted inserted replaced
3514:f694be6063ef 3517:e8a685fd7351
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
20 22
21 from .Ui_HgLogBrowserDialog import Ui_HgLogBrowserDialog 23 from .Ui_HgLogBrowserDialog import Ui_HgLogBrowserDialog
22 24
23 import Preferences 25 import Preferences
24 26
83 self.commandMode = mode 85 self.commandMode = mode
84 self.initialCommandMode = mode 86 self.initialCommandMode = mode
85 else: 87 else:
86 self.commandMode = "log" 88 self.commandMode = "log"
87 self.bundle = bundle 89 self.bundle = bundle
88 self.__hgClient = vcs.getClient() 90 if isWindowsPlatform():
91 self.__hgClient = None
92 else:
93 self.__hgClient = vcs.getClient()
89 94
90 self.__initData() 95 self.__initData()
91 96
92 self.__allBranchesFilter = self.trUtf8("All") 97 self.__allBranchesFilter = self.trUtf8("All")
93 98

eric ide

mercurial