13 from PyQt4.QtGui import QWidget, QDialogButtonBox, QApplication, \ |
13 from PyQt4.QtGui import QWidget, QDialogButtonBox, QApplication, \ |
14 QLineEdit, QTextCursor |
14 QLineEdit, QTextCursor |
15 |
15 |
16 from E5Gui.E5Application import e5App |
16 from E5Gui.E5Application import e5App |
17 from E5Gui import E5MessageBox |
17 from E5Gui import E5MessageBox |
|
18 |
|
19 from Globals import isWindowsPlatform |
18 |
20 |
19 from .Ui_HgLogDialog import Ui_HgLogDialog |
21 from .Ui_HgLogDialog import Ui_HgLogDialog |
20 |
22 |
21 import Utilities |
23 import Utilities |
22 |
24 |
50 if mode in ("log", "incoming", "outgoing"): |
52 if mode in ("log", "incoming", "outgoing"): |
51 self.mode = mode |
53 self.mode = mode |
52 else: |
54 else: |
53 self.mode = "log" |
55 self.mode = "log" |
54 self.bundle = bundle |
56 self.bundle = bundle |
55 self.__hgClient = self.vcs.getClient() |
57 if isWindowsPlatform(): |
|
58 self.__hgClient = None |
|
59 else: |
|
60 self.__hgClient = self.vcs.getClient() |
56 |
61 |
57 self.contents.setHtml( |
62 self.contents.setHtml( |
58 self.tr('<b>Processing your request, please wait...</b>')) |
63 self.tr('<b>Processing your request, please wait...</b>')) |
59 |
64 |
60 self.process.finished.connect(self.__procFinished) |
65 self.process.finished.connect(self.__procFinished) |