Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py

changeset 5104
0b9420dc1093
parent 4631
5c1a96925da4
child 5389
9b1c800daff3
diff -r 9cc5217881ab -r 0b9420dc1093 Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py
--- a/Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py	Thu Aug 18 17:34:05 2016 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py	Tue Aug 23 12:21:46 2016 +0200
@@ -60,16 +60,11 @@
         self.shouldUpdate = False
         
         if self.__client is None and not self.__useCommandLine:
-            if self.vcs.version >= (2, 9, 9):
-                # versions below that have a bug causing a second
-                # instance to not recognize changes to the status
-                from .HgClient import HgClient
-                client = HgClient(self.projectDir, "utf-8", self.vcs)
-                ok, err = client.startServer()
-                if ok:
-                    self.__client = client
-                else:
-                    self.__useCommandLine = True
+            from .HgClient import HgClient
+            client = HgClient(self.projectDir, "utf-8", self.vcs)
+            ok, err = client.startServer()
+            if ok:
+                self.__client = client
             else:
                 self.__useCommandLine = True
         

eric ide

mercurial