mercurial/HGRepository.st
branchhg-command-server-support
changeset 242 1b09c8551830
parent 240 e04b6e515237
child 247 bf5bfe409ff8
--- a/mercurial/HGRepository.st	Wed Mar 06 00:44:41 2013 +0000
+++ b/mercurial/HGRepository.st	Wed Mar 06 11:19:50 2013 -0800
@@ -389,7 +389,9 @@
         anHGCommand workingDirectory: path
     ].
 
-    ^UseCommandServer ifTrue:[
+    "The command server does not work on Windows because readWait is
+     broken on Windows!!"
+    ^(UseCommandServer and:[OperatingSystem isMSWINDOWSlike not]) ifTrue:[
         server isNil ifTrue:[
             server := HGCommandServer new repository: self.
             server start.
@@ -400,7 +402,7 @@
     ]
 
     "Created: / 03-03-2013 / 22:52:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified (format): / 05-03-2013 / 19:36:18 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified (format): / 06-03-2013 / 11:14:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 pull