Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py

changeset 2405
d4b5f3bd4720
parent 2302
f29e9405c851
child 2525
8b507a9a2d40
child 2771
281c9b30dd91
equal deleted inserted replaced
2404:cba0ff902c2b 2405:d4b5f3bd4720
8 """ 8 """
9 9
10 from PyQt4.QtCore import QProcess 10 from PyQt4.QtCore import QProcess
11 11
12 from VCS.StatusMonitorThread import VcsStatusMonitorThread 12 from VCS.StatusMonitorThread import VcsStatusMonitorThread
13 from .HgClient import HgClient
14 13
15 import Preferences 14 import Preferences
16 15
17 16
18 class HgStatusMonitorThread(VcsStatusMonitorThread): 17 class HgStatusMonitorThread(VcsStatusMonitorThread):
60 59
61 if self.__client is None and not self.__useCommandLine: 60 if self.__client is None and not self.__useCommandLine:
62 if self.vcs.version >= (2, 9, 9): 61 if self.vcs.version >= (2, 9, 9):
63 # versions below that have a bug causing a second 62 # versions below that have a bug causing a second
64 # instance to not recognize changes to the status 63 # instance to not recognize changes to the status
64 from .HgClient import HgClient
65 client = HgClient(self.projectDir, "utf-8") 65 client = HgClient(self.projectDir, "utf-8")
66 ok, err = client.startServer() 66 ok, err = client.startServer()
67 if ok: 67 if ok:
68 self.__client = client 68 self.__client = client
69 else: 69 else:

eric ide

mercurial