Enabled the command server interface only for Mercurial version greater 1.9.2.

Thu, 01 Sep 2011 09:11:23 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 01 Sep 2011 09:11:23 +0200
changeset 1262
3a359afecc10
parent 1261
bb9ce68a0236
child 1263
1b6054a9b668

Enabled the command server interface only for Mercurial version greater 1.9.2.

Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py file | annotate | diff | comparison | revisions
diff -r bb9ce68a0236 -r 3a359afecc10 Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py
--- a/Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py	Thu Sep 01 09:04:41 2011 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py	Thu Sep 01 09:11:23 2011 +0200
@@ -59,7 +59,9 @@
         self.shouldUpdate = False
         
         if self.__client is None and not self.__useCommandLine:
-            if self.vcs.versionStr >= "1.9":
+            if self.vcs.versionStr >= "1.9.3":
+                # versions below that have a bug causing a second
+                # to not recognize changes to the status
                 client = HgClient(self.projectDir, "utf-8")
                 ok, err = client.startServer()
                 if ok:

eric ide

mercurial