Show More
@@ -1,14 +1,20 b'' | |||
|
1 | 1 | #!/usr/bin/env python |
|
2 | 2 | # |
|
3 | 3 | # mercurial - scalable distributed SCM |
|
4 | 4 | # |
|
5 | 5 | # Copyright 2005-2007 Matt Mackall <mpm@selenic.com> |
|
6 | 6 | # |
|
7 | 7 | # This software may be used and distributed according to the terms |
|
8 | 8 | # of the GNU General Public License, incorporated herein by reference. |
|
9 | 9 | |
|
10 | 10 | # enable importing on demand to reduce startup time |
|
11 | 11 | from mercurial import demandimport; demandimport.enable() |
|
12 | 12 | |
|
13 | import sys | |
|
14 | import mercurial.util | |
|
13 | 15 | import mercurial.dispatch |
|
16 | ||
|
17 | for fp in (sys.stdin, sys.stdout, sys.stderr): | |
|
18 | mercurial.util.set_binary(fp) | |
|
19 | ||
|
14 | 20 | mercurial.dispatch.run() |
General Comments 0
You need to be logged in to leave comments.
Login now