Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 06 Mar 2013 11:47:34 -0800] rev 243
Raise priority of stderr parser proces when spawning command (not using command server).
This is mainly workaround for Windows where command server cannot be used.
This increases the chance that stderr parser finishes before stdout and then
any error written to stderr will be signalled before stdout parser finishes
by error because of no data. Certainly a hack.
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 06 Mar 2013 11:19:50 -0800] rev 242
Fixes for command server.
Do not use command server on Windows - readWait is broken on Windows.
Also, do not terminate readerwriter process when a command is executing -
the command processing may wait for user input.
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 06 Mar 2013 00:44:41 +0000] rev 241
Tracing and debugging turned off by default.
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 06 Mar 2013 00:39:40 +0000] rev 240
HGCommandServer>>execute: refactored & hopefully fixed.
Now it does not use worket thread read command status. All HGTests pass.
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 05 Mar 2013 19:17:55 +0000] rev 239
Terminate command server's after some time of inactivity (currently 1min),
The #execute: method automatically starts a server if not running. This
reduces a number of running servers and dispatchers and thus save resources.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 04 Mar 2013 10:10:23 +0000] rev 238
Remover repository instvar deom command server to allow for GC.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 04 Mar 2013 09:50:26 +0000] rev 237
Fix in HGRepository>>#branches when using command server.
When using command server and there is no output, nothing is ever
sent to the $o channel and thus output parser is not even run.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 04 Mar 2013 00:10:03 +0000] rev 236
Fixed bug in spawning workers.
Fixes push/pull tests, breaks test_commit_02a & test_commit_04a. Also,
there is a memory leak (reader/writer processes are not cleaned up)
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 03 Mar 2013 23:58:51 +0000] rev 235
Command server is now used by default.
All HGTests exept 2 passes. Further invesitgation on those two is
required.
Jan Vrany <jan.vrany@fit.cvut.cz> [Sun, 03 Mar 2013 20:45:13 +0000] rev 234
Most commands are now executeb using executeInRepository: