A small refinement to the Mercurial command server interface.

Sun, 23 Oct 2011 18:08:35 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 23 Oct 2011 18:08:35 +0200
changeset 1392
3c6c60c498a6
parent 1391
5acd6ee51956
child 1393
49559447c5ad

A small refinement to the Mercurial command server interface.

Plugins/VcsPlugins/vcsMercurial/HgClient.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsMercurial/HgClient.py	Sun Oct 23 18:03:43 2011 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgClient.py	Sun Oct 23 18:08:35 2011 +0200
@@ -242,7 +242,7 @@
             if self.__server is None:
                 return -1
             
-            if self.__server.bytesAvailable() == 0:
+            if self.__server is None or self.__server.bytesAvailable() == 0:
                 QThread.msleep(50)
                 continue
             channel, data = self.__readChannel()

eric ide

mercurial