Show More
@@ -8,6 +8,15 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 | > import sys | |||
|
12 | > from mercurial import cmdutil | |||
|
13 | > from mercurial import util | |||
|
14 | > from mercurial import bundle2 | |||
|
15 | > from mercurial import scmutil | |||
|
16 | > from mercurial import discovery | |||
|
17 | > from mercurial import changegroup | |||
|
18 | > from mercurial import error | |||
|
19 | > | |||
11 | > try: |
|
20 | > try: | |
12 | > import msvcrt |
|
21 | > import msvcrt | |
13 | > msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY) |
|
22 | > msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY) | |
@@ -16,14 +25,6 b' Create an extension to test bundle2 API' | |||||
16 | > except ImportError: |
|
25 | > except ImportError: | |
17 | > pass |
|
26 | > pass | |
18 | > |
|
27 | > | |
19 | > import sys |
|
|||
20 | > from mercurial import cmdutil |
|
|||
21 | > from mercurial import util |
|
|||
22 | > from mercurial import bundle2 |
|
|||
23 | > from mercurial import scmutil |
|
|||
24 | > from mercurial import discovery |
|
|||
25 | > from mercurial import changegroup |
|
|||
26 | > from mercurial import error |
|
|||
27 | > cmdtable = {} |
|
28 | > cmdtable = {} | |
28 | > command = cmdutil.command(cmdtable) |
|
29 | > command = cmdutil.command(cmdtable) | |
29 | > |
|
30 | > |
General Comments 0
You need to be logged in to leave comments.
Login now