Show More
@@ -6,6 +6,7 b'' | |||
|
6 | 6 | # |
|
7 | 7 | # This software may be used and distributed according to the terms of the |
|
8 | 8 | # GNU General Public License version 2 or any later version. |
|
9 | from __future__ import absolute_import | |
|
9 | 10 | |
|
10 | 11 | import os |
|
11 | 12 | import sys |
@@ -36,10 +37,11 b' except ImportError:' | |||
|
36 | 37 | sys.stderr.write("(check your install and PYTHONPATH)\n") |
|
37 | 38 | sys.exit(-1) |
|
38 | 39 | |
|
39 | import mercurial.util | |
|
40 | import mercurial.dispatch | |
|
41 | ||
|
40 | from mercurial import ( | |
|
41 | dispatch, | |
|
42 | util, | |
|
43 | ) | |
|
42 | 44 | for fp in (sys.stdin, sys.stdout, sys.stderr): |
|
43 |
|
|
|
45 | util.setbinary(fp) | |
|
44 | 46 | |
|
45 |
|
|
|
47 | dispatch.run() |
General Comments 0
You need to be logged in to leave comments.
Login now