hg
changeset 5531 a3fe91b4f6eb
parent 5197 55860a45bbf2
child 7672 523c7816c33a
--- a/hg	Sat Nov 10 21:30:43 2007 +0100
+++ b/hg	Sat Nov 10 21:30:59 2007 +0100
@@ -10,5 +10,11 @@
 # enable importing on demand to reduce startup time
 from mercurial import demandimport; demandimport.enable()
 
+import sys
+import mercurial.util
 import mercurial.dispatch
+
+for fp in (sys.stdin, sys.stdout, sys.stderr):
+    mercurial.util.set_binary(fp)
+
 mercurial.dispatch.run()