A small refinement to the Mercurial command server interface.

Sun, 23 Oct 2011 18:03:43 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 23 Oct 2011 18:03:43 +0200
changeset 1391
5acd6ee51956
parent 1390
f4a7915db1e6
child 1392
3c6c60c498a6

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 17:23:35 2011 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgClient.py	Sun Oct 23 18:03:43 2011 +0200
@@ -239,6 +239,9 @@
             if self.__cancel:
                 return -10
             
+            if self.__server is None:
+                return -1
+            
             if self.__server.bytesAvailable() == 0:
                 QThread.msleep(50)
                 continue

eric ide

mercurial