Show More
@@ -8,6 +8,14 b' Create an extension to test bundle2 API' | |||||
8 | > code. We still need to be able to test it while it grow up. |
|
8 | > code. We still need to be able to test it while it grow up. | |
9 | > """ |
|
9 | > """ | |
10 | > |
|
10 | > | |
|
11 | > try: | |||
|
12 | > import msvcrt | |||
|
13 | > msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY) | |||
|
14 | > msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY) | |||
|
15 | > msvcrt.setmode(sys.stderr.fileno(), os.O_BINARY) | |||
|
16 | > except ImportError: | |||
|
17 | > pass | |||
|
18 | > | |||
11 | > import sys |
|
19 | > import sys | |
12 | > from mercurial import cmdutil |
|
20 | > from mercurial import cmdutil | |
13 | > from mercurial import util |
|
21 | > from mercurial import util |
General Comments 0
You need to be logged in to leave comments.
Login now