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 |
|
20 |
18 |
21 from .Ui_HgLogDialog import Ui_HgLogDialog |
19 from .Ui_HgLogDialog import Ui_HgLogDialog |
22 |
20 |
23 import Utilities |
21 import Utilities |
24 |
22 |
52 if mode in ("log", "incoming", "outgoing"): |
50 if mode in ("log", "incoming", "outgoing"): |
53 self.mode = mode |
51 self.mode = mode |
54 else: |
52 else: |
55 self.mode = "log" |
53 self.mode = "log" |
56 self.bundle = bundle |
54 self.bundle = bundle |
57 if isWindowsPlatform(): |
55 self.__hgClient = self.vcs.getClient() |
58 self.__hgClient = None |
|
59 else: |
|
60 self.__hgClient = self.vcs.getClient() |
|
61 |
56 |
62 self.contents.setHtml( |
57 self.contents.setHtml( |
63 self.tr('<b>Processing your request, please wait...</b>')) |
58 self.tr('<b>Processing your request, please wait...</b>')) |
64 |
59 |
65 self.process.finished.connect(self.__procFinished) |
60 self.process.finished.connect(self.__procFinished) |