2005-05-04 01:16:10 +04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
#
|
2006-02-06 07:21:02 +03:00
|
|
|
# mercurial - scalable distributed SCM
|
2005-05-04 01:16:10 +04:00
|
|
|
#
|
2007-06-19 10:51:34 +04:00
|
|
|
# Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
|
2005-05-04 01:16:10 +04:00
|
|
|
#
|
|
|
|
# This software may be used and distributed according to the terms
|
|
|
|
# of the GNU General Public License, incorporated herein by reference.
|
|
|
|
|
2007-08-18 13:37:08 +04:00
|
|
|
# enable importing on demand to reduce startup time
|
|
|
|
from mercurial import demandimport; demandimport.enable()
|
|
|
|
|
2007-11-10 23:30:59 +03:00
|
|
|
import sys
|
|
|
|
import mercurial.util
|
2007-08-16 01:55:13 +04:00
|
|
|
import mercurial.dispatch
|
2007-11-10 23:30:59 +03:00
|
|
|
|
|
|
|
for fp in (sys.stdin, sys.stdout, sys.stderr):
|
|
|
|
mercurial.util.set_binary(fp)
|
|
|
|
|
2007-08-16 01:55:13 +04:00
|
|
|
mercurial.dispatch.run()
|