hg
changeset 5531 a3fe91b4f6eb
parent 5197 55860a45bbf2
child 7672 523c7816c33a
equal deleted inserted replaced
5530:b0ff52ec9b52 5531:a3fe91b4f6eb
     8 # of the GNU General Public License, incorporated herein by reference.
     8 # of the GNU General Public License, incorporated herein by reference.
     9 
     9 
    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()