##// END OF EJS Templates
Change standard streams mode to binary at hg startup...
Patrick Mezard -
r5531:a3fe91b4 default
parent child Browse files
Show More
@@ -10,5 +10,11 b''
10 # enable importing on demand to reduce startup time
10 # enable importing on demand to reduce startup time
11 from mercurial import demandimport; demandimport.enable()
11 from mercurial import demandimport; demandimport.enable()
12
12
13 import sys
14 import mercurial.util
13 import mercurial.dispatch
15 import mercurial.dispatch
16
17 for fp in (sys.stdin, sys.stdout, sys.stderr):
18 mercurial.util.set_binary(fp)
19
14 mercurial.dispatch.run()
20 mercurial.dispatch.run()
General Comments 0
You need to be logged in to leave comments. Login now